From 5844a0cd5bfa850c22ecde3e82871fbcb58178c4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 22 Jun 2021 13:59:11 +0300 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#6167) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/ambv/black: 21.5b2 → 21.6b0](https://github.com/ambv/black/compare/21.5b2...21.6b0) - [github.com/timothycrosley/isort: 5.8.0 → 5.9.1](https://github.com/timothycrosley/isort/compare/5.8.0...5.9.1) - [github.com/pre-commit/mirrors-mypy: v0.812 → v0.902](https://github.com/pre-commit/mirrors-mypy/compare/v0.812...v0.902) * test_requirements: add types packages * pre-commit: add additional dependencies for mypy * pre-commit: fix formatting Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ruslan Kuprieiev --- .pre-commit-config.yaml | 11 ++++++++--- test_requirements.txt | 4 ++++ 2 files changed, 12 insertions(+), 3 deletions(-) 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