diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 10d7e34c..cff5a4c6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,4 +25,5 @@ repos: rev: v0.1.4 # Ruff version. hooks: - id: ruff # Run the linter for Python. + args: ["--ignore=E402"] # Ignore E402 error "Module level import not at top of file" - id: ruff-format # Run the formatter for Python.