diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e4355b2..7e35fa3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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/" diff --git a/pyproject.toml b/pyproject.toml index 608a0cd..8814f1f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,6 @@ dependencies = [] dev = [ "ruff", "mypy", - "black", "pytest", "pytest-cov", "cython", @@ -51,6 +50,8 @@ readme = { file = ["README.md"] } [tool.ruff] target-version = "py38" src = ["ilpy"] + +[tool.ruff.lint] select = [ "F", # pyflakes "W", # pyflakes