mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user