Skip to content

Commit 7c64460

Browse files
committed
Remove hooks replaced by Ruff
1 parent f8d2f3c commit 7c64460

File tree

1 file changed

+2
-25
lines changed

1 file changed

+2
-25
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,6 @@ repos:
2121
'--indent', '4',
2222
'--no-sort-keys',
2323
]
24-
# - repo: https://github.com/asottile/reorder_python_imports
25-
# rev: v1.4.0
26-
# hooks:
27-
# - id: reorder-python-imports
28-
# args: [--py3-plus]
29-
# additional_dependencies: [aspy.refactor_imports==0.5.3]
30-
# exclude: ^paasta_tools/paastaapi
31-
# - repo: https://github.com/asottile/pyupgrade
32-
# rev: v1.12.0
33-
# hooks:
34-
# - id: pyupgrade
35-
# args: [--py36-plus]
36-
# exclude: ^paasta_tools/paastaapi
37-
# - repo: https://github.com/psf/black
38-
# rev: 22.3.0
39-
# hooks:
40-
# - id: black
41-
# args: ['--target-version', 'py38']
42-
# exclude: ^paasta_tools/paastaapi
43-
# - repo: https://github.com/PyCQA/flake8
44-
# rev: 3.7.7
45-
# hooks:
46-
# - id: flake8
47-
# args: ['--ignore', 'E231']
48-
# exclude: ^docs/source/conf.py|paasta_tools/paastaapi.*$
4924
- repo: https://github.com/astral-sh/ruff-pre-commit
5025
# Ruff version.
5126
rev: v0.9.9
@@ -63,6 +38,8 @@ repos:
6338
exclude: .*tests/.*|.*yelp/testing/.*|\.pre-commit-config\.yaml
6439
- repo: local
6540
hooks:
41+
# Could be replaced by ruff when they implement TMS020, TMS021 and TMS022
42+
# https://github.com/astral-sh/ruff/issues/5734
6643
- id: patch-enforce-autospec
6744
name: mock.patch enforce autospec
6845
description: This hook ensures all mock.patch invocations specify an autospec

0 commit comments

Comments
 (0)