diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d54a83231..a613235ea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,12 +6,12 @@ repos: - id: black language_version: python3 repo: https://github.com/ambv/black - rev: 21.5b2 + rev: 21.6b0 - hooks: - id: isort language_version: python3 repo: https://github.com/timothycrosley/isort - rev: 5.8.0 + rev: 5.9.1 - hooks: - id: flake8 language_version: python3 @@ -26,8 +26,13 @@ repos: - id: mypy language_version: python3 files: ^dvc/ + additional_dependencies: + - types-requests + - types-paramiko + - types-tabulate + - types-toml repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v0.812' + rev: 'v0.902' - repo: local hooks: - id: pylint diff --git a/test_requirements.txt b/test_requirements.txt index 80709fdac..94bb525ec 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -40,6 +40,10 @@ pylint-plugin-utils==0.6 # type-checking mypy==0.902 +types-requests +types-paramiko +types-tabulate +types-toml # pypi doesn't allow for direct dependencies # gdrivefs @ git+https://github.com/intake/gdrivefs.git