Skip to content

Commit

Permalink
update pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Mar 29, 2024
1 parent 20f6ab7 commit 101a3bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,20 @@ ci:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.4
rev: v0.3.4
hooks:
- id: ruff
args: [--fix]
- id: ruff-format

- repo: https://github.com/MarcoGorelli/cython-lint
rev: v0.15.0
rev: v0.16.0
hooks:
- id: cython-lint
- id: double-quote-cython-strings

- repo: https://github.com/psf/black
rev: 23.10.1
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1
rev: v1.9.0
hooks:
- id: mypy
files: "^ilpy/"
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ dependencies = []
dev = [
"ruff",
"mypy",
"black",
"pytest",
"pytest-cov",
"cython",
Expand Down Expand Up @@ -51,6 +50,8 @@ readme = { file = ["README.md"] }
[tool.ruff]
target-version = "py38"
src = ["ilpy"]

[tool.ruff.lint]
select = [
"F", # pyflakes
"W", # pyflakes
Expand Down

0 comments on commit 101a3bd

Please sign in to comment.