scikit-hep / cabinetry

design and steer profile likelihood fits
https://cabinetry.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
27 stars 21 forks source link

style: apply Black's 2023 style #383

Closed alexander-held closed 1 year ago

alexander-held commented 1 year ago

Applying black's 2023 style via its 23.1a1 release. The changes are compatible with prior versions of black, so this should not be causing issues in CI. Also running --skip-magic-trailing-comma once to adjust cases where expressions may previously have been longer but now can be collapsed back into one line.

* apply Black's 2023 style
* updated pre-commit
codecov[bot] commented 1 year ago

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (ced1f42) compared to base (87a452b). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #383 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 23 23 Lines 2041 2041 Branches 324 324 ========================================= Hits 2041 2041 ``` | [Impacted Files](https://codecov.io/gh/scikit-hep/cabinetry/pull/383?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep) | Coverage Δ | | |---|---|---| | [src/cabinetry/cli/\_\_init\_\_.py](https://codecov.io/gh/scikit-hep/cabinetry/pull/383/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep#diff-c3JjL2NhYmluZXRyeS9jbGkvX19pbml0X18ucHk=) | `100.00% <ø> (ø)` | | | [src/cabinetry/model\_utils.py](https://codecov.io/gh/scikit-hep/cabinetry/pull/383/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep#diff-c3JjL2NhYmluZXRyeS9tb2RlbF91dGlscy5weQ==) | `100.00% <ø> (ø)` | | | [src/cabinetry/templates/builder.py](https://codecov.io/gh/scikit-hep/cabinetry/pull/383/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep#diff-c3JjL2NhYmluZXRyeS90ZW1wbGF0ZXMvYnVpbGRlci5weQ==) | `100.00% <ø> (ø)` | | | [src/cabinetry/visualize/\_\_init\_\_.py](https://codecov.io/gh/scikit-hep/cabinetry/pull/383/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep#diff-c3JjL2NhYmluZXRyeS92aXN1YWxpemUvX19pbml0X18ucHk=) | `100.00% <ø> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep)

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