Skip to content

Commit

Permalink
Bump ruff to 0.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sebp committed Jan 1, 2025
1 parent 2e784db commit c694839
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 11 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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_*

Expand Down

0 comments on commit c694839

Please sign in to comment.