Anton Shestakov <av6@dwimlabs.net>, Tue, 28 Jun 2016 18:52:52 +0800
viewer: setup and clone tasks without errors/warnings are collapsed by default
In addition to errors and warnings, which leave task expanded, target line also
does the same, so sharing a link to a specific line doesn't surprise people by
hiding the line somewhere.
tests/test_checker.py
Permissions: -rw-r--r--
from checker import run, read_linter_config result = run(['false'], ignore_codes=(1,)) result = run(['false'], ignore_codes=(127,)) result = run(['echo', 'hi'], get_output=False) result = run(['echo', 'hi'], get_output=True) def test_read_linter_config(): config = read_linter_config('flake8') assert config is not None assert len(config['setup']) > 0 config = read_linter_config('perfectlinter')