-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a229a30
commit 9c3e9e0
Showing
4 changed files
with
74 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[MESSAGES CONTROL] | ||
# Disable certain warnings and errors | ||
disable= | ||
missing-docstring, # Missing docstrings | ||
invalid-name, # Variable names not in snake_case | ||
too-many-arguments, # Exceeding argument limits | ||
too-many-locals, # Exceeding local variable limits | ||
too-many-branches, # Complex functions | ||
too-many-lines, # Exceeding file line limit | ||
import-error, # Ignored unresolved imports | ||
no-name-in-module, # Missing module names | ||
broad-exception-raised, # Avoid broad exceptions | ||
redefined-outer-name, # Outer variable shadowing | ||
no-else-return, # Remove unnecessary else | ||
unused-import, # Unused imports | ||
|
||
[FORMAT] | ||
# Set the maximum line length | ||
max-line-length=120 | ||
|
||
[DESIGN] | ||
# Adjust thresholds for warnings | ||
max-args=10 | ||
max-locals=30 | ||
max-branches=20 | ||
max-lines=1500 | ||
max-statements=100 | ||
|
||
[LOGGING] | ||
# Disable logging format errors | ||
logging-format-style=old |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[MESSAGES CONTROL] | ||
# Disable certain warnings and errors | ||
disable= | ||
missing-docstring, # Missing docstrings | ||
invalid-name, # Variable names not in snake_case | ||
too-many-arguments, # Exceeding argument limits | ||
too-many-locals, # Exceeding local variable limits | ||
too-many-branches, # Complex functions | ||
too-many-lines, # Exceeding file line limit | ||
import-error, # Ignored unresolved imports | ||
no-name-in-module, # Missing module names | ||
broad-exception-raised, # Avoid broad exceptions | ||
redefined-outer-name, # Outer variable shadowing | ||
no-else-return, # Remove unnecessary else | ||
unused-import, # Unused imports | ||
|
||
[FORMAT] | ||
# Set the maximum line length | ||
max-line-length=120 | ||
|
||
[DESIGN] | ||
# Adjust thresholds for warnings | ||
max-args=10 | ||
max-locals=30 | ||
max-branches=20 | ||
max-lines=1500 | ||
max-statements=100 | ||
|
||
[LOGGING] | ||
# Disable logging format errors | ||
logging-format-style=old |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters