drf-extra-fields
drf-extra-fields copied to clipboard
Modernize the code for Python 3.7
- Applies
pyupgrade --py37-plus - Removed
mockfromrequirements_dev.txt(replaced by unittest.mock) - Simplify string formatting with a f-string
Codecov Report
Merging #178 (2b1da9b) into master (3dbb40b) will not change coverage. The diff coverage is
100.00%.
@@ Coverage Diff @@
## master #178 +/- ##
=======================================
Coverage 93.88% 93.88%
=======================================
Files 4 4
Lines 474 474
=======================================
Hits 445 445
Misses 29 29
| Impacted Files | Coverage Δ | |
|---|---|---|
| tests/test_fields.py | 96.33% <100.00%> (ø) |
|
| tests/utils.py | 83.33% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 3dbb40b...2b1da9b. Read the comment docs.