Skip to content

Commit

Permalink
pre-commit: update pyflakes for type comments
Browse files Browse the repository at this point in the history
Ref: PyCQA/pyflakes#455

(cherry picked from commit 2393b58)
  • Loading branch information
blueyed committed Jan 17, 2020
1 parent dcb94d8 commit 0a6919f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ repos:
hooks:
- id: flake8
language_version: python3
additional_dependencies: [flake8-typing-imports==1.3.0]
additional_dependencies: [
flake8-typing-imports==1.3.0,
# To handle PEP 484 type comments with following text.
# (https://github.com/PyCQA/pyflakes/pull/455)
'git+https://github.com/PyCQA/pyflakes.git@1911c20#egg=pyflakes',
]
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.4.0
hooks:
Expand Down

0 comments on commit 0a6919f

Please sign in to comment.