MozillaSecurity / lithium

Line-based testcase reducer
Mozilla Public License 2.0
95 stars 25 forks source link

Assorted CI improvements, including adding flake8 linting #22

Closed nth10sd closed 7 years ago

nth10sd commented 7 years ago

The tests show red prior to the flake8 fixes landing, they show green thereafter. I have tested on another branch that a deliberate flake8 failure will correctly turn Travis and AppVeyor red.

codecov-io commented 7 years ago

Codecov Report

Merging #22 into master will not change coverage. The diff coverage is 57.14%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #22   +/-   ##
=======================================
  Coverage   84.31%   84.31%           
=======================================
  Files           7        7           
  Lines        1211     1211           
=======================================
  Hits         1021     1021           
  Misses        190      190
Impacted Files Coverage Δ
lithium/examples/arithmetic/product_divides.py 100% <ø> (ø) :arrow_up:
interestingness/ximport.py 68.18% <ø> (ø) :arrow_up:
setup.py 0% <0%> (ø) :arrow_up:
__init__.py 100% <100%> (ø) :arrow_up:
lithium/tests.py 95.07% <100%> (ø) :arrow_up:
lithium/lithium.py 79.74% <48.48%> (ø) :arrow_up:

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 0b5ca8d...eff464e. Read the comment docs.

nth10sd commented 7 years ago

The switch to 14.04 and updating of pip et al. ensures using latest Python libraries without being on an ancient OS.

nth10sd commented 7 years ago

The only repo-wide rule for flake8 for now is the one ignoring lines that are too long.

jschwartzentruber commented 7 years ago

Thanks!