Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/web/vite-4.4.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-rse committed Jan 10, 2024
2 parents a7b3e74 + cf95934 commit 21c1356
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ repos:
- id: fix-byte-order-marker
- id: name-tests-test
args: ["--pytest-test-first"]
- id: no-commit-to-branch # Protects main/master by default
- id: requirements-txt-fixer
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.9.1
rev: 23.12.1
hooks:
- id: black
types: [python]
Expand All @@ -32,7 +33,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: "v0.0.292"
rev: "v0.1.11"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -48,7 +49,7 @@ repos:
# - svelte

- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.51.0
rev: v9.0.0-alpha.0
hooks:
- id: eslint
types: [file]
Expand Down
6 changes: 5 additions & 1 deletion lib/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tests = [
"pytest>=7.0",
"pytest-cov",
"pytest-mpl",
"pytest-regtest",
"pytest-regtest<2.0.0",
"pytest-xdist"
]
docs = [
Expand Down Expand Up @@ -135,5 +135,9 @@ select = ["B", "E", "F", "W", "I001"]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["A", "B", "C", "D", "E", "F", "R", "S", "W", "U", "I001"]

[tool.ruff.lint]
extend-select = ["NPY201"]
preview = true

[project.scripts]
find_pg = "pgfinder.find_pg:main"

0 comments on commit 21c1356

Please sign in to comment.