Closed cthoyt closed 2 years ago
Merging #11 (9f9d70e) into main (972b695) will not change coverage. The diff coverage is
98.85%
.
@@ Coverage Diff @@
## main #11 +/- ##
=======================================
Coverage 99.57% 99.57%
=======================================
Files 13 13
Lines 475 475
=======================================
Hits 473 473
Misses 2 2
Impacted Files | Coverage Δ | |
---|---|---|
rexmex/__init__.py | 100.00% <ø> (ø) |
|
rexmex/metrics/__init__.py | 100.00% <ø> (ø) |
|
rexmex/scorecard.py | 95.23% <85.71%> (ø) |
|
rexmex/dataset.py | 100.00% <100.00%> (ø) |
|
rexmex/metrics/classification.py | 100.00% <100.00%> (ø) |
|
rexmex/metrics/rating.py | 100.00% <100.00%> (ø) |
|
rexmex/metricset.py | 98.48% <100.00%> (ø) |
|
rexmex/utils.py | 100.00% <100.00%> (ø) |
|
tests/integration/test_aggregation.py | 100.00% <100.00%> (ø) |
|
tests/unit/test_dataset.py | 100.00% <100.00%> (ø) |
|
... and 12 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 972b695...9f9d70e. Read the comment docs.
Summary
This PR makes changes to ensure that
black
is consistently applied. I assume this is the intent since it's part of the pre-commit configuration, but as I was skimming the code, I noticed it hadn't been applied in some places.Changes
tox.ini
configuration with the following environments:testenv:lint
can be run withtox -e lint
and will applyblack
to all Python source files in the repo.testenv:flake8
can be run withtox -e flake8
and will run theflake8
linter tool to all Python source files in the repo. It currently has the--select BLK100
option so it only enforces that black has been run. This could be removed in the future to enforce additional flake8 testing.tox
and application oftox -e flake8
in the main GitHub Action