Skip to content

Commit

Permalink
add the rest of the available codes to ignore to ruff.toml, delete se…
Browse files Browse the repository at this point in the history
…tup.cfg and test file for E402
  • Loading branch information
leahh committed Jan 10, 2025
1 parent f5af616 commit 2b49c77
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 39 deletions.
7 changes: 0 additions & 7 deletions beeflow/test_e402.py

This file was deleted.

13 changes: 12 additions & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
[lint]
ignore = ["E402"]
ignore = ["PLR0904", "PLR0912", "PLR0913", "PLR0914", "PLR0916", "PLW0603", "G004", "E402", "D203", "D213", "D404"]
# PLR0904: class has too many public methods (default: 20)
# PLR0912: function or method has too many logical branches (default: 12)
# PLR0913: function or method takes too many arguments (default: 5)
# PLR0914: function or method has too many local variables (default: 15)
# PLR0916: if-statement contains too many boolean expressions (default: 5)
# PLW0603: global statement used to update a global variable
# G004: logging statement uses f-string
# E402: module level imports should be at the top of the file
# D203: 1 blank line required before class docstring
# D213: multi-line docstring summary should start at the second line
# D404: first word of the docstring should not be "This"
31 changes: 0 additions & 31 deletions setup.cfg

This file was deleted.

0 comments on commit 2b49c77

Please sign in to comment.