Exclude pylint==6.0 (#4300)

https://github.com/pytest-dev/pytest/issues/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)
```
https://github.com/iterative/dvc/pull/4257#issuecomment-665474467
This commit is contained in:
Saugat Pachhai
2020-07-29 15:13:30 +05:45
committed by GitHub
parent 31efaac4f3
commit 9ca3c05f6d
+3 -1
View File
@@ -104,7 +104,9 @@ all_remotes = gs + s3 + azure + ssh + oss + gdrive + hdfs
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",