mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
fix pre-commit issues
This commit is contained in:
parent
97419b34de
commit
3b98040623
3 changed files with 2 additions and 4 deletions
|
|
@ -17,6 +17,7 @@ repos:
|
|||
rev: v3.0.1
|
||||
hooks:
|
||||
- id: reorder-python-imports
|
||||
exclude: ^testing/resources/python3_hooks_repo/
|
||||
args: [--py37-plus, --add-import, 'from __future__ import annotations']
|
||||
- repo: https://github.com/asottile/add-trailing-comma
|
||||
rev: v2.2.1
|
||||
|
|
@ -41,3 +42,4 @@ repos:
|
|||
hooks:
|
||||
- id: mypy
|
||||
additional_dependencies: [types-all]
|
||||
exclude: ^testing/resources/
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue