Skip to content

Commit ace772b

Browse files
Add flake8-typing-import to the pre-commit configuration
Relates to #1239
1 parent 521332a commit ace772b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ repos:
4545
rev: 4.0.1
4646
hooks:
4747
- id: flake8
48-
additional_dependencies: [flake8-bugbear]
48+
additional_dependencies: [flake8-bugbear, flake8-typing-imports==1.11.0]
4949
exclude: tests/testdata|doc/conf.py
5050
- repo: local
5151
hooks:

requirements_test_pre_commit.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ black==21.7b0
22
pylint==2.11.1
33
isort==5.9.2
44
flake8==4.0.1
5+
flake8-typing-imports==1.11.0
56
mypy==0.910

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ install_requires =
4141
setuptools>=20.0
4242
typed-ast>=1.4.0,<2.0;implementation_name=="cpython" and python_version<"3.8"
4343
typing-extensions>=3.10;python_version<"3.10"
44-
python_requires = ~=3.6
44+
python_requires = >= 3.6.0
4545

4646
[options.packages.find]
4747
include =

0 commit comments

Comments
 (0)