diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bbaed5a1..e561a090 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,6 +43,6 @@ repos: hooks: - id: black-jupyter - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.1 + rev: v0.8.4 hooks: - id: ruff diff --git a/pyproject.toml b/pyproject.toml index c675845f..eb143529 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -187,13 +187,21 @@ target-version = "py310" ignore = ["C408"] ignore-init-module-imports = true select = [ - "C4", - "C9", + # pycodestyle "E", + "W", + # mccabe + "C90", + # pyflakes "F", + # isort "I", + # flake8-builtins + "A", + # flake8-comprehensions + "C4", + # flake8-pytest-style "PT", - "W", ] [tool.ruff.lint.flake8-pytest-style] diff --git a/tox.ini b/tox.ini index 513bce32..510cde41 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ deps = description = Run linters skip_install = true deps = - ruff~=0.7.1 + ruff~=0.8.4 commands = ruff check sksurv/ tests/ setup.py pass_env = RUFF_*