WISDEM / WOMBAT

Windfarm Operations & Maintenance cost-Benefit Analysis Tool
https://wisdem.github.io/WOMBAT/
Apache License 2.0
20 stars 11 forks source link

Bug fix: Update pre commit workflow and versioning #76

Closed RHammond2 closed 1 year ago

RHammond2 commented 1 year ago

This PR replaces separate flake8 and pylint workflows with a variety of tools under the much more efficient ruff workflow. Additionally, all errors that cropped during this have been dealt with appropriately.

This PR also replaces the use of individual configuration files for each tool with a single pyproject.toml file.

codecov[bot] commented 1 year ago

Codecov Report

Merging #76 (d713530) into develop (edd0e3d) will increase coverage by 0.01%. The diff coverage is 64.38%.

@@             Coverage Diff             @@
##           develop      #76      +/-   ##
===========================================
+ Coverage    56.12%   56.14%   +0.01%     
===========================================
  Files           21       21              
  Lines         3255     3261       +6     
  Branches       615      615              
===========================================
+ Hits          1827     1831       +4     
- Misses        1340     1342       +2     
  Partials        88       88              
Impacted Files Coverage Δ
wombat/__init__.py 100.00% <ø> (ø)
wombat/core/__init__.py 100.00% <ø> (ø)
wombat/core/port.py 17.85% <0.00%> (ø)
wombat/core/post_processor.py 6.09% <0.00%> (-0.02%) :arrow_down:
wombat/core/simulation_api.py 50.92% <0.00%> (-0.46%) :arrow_down:
wombat/utilities/time.py 94.11% <ø> (ø)
wombat/utilities/utilities.py 100.00% <ø> (ø)
wombat/core/mixins.py 64.70% <50.00%> (ø)
wombat/core/service_equipment.py 63.27% <57.14%> (+0.13%) :arrow_up:
wombat/core/data_classes.py 92.16% <80.00%> (ø)
... and 8 more

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