Closed ubaumann closed 2 years ago
Fix for #187 and #177
There is one test failure after this patch, not sure if it's related:
=================================== FAILURES ===================================
______________________________ test_ignore_select ______________________________
def test_ignore_select():
options = parse_options()
options.ignore = ['E301', 'D102']
options.linters = ['pycodestyle', 'pydocstyle', 'pyflakes', 'mccabe']
errors = run('dummy.py', options=options)
> assert len(errors) == 32
E assert 33 == 32
E + where 33 = len([<Error: D100 pydocstyle>, <Error: E265 pycodestyle>, <Error: E265 pycodestyle>, <Error: D101 pydocstyle>, <Error: D107 pydocstyle>, <Error: D105 pydocstyle>, ...])
tests/test_config.py:31: AssertionError
Checkout this pull request: https://github.com/klen/pylama/pull/188 It fixes the failing test
Ah great... Thanks a lot!
Is this going to get merged any time soon?
@ubaumann Thank you for the PR. Finally the problem has been fixed.
Fix for pytest 6.0.0
https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent