Skip to content

Commit

Permalink
pre-commit updates; disable two of the more annoying ruff rulesets
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Jul 6, 2023
1 parent 4a641ec commit 43c076a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ repos:
- id: rst-backticks
- id: rst-directive-colons
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.9-for-vscode
rev: v3.0.0
hooks:
- id: prettier
types_or: [javascript, css]
args:
- --trailing-comma=es5
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.43.0
rev: v8.44.0
hooks:
- id: eslint
files: \.js?$
types: [file]
args:
- --fix
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.275'
rev: 'v0.0.277'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -50,7 +50,7 @@ repos:
language_version: python3
entry: black --target-version=py38
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 0.12.1
rev: 0.13.0
hooks:
- id: pyproject-fmt
- repo: https://github.com/abravalheri/validate-pyproject
Expand Down
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,10 @@ extend-select = [
"FBT",
# flake8-bugbear
"B",
# flake8-builtins
# "A",
# flake8-comprehensions
"C4",
# flake8-django
"DJ",
# flake8-logging-format
"G",
# flake8-pie
"PIE",
# flake8-simplify
Expand Down

0 comments on commit 43c076a

Please sign in to comment.