Skip to content

Commit

Permalink
Removed nonexistent exclusions in pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
andrecsilva committed Apr 25, 2024
1 parent 8fcdd88 commit 4cbc371
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,15 @@ repos:
- id: check-json
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: |
(?x)^(
src/core_codemods/docs/.*|
src/codemodder/dependency.py |
integration_tests/.*|
tests/.*
)$
- id: check-added-large-files
exclude: |
(?x)^(
tests/samples/pygoat.semgrep.sarif.json
)$
- repo: https://github.com/psf/black
rev: 24.4.0
hooks:
- id: black
exclude: |
(?x)^(
tests/samples/.*|
)$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
hooks:
- id: mypy
exclude: |
(?x)^(
tests/samples/.*|
integration_tests/.*
)$
args: [--disable-error-code=has-type,--disable-error-code=import-not-found]
additional_dependencies:
[
Expand All @@ -48,13 +28,11 @@ repos:
rev: v0.3.7
hooks:
- id: ruff
exclude: tests/samples/
# todo: replace black with this?
# Run the formatter.
# - id: ruff-format
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
exclude: tests/samples/
args: ["--profile", "black"]

0 comments on commit 4cbc371

Please sign in to comment.