afonasev / flake8-return

Flake8 plugin for return expressions checking.
MIT License
62 stars 69 forks source link

Update ci #119

Closed calumy closed 2 years ago

calumy commented 2 years ago

Previously even if some workflow steps were failing (e.g. black and pytest), the workflow would not fail. This is not ideal as errors might not be found, and duplicate workflow runs are required to identify issues (currently Github actions and Travis).

This PR:

I don't have much experience with Travis CI, so reverted the attempts to update the minimum python version and black version as I could not get it to pass.

codecov[bot] commented 2 years ago

Codecov Report

Merging #119 (b80ae95) into master (3bba9cd) will increase coverage by 1.24%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #119      +/-   ##
==========================================
+ Coverage   94.04%   95.29%   +1.24%     
==========================================
  Files           3        3              
  Lines         168      170       +2     
  Branches       35       45      +10     
==========================================
+ Hits          158      162       +4     
+ Misses          5        4       -1     
+ Partials        5        4       -1     
Impacted Files Coverage Δ
flake8_return/errors.py 100.00% <100.00%> (ø)
flake8_return/visitors.py 94.70% <100.00%> (+1.41%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

afonasev commented 2 years ago

Thx for your contribution!)