Skip to content

Commit 2d56f0f

Browse files
Add flake8-typing-import to the pre-commit configuration
1 parent 9098c60 commit 2d56f0f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ repos:
4444
rev: 4.0.1
4545
hooks:
4646
- id: flake8
47+
additional_dependencies: [flake8-typing-imports==1.10.1]
4748
exclude: *fixtures
4849
- repo: local
4950
hooks:

requirements_test_pre_commit.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
# in .pre-commit-config.yaml
33
black==21.9b0;python_full_version>="3.6.2"
44
flake8==4.0.1
5+
flake8-typing-imports==1.10.1
56
isort==5.9.3
67
mypy==0.910

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ install_requires =
5050
toml>=0.9.2
5151
colorama;sys_platform=="win32"
5252
typing-extensions>=3.10.0;python_version<"3.10"
53-
python_requires = ~=3.6
53+
python_requires = >=3.6.2
5454
5555
[options.packages.find]
5656
include =

0 commit comments

Comments
 (0)