Skip to content

Commit a531f41

Browse files
authored
Remove vendored wrapt paths from pre-commit config (#1923)
Since wrapt is gone since we can remove it from exclusion paths in pre commit tools configuration.
1 parent 4150173 commit a531f41

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@ repos:
33
rev: 5.12.0
44
hooks:
55
- id: isort
6-
exclude: "(elasticapm/utils/wrapt/.*|tests/utils/stacks/linenos.py|tests/utils/stacks/linenos2.py|tests/contrib/grpc/grpc_app/.*pb2.*.py)"
6+
exclude: "(tests/utils/stacks/linenos.py|tests/utils/stacks/linenos2.py|tests/contrib/grpc/grpc_app/.*pb2.*.py)"
77
- repo: https://github.com/ambv/black
88
rev: 22.8.0
99
hooks:
1010
- id: black
1111
language_version: python3
12-
exclude: "(elasticapm/utils/wrapt/.*|tests/utils/stacks/linenos.py|tests/utils/stacks/linenos2.py|tests/contrib/grpc/grpc_app/.*pb2.*.py)"
12+
exclude: "(tests/utils/stacks/linenos.py|tests/utils/stacks/linenos2.py|tests/contrib/grpc/grpc_app/.*pb2.*.py)"
1313
- repo: https://github.com/PyCQA/flake8
1414
rev: 5.0.4
1515
hooks:
1616
- id: flake8
17-
exclude: "(elasticapm/utils/wrapt/.*|tests/utils/stacks/linenos.py|tests/utils/stacks/linenos2.py|tests/contrib/grpc/grpc_app/.*pb2.*.py)"
17+
exclude: "(tests/utils/stacks/linenos.py|tests/utils/stacks/linenos2.py|tests/contrib/grpc/grpc_app/.*pb2.*.py)"
1818
- repo: local
1919
hooks:
2020
- id: license-header-check
2121
name: License header check
2222
description: Checks the existance of license headers in all Python files
2323
entry: ./tests/scripts/license_headers_check.sh
24-
exclude: "(elasticapm/utils/wrapt/.*|tests/utils/stacks/linenos.py|tests/utils/stacks/linenos2.py|tests/contrib/grpc/grpc_app/.*pb2.*.py)"
24+
exclude: "(tests/utils/stacks/linenos.py|tests/utils/stacks/linenos2.py|tests/contrib/grpc/grpc_app/.*pb2.*.py)"
2525
language: script
2626
types: [python]

0 commit comments

Comments
 (0)