mdolab / openconcept

OpenConcept: A toolkit for conceptual MDAO of aircraft with unconventional propulsion architectures
MIT License
36 stars 32 forks source link

Formatting and linting #42

Closed eytanadler closed 2 years ago

eytanadler commented 2 years ago

Purpose

Formatted the openconcept codebase and addressed flake8's complaints. It also renames the docs to doc to be consistent with the other MDO Lab codes. Finally, it removes the docs extensions (in the _exts folder).

Type of change

What types of change is it? Select the appropriate type(s) that describe this PR

Testing

Explain the steps needed to test the new code to verify that it does indeed address the issue and produce the expected behavior.

Checklist

Put an x in the boxes that apply.

codecov[bot] commented 2 years ago

Codecov Report

Merging #42 (6ea79bf) into main (1c407d9) will decrease coverage by 0.25%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
- Coverage   81.22%   80.96%   -0.26%     
==========================================
  Files          84       84              
  Lines        9127     8967     -160     
==========================================
- Hits         7413     7260     -153     
+ Misses       1714     1707       -7     
Impacted Files Coverage Δ
costs/__init__.py 0.00% <0.00%> (-100.00%) :arrow_down:
examples/HybridTwin_active_thermal.py 0.00% <0.00%> (-8.20%) :arrow_down:
costs/costs_commuter.py 0.00% <0.00%> (-7.60%) :arrow_down:
thermal/ducts.py 90.67% <0.00%> (-0.46%) :arrow_down:
utilities/math/derivatives.py 95.06% <0.00%> (-0.40%) :arrow_down:
examples/HybridTwin.py 54.09% <0.00%> (-0.38%) :arrow_down:
examples/KingAirC90GT.py 79.36% <0.00%> (-0.33%) :arrow_down:
utilities/math/combine_split_comp.py 87.93% <0.00%> (-0.31%) :arrow_down:
utilities/math/integrals.py 91.02% <0.00%> (-0.20%) :arrow_down:
examples/Caravan.py 77.77% <0.00%> (-0.19%) :arrow_down:
... and 54 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more