for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import logging
import click
click
This can be caused by one of the following:
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
# .scrutinizer.yml before_commands: - sudo pip install abc # Python2 - sudo pip3 install abc # Python3
This error could also result from missing __init__.py files in your module folders. Make sure that you place one file in each sub-folder.
__init__.py
log = logging.getLogger(__name__)
@click.group()
def main():
logging.basicConfig(level=logging.INFO)
logging.getLogger('yorm').setLevel(logging.WARNING)
@main.command()
def new():
# TODO: this logic is only temporary to test the Config model
from .models import Config
Config.generate_example()
if __name__ == '__main__':
main()
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.py
files in your module folders. Make sure that you place one file in each sub-folder.