-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply black
to pyomo/common
directory py
files
#2776
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2776 +/- ##
==========================================
- Coverage 87.01% 87.00% -0.01%
==========================================
Files 763 763
Lines 87123 87227 +104
==========================================
+ Hits 75807 75895 +88
- Misses 11316 11332 +16
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 7 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
|
Fixes (Partly) #329
Summary/Motivation:
This is the first in a relatively long string of PRs to apply PEP8 standards via
black
to Pyomo. We are following the standard used by IDAES except that we are adding the-S
option:Don't normalize string quotes or prefixes
and the-C
option:Don't use trailing commas as a reason to split lines.
NOTE: All changes are NFC.
Full command used:
cd pyomo/common && black -S -C .
Changes proposed in this PR:
black
to thepyomo/common
directorypy
files" "
or' '
Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: