for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
# pylint: disable=unused-variable,unused-argument,expression-not-assigned
import pytest
pytest
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
from expecter import expect
expecter
from verchew.script import find_config
def describe_find_config():
@pytest.fixture
def config(tmpdir):
tmpdir.chdir()
path = tmpdir.join("foo.bar")
path.write("")
return path
def when_missing(config):
with expect.raises(RuntimeError):
find_config()
def when_found(config):
path = find_config(config_filenames=["foo.bar"])
expect(path) == config
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.