-
Notifications
You must be signed in to change notification settings - Fork 339
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 linter to enforce usage of f-strings #1281
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1281 +/- ##
=======================================
Coverage 97.06% 97.07%
=======================================
Files 73 73
Lines 7093 7111 +18
=======================================
+ Hits 6885 6903 +18
Misses 208 208
Continue to review full report at Codecov.
|
I discovered I can use procrastination driven development to procrastinate on other procrastination driven development! 🙀 😹 |
* Enforce f-string usage in linters * Use f-strings in magnetostatics.py * Use f-strings in roman.py * Use f-strings in ionization_state_collection.py * Use f-strings in datatype_factory_base.py * Fix issue with f-string conversion * Add changelog entries * Finish changelog entry * Update configuration for flake8-use-fstrings * Fix usage of f-strings * Fix link formatting
* Enforce f-string usage in linters * Use f-strings in magnetostatics.py * Use f-strings in roman.py * Use f-strings in ionization_state_collection.py * Use f-strings in datatype_factory_base.py * Fix issue with f-string conversion * Add changelog entries * Finish changelog entry * Update configuration for flake8-use-fstrings * Fix usage of f-strings * Fix link formatting
This PR:
tox.ini
.format
and% s
usage with f-strings.