usgs / shakelib

Other
2 stars 7 forks source link

Lint #64

Closed emthompson-usgs closed 7 years ago

emthompson-usgs commented 7 years ago

Changes to conform to PEP8. Also, improved some tests and added the codacy badge. Codacy seems like an easier way to check for PEP8 compliance in PRs than using flake8, although flake8 is nice for testing locally.

codecov-io commented 7 years ago

Codecov Report

Merging #64 into master will decrease coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
- Coverage   96.18%   96.18%   -0.01%     
==========================================
  Files          28       28              
  Lines        3593     3589       -4     
==========================================
- Hits         3456     3452       -4     
  Misses        137      137
Impacted Files Coverage Δ
shakelib/correlation/baker_jayaram_2008.py 100% <ø> (ø) :arrow_up:
shakelib/gmice/wgrw12.py 100% <ø> (ø) :arrow_up:
shakelib/directivity/bayless2013.py 97.93% <ø> (ø) :arrow_up:
shakelib/utils/container.py 99.43% <ø> (ø) :arrow_up:
shakelib/conversions/imc/beyer_bommer_2006.py 98.38% <ø> (ø) :arrow_up:
shakelib/sites.py 86.77% <ø> (ø) :arrow_up:
shakelib/distance.py 96.87% <ø> (ø) :arrow_up:
shakelib/rupture/factory.py 90.9% <ø> (ø) :arrow_up:
shakelib/virtualipe.py 97.87% <ø> (ø) :arrow_up:
shakelib/rupture/constants.py 100% <ø> (ø) :arrow_up:
... and 17 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 66d58ed...9c953f6. Read the comment docs.