Repository navigation
f-strings without placeholder are plain strings - #60
Conversation
2 f-strings had no placeholder, so their 'f' prefix did nothing; 'f"…"' becomes '"…"', escaped braces '{{'/'}}'
become '{'/'}'. Every string keeps its value. Fixed with CheckNeedlessFStrings (pyflakes F541).
Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
🟢 Coverage ∅ diff coverage · +0.00% coverage variation
Metric Results Coverage variation ✅ +0.00% coverage variation (-1.00%) Diff coverage ✅ ∅ diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (d2127cc) Report Missing Report Missing Report Missing Head commit (71a1637) 71 (+0) 45 (+0) 63.38% (+0.00%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#60) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%1 Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #60 +/- ##
=======================================
Coverage 61.97% 61.97%
=======================================
Files 1 1
Lines 71 71
Branches 13 13
=======================================
Hits 44 44
Misses 26 26
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
2 f-strings had no placeholder (pyflakes F541), so their
fprefix did nothing:f"…"becomes"…". Every string keeps its value - escaped braces{{/}}in such a string become{/}, implicit concatenations are handled as one string.Others
doc/. Only string prefixes (and the brace escapes) change; the result is checked to parse.Related Issues and Pull-Requests