-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup initial ruff #496
Setup initial ruff #496
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
@@ -29,6 +29,7 @@ | |||
"Importance", | |||
"Severity", | |||
"InspectorMessage", | |||
"validate_config", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This caught one more
@@ -1,9 +1,6 @@ | |||
"""Primary decorator used on a check function to add it to the registry and automatically parse its output.""" | |||
|
|||
from collections.abc import Iterable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And cleaned up many others (unused imports)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #496 +/- ##
==========================================
+ Coverage 81.99% 82.06% +0.07%
==========================================
Files 47 47
Lines 1366 1355 -11
==========================================
- Hits 1120 1112 -8
+ Misses 246 243 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Motivation
This is also a general way, without relying on testing suite, to catch any potential issues like those in #494
Plan over next month was also to improve automatic linting and isorting in this manner, but easiest sometimes to add one selection at a time