Skip to content
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

Linting #179

Merged
merged 15 commits into from
Jun 22, 2021
Merged

Linting #179

merged 15 commits into from
Jun 22, 2021

Conversation

trexfeathers
Copy link
Collaborator

🚀 Pull Request

Description

Closes #171.

Adds the 'standard' SciTools linters, and tidies some other small things.

@codecov
Copy link

codecov bot commented Jun 21, 2021

Codecov Report

Merging #179 (7555e8f) into master (50e44d0) will not change coverage.
The diff coverage is 88.28%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #179   +/-   ##
=======================================
  Coverage   90.59%   90.59%           
=======================================
  Files           7        7           
  Lines         829      829           
  Branches      105      105           
=======================================
  Hits          751      751           
  Misses         64       64           
  Partials       14       14           
Impacted Files Coverage Δ
cf_units/_udunits2.pyx 95.00% <ø> (ø)
cf_units/util.py 81.81% <50.00%> (ø)
cf_units/_udunits2_parser/__init__.py 89.21% <87.50%> (ø)
cf_units/__init__.py 89.49% <89.02%> (ø)
cf_units/_udunits2_parser/graph.py 97.95% <100.00%> (ø)
cf_units/config.py 71.42% <100.00%> (ø)
cf_units/tex.py 96.15% <100.00%> (ø)

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 50e44d0...7555e8f. Read the comment docs.

@trexfeathers
Copy link
Collaborator Author

The coverage reduction I think is to be expected, given the lines that Black tends to add. Depending on the reviewer's preference, I am happy for us to:

a. Temporarily alter the coverage settings to be tolerant of this shift.
b. Merge with a CI failure.

Let me know 🙂

@bjlittle
Copy link
Member

@trexfeathers Since there might be a bit of fluctuation given that we're moving stuff around and linting et al, I'd suggest making the codecov regression suitably large to accommodate changes, then once the dust settles, bump it back to 0.5%

@bjlittle bjlittle self-requested a review June 21, 2021 12:49
@bjlittle bjlittle self-assigned this Jun 21, 2021
@rcomer rcomer mentioned this pull request Jun 21, 2021
Copy link
Member

@bjlittle bjlittle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trexfeathers Looking good... just a couple of comments to service 👍

@bjlittle bjlittle merged commit 0ca0921 into SciTools:master Jun 22, 2021
@trexfeathers
Copy link
Collaborator Author

Thanks @bjlittle !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reboot cf-units
2 participants