-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
refactor: Update ruff and enable pyupgrade rules #1367
Conversation
@@ -26,7 +25,7 @@ class Type(type): | |||
_registry = {} | |||
|
|||
def __new__(meta, name, bases, dct): | |||
cls = super(Type, meta).__new__(meta, name, bases, dct) | |||
cls = super(Type, meta).__new__(meta, name, bases, dct) # noqa: UP008 |
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.
I'm not entirely sure this is a safe fix, so I just ignored it.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1367 +/- ##
==========================================
+ Coverage 88.57% 88.60% +0.02%
==========================================
Files 93 93
Lines 18644 18620 -24
==========================================
- Hits 16514 16498 -16
+ Misses 2130 2122 -8 ☔ View full report in Codecov by Sentry. |
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.
Nice cleanups, thanks!
Bump ruff version and enable pyupgrade rules