diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 14b41bbeb8..08b75b1e97 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: - id: end-of-file-fixer - id: mixed-line-ending - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.261 + rev: v0.3.5 hooks: - id: ruff args: diff --git a/pyproject.toml b/pyproject.toml index cd8a510b04..50d0b09672 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,8 +38,8 @@ exclude = "monai/bundle/__main__.py" [tool.ruff] line-length = 133 -ignore-init-module-imports = true -ignore = ["F401", "E741"] +lint.ignore-init-module-imports = true +lint.ignore = ["F401", "E741"] [tool.pytype] # Space-separated list of files or directories to exclude.