Skip to content

Commit

Permalink
tests: fix newly failing tests
Browse files Browse the repository at this point in the history
* Flake8 and pep8 are now recognizing an additional error and prospector
  has an issue with the version of vulture shipped.

Change-Id: Ie3fe9158feab1ff32ee1c5e066c5dae4917a24a1
  • Loading branch information
volans- committed Sep 10, 2020
1 parent 0d86f3f commit 18e6208
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cumin/tests/vulture_whitelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ def __getattr__(self, _):
whitelist_tests_integration_conftest.pytest_cmdline_preparse
whitelist_tests_integration_conftest.pytest_runtest_makereport

whitelist_tests_integration_test_cli_TestCLI = Whitelist()
whitelist_tests_integration_test_cli_TestCLI = Whitelist() # noqa: N816
whitelist_tests_integration_test_cli_TestCLI.setup_method
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
'bandit>=1.5.1',
'flake8>=3.6.0',
'flake8-import-order>=0.18.1',
'prospector[with_everything]>=1.1.7',
# Temporary upper constraint until https://github.com/PyCQA/prospector/issues/389 is fixed
'prospector[with_everything]>=1.1.7,<=1.2.0',
'pytest-cov>=2.6.0',
'pytest-xdist>=1.26.1',
'pytest>=3.10.1',
Expand Down

0 comments on commit 18e6208

Please sign in to comment.