jwst icon indicating copy to clipboard operation
jwst copied to clipboard

apply `black` formatting to codebase

Open zacharyburnett opened this issue 1 year ago • 1 comments

This is an example of applying black formatting to the codebase, and adding a black --check . to the style check.

Related to the greater discussion on common code formatting: https://github.com/spacetelescope/jwst/discussions/6961

zacharyburnett avatar Aug 09 '22 20:08 zacharyburnett

Codecov Report

Base: 79.63% // Head: 70.41% // Decreases project coverage by -9.21% :warning:

Coverage data is based on head (12924e4) compared to base (be19065). Patch coverage: 80.01% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6970      +/-   ##
==========================================
- Coverage   79.63%   70.41%   -9.22%     
==========================================
  Files         411      411              
  Lines       37350    55631   +18281     
==========================================
+ Hits        29743    39173    +9430     
- Misses       7607    16458    +8851     
Flag Coverage Δ *Carryforward flag
nightly 79.61% <84.96%> (ø) Carriedforward from be19065
unit 51.96% <69.77%> (-0.03%) :arrow_down:

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
jwst/assign_mtwcs/assign_mtwcs_step.py 78.94% <0.00%> (ø)
jwst/associations/exceptions.py 100.00% <ø> (ø)
jwst/associations/lib/update_path.py 33.78% <ø> (-5.51%) :arrow_down:
jwst/associations/lib/utilities.py 89.83% <ø> (+4.11%) :arrow_up:
jwst/associations/load_as_asn.py 92.75% <ø> (+3.39%) :arrow_up:
jwst/associations/load_asn.py 100.00% <ø> (ø)
jwst/associations/main.py 95.02% <ø> (+1.54%) :arrow_up:
jwst/associations/mkpool.py 100.00% <ø> (ø)
jwst/associations/pool.py 85.71% <ø> (-0.29%) :arrow_down:
jwst/associations/registry.py 98.48% <ø> (-1.52%) :arrow_down:
... and 491 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Sep 27 '22 15:09 codecov[bot]

May be some time in the future.

nden avatar Jun 26 '23 20:06 nden