-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add new command: "AutoEmpty" #349
Add new command: "AutoEmpty" #349
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #349 +/- ##
==========================================
+ Coverage 78.62% 78.76% +0.14%
==========================================
Files 64 66 +2
Lines 2610 2689 +79
Branches 470 483 +13
==========================================
+ Hits 2052 2118 +66
- Misses 515 526 +11
- Partials 43 45 +2 ☔ View full report in Codecov by Sentry. |
b2617d8
to
e68d406
Compare
- add MappingProxyType - add ruff ignore 'noqa: FBT001, FBT002' - add ruff ignore 'noqa: FBT003' - fix lint in DisplayNameStrEnum
- remove 'noqa: FBT003' - extend with fail test case
@@ -88,6 +88,55 @@ def __hash__(self) -> int: | |||
return hash(self._value_) | |||
|
|||
|
|||
@unique | |||
class DisplayNameStrEnum(Enum): |
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.
Why are you adding this enum back?
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.
Because inside the event auto_empty.py in class AutoEmptyMod i used instead of integer enums - string enums. For that I copy the existing int enum definition to have it with same functions for string enum.
Replaced by #603 |
Add new command: "AutoEmpty"
getAutoEmpty
setAutoEmpty
smart
is also a possible option.