Skip to content

Commit

Permalink
Use flake8-typing-imports to ensure Python 3.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lowell80 committed Oct 19, 2023
1 parent 50b1361 commit 5763bd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ repos:
- E741
- --per-file-ignores=ksconf/setup_entrypoints.py:E241
exclude: '(ksconf/_version\.py|tests/test_.*\.py)'
additional_dependencies:
- flake8-typing-imports==1.15.0

- repo: https://github.com/adrienverge/yamllint.git
rev: v1.29.0
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ exclude =
venv*
per-file-ignores =
ksconf/setup_entrypoints.py:E241
min_python_version = 3.7


[isort]
multi_line_output = 0
Expand Down

0 comments on commit 5763bd9

Please sign in to comment.