for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
# pylint: disable=missing-docstring,unused-variable,unused-argument,expression-not-assigned,singleton-comparison
from expecter import expect
expecter
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 coveragespace import services
def describe_detected():
def when_off_ci(monkeypatch):
monkeypatch.delenv('TRAVIS', raising=False)
monkeypatch.delenv('APPVEYOR', raising=False)
expect(services.detected()) == False
def when_on_ci(monkeypatch):
monkeypatch.setenv('TRAVIS', 'true')
expect(services.detected()) == True