Skip to content

Commit

Permalink
Add flake8-typing-import to the pre-commit configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Oct 16, 2021
1 parent 9098c60 commit 2d56f0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ repos:
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies: [flake8-typing-imports==1.10.1]
exclude: *fixtures
- repo: local
hooks:
Expand Down
1 change: 1 addition & 0 deletions requirements_test_pre_commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
# in .pre-commit-config.yaml
black==21.9b0;python_full_version>="3.6.2"
flake8==4.0.1
flake8-typing-imports==1.10.1
isort==5.9.3
mypy==0.910
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ install_requires =
toml>=0.9.2
colorama;sys_platform=="win32"
typing-extensions>=3.10.0;python_version<"3.10"
python_requires = ~=3.6
python_requires = >=3.6.2
[options.packages.find]
include =
Expand Down

0 comments on commit 2d56f0f

Please sign in to comment.