mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 17:14:43 +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
|
rev: v3.0.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: reorder-python-imports
|
- id: reorder-python-imports
|
||||||
|
exclude: ^testing/resources/python3_hooks_repo/
|
||||||
args: [--py37-plus, --add-import, 'from __future__ import annotations']
|
args: [--py37-plus, --add-import, 'from __future__ import annotations']
|
||||||
- repo: https://github.com/asottile/add-trailing-comma
|
- repo: https://github.com/asottile/add-trailing-comma
|
||||||
rev: v2.2.1
|
rev: v2.2.1
|
||||||
|
|
@ -41,3 +42,4 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
additional_dependencies: [types-all]
|
additional_dependencies: [types-all]
|
||||||
|
exclude: ^testing/resources/
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue