Skip to content

Commit ad6a0b7

Browse files
Add flake8-typing-import to the pre-commit configuration
1 parent 9dc186f commit ad6a0b7

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.flake8

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ ignore =
55

66
max-line-length=88
77
max-complexity=39
8+
min_python_version = 3.6.0

.pre-commit-config.yaml

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

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
5454
5555
[options.packages.find]
5656
include =

0 commit comments

Comments
 (0)