Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
Merge branch 'bau-ruff' of github.com:communitiesuk/funding-service-d…
Browse files Browse the repository at this point in the history
…esign-application-store into bau-ruff
  • Loading branch information
srh-sloan committed Nov 20, 2024
2 parents ca7fb12 + 4e2627d commit 64c5e32
Showing 1 changed file with 15 additions and 24 deletions.
39 changes: 15 additions & 24 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,23 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-ast
# - repo: https://github.com/asottile/reorder-python-imports
# rev: v3.12.0
# hooks:
# - id: reorder-python-imports
# name: Reorder Python imports (src, tests)
# args: ["--application-directories", "src"]
# - repo: https://github.com/asottile/pyupgrade
# rev: v3.15.0
# hooks:
# - id: pyupgrade
# args: ["--py39-plus"]
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
hooks:
- id: pyupgrade
args: ["--py39-plus"]
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version. If bumping this, please also bump requirements-dev.in
rev: v0.6.7
hooks:
- id: reorder-python-imports
name: Reorder Python imports (src, tests)
args: ["--application-directories", "src"]
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
# Run the linter.
- id: ruff
args: [--fix]
# Run the formatter.
- id: ruff-format
- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
hooks:
- id: pyupgrade
args: ["--py39-plus"]
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: ['--disable-plugin', 'HexHighEntropyString']
exclude: .env.development
- id: detect-secrets
args: ['--disable-plugin', 'HexHighEntropyString']
exclude: .env.development

0 comments on commit 64c5e32

Please sign in to comment.