Skip to content

Commit

Permalink
fix: ignore Module level import not at top of file error in ruff linting
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed May 7, 2024
1 parent 81fcb31 commit 8fe3f9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 8fe3f9f

Please sign in to comment.