-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
STY: Small readability increases #2781
Conversation
Also remove unused DEFAULT_ANNOTATION_FLAG.
Also remove unused DEFAULT_ANNOTATION_FLAG.
Python 3.8 added an = specifier to f-strings. This PR should work when Python 3.7 support is removed. |
I disagree with these changes and suggest closing it. Rationale:
|
Also renamed two local variables to increase readability of if statement.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2781 +/- ##
==========================================
- Coverage 95.12% 95.11% -0.01%
==========================================
Files 51 51
Lines 8547 8545 -2
Branches 1705 1705
==========================================
- Hits 8130 8128 -2
Misses 263 263
Partials 154 154 ☔ View full report in Codecov by Sentry. |
Removed the = specifier to f-strings. The name change makes |
I do not really see the benefit you mention, thus I am going to keep this open for now. |
agree with @stefan6419846 |
Also remove unused DEFAULT_ANNOTATION_FLAG.