transportenergy / database

Tools for accessing and maintaining the iTEM model & historical databases
https://transportenergy.rtfd.io
GNU General Public License v3.0
24 stars 8 forks source link

Apply uniform code style #29

Closed khaeru closed 4 years ago

khaeru commented 4 years ago

Following the example of other, high-quality scientific Python packages, this PR uses some automatic tools to create a uniform code style: isort, black, and mypy. (Another tool, flake8, was already applied as part of #28.)

It also:

codecov[bot] commented 4 years ago

Codecov Report

Merging #29 into master will increase coverage by 0.16%. The diff coverage is 47.76%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   50.92%   51.08%   +0.16%     
==========================================
  Files          34       34              
  Lines        1467     1472       +5     
==========================================
+ Hits          747      752       +5     
  Misses        720      720              
Impacted Files Coverage Δ
item/historical/legacy.py 0.00% <0.00%> (ø)
item/model/bp.py 0.00% <0.00%> (ø)
item/model/cli.py 0.00% <0.00%> (ø)
item/model/eia.py 0.00% <0.00%> (ø)
item/model/eppa5.py 0.00% <0.00%> (ø)
item/model/exxonmobil.py 0.00% <0.00%> (ø)
item/model/get.py 0.00% <0.00%> (ø)
item/model/itf.py 0.00% <0.00%> (ø)
item/model/message.py 0.00% <0.00%> (ø)
item/tests/conftest.py 0.00% <0.00%> (ø)
... and 24 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 78cd838...cccdfb7. Read the comment docs.

khaeru commented 4 years ago

The "codecov/patch" check failure here is spurious.