Skip to content

Commit

Permalink
Add flake8-typing-import to the pre-commit configuration (#5070)
Browse files Browse the repository at this point in the history
* Add flake8-typing-import to the pre-commit configuration
  • Loading branch information
Pierre-Sassoulas committed Nov 25, 2021
1 parent e4a1935 commit 1f7f2e9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
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
4 changes: 2 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Release date: TBA

..
Insert your changelog randomly, it will reduce merge conflicts
(Ie. not necessarilly at the end)
(Ie. not necessarily at the end)


What's New in Pylint 2.12.1?
Expand All @@ -24,7 +24,7 @@ Release date: TBA

..
Insert your changelog randomly, it will reduce merge conflicts
(Ie. not necessarilly at the end)
(Ie. not necessarily at the end)


What's New in Pylint 2.12.0?
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.11b1;python_full_version>="3.6.2"
flake8==4.0.1
flake8-typing-imports==1.10.1
isort==5.10.1
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 1f7f2e9

Please sign in to comment.