Skip to content

Commit

Permalink
Exclude pylint==6.0
Browse files Browse the repository at this point in the history
pytest-dev/pytest#7558
pylint throws error for `pytest.mark.*` functions in pytest6.

```
tests/unit/repo/test_repo.py:15:1: E1102: pytest.mark.parametrize is not callable (not-callable)
tests/unit/repo/test_repo.py:33:1: E1102: pytest.mark.parametrize is not callable (not-callable)
************* Module tests.unit.remote.ssh.test_connection
tests/unit/remote/ssh/test_connection.py:87:1: E1102: pytest.mark.skipif is not callable (not-callable)
tests/unit/remote/ssh/test_connection.py:100:1: E1102: pytest.mark.skipif is not callable (not-callable)
```
#4257 (comment)
  • Loading branch information
skshetry committed Jul 29, 2020
1 parent 31efaac commit abf6943
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Expand Up @@ -104,7 +104,9 @@ def run(self):
tests_requirements = [
"wheel>=0.31.1",
# Test requirements:
"pytest>=4.6.0",
# https://github.com/pytest-dev/pytest/issues/7558
# FIXME: pylint complaining for pytest.mark.* on v6.0
"pytest>=4.6.0,<6.0",
"pytest-docker>=0.7.2",
"pytest-timeout>=1.3.3",
"pytest-cov>=2.6.1",
Expand Down

0 comments on commit abf6943

Please sign in to comment.