Skip to content

Conversation

@ksbeattie
Copy link
Member

Fixes

Replaces dependabot alert about black: #1381

Summary/Motivation:

Guess it's time to run this again

Changes proposed in this PR:

  • Ran the new black (not yellow) on all the files

Legal Acknowledgement

By contributing to this software project, I agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the license terms described in the LICENSE.txt file at the top level of this directory.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@ksbeattie
Copy link
Member Author

@lbianchi-lbl, why is black in requirements-dev.txt twice?

@lbianchi-lbl
Copy link
Contributor

@lbianchi-lbl, why is black in requirements-dev.txt twice?

Thanks for spotting that, I don't think there's any reason. I pushed a commit to remove the duplicated requirement, and another to update the pre-commit config.

@codecov
Copy link

codecov bot commented Mar 30, 2024

Codecov Report

Attention: Patch coverage is 92.30769% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 77.62%. Comparing base (4e6a0f0) to head (4750950).

Files Patch % Lines
...subcritical_power_plant/subcritical_power_plant.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1388      +/-   ##
==========================================
- Coverage   77.62%   77.62%   -0.01%     
==========================================
  Files         391      391              
  Lines       64375    64375              
  Branches    14257    14257              
==========================================
- Hits        49973    49970       -3     
- Misses      11830    11834       +4     
+ Partials     2572     2571       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@andrewlee94 andrewlee94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubber stamp.

Copy link
Contributor

@agarciadiego agarciadiego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@bpaul4 bpaul4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the most part the formatting looks much cleaner now, I like that small expressions are consolidated into one or two lines instead of spaced out like before.

@lbianchi-lbl lbianchi-lbl enabled auto-merge (squash) April 4, 2024 22:44
@lbianchi-lbl lbianchi-lbl merged commit f8ccdec into IDAES:main Apr 4, 2024
andrewlee94 pushed a commit that referenced this pull request Apr 10, 2024
* Resolve CI failures from new version (1.20.4) of spellchecker (#1389)

* Empty commit to verify failures on main

* Resolve likely false positives

* Resolve likely true positives

* Resolve probable true positive

* Remove "frst" from typos exclusions

* Remove "ans" from typos exclusions b/c crate-ci/typos#981

* Fix target for 'fv' (flowsheet visualizer) reference (#1391)

* outputs

* fix hyperlink

* put this back

* put this back2

* replace with simple hyperlink

* Updating black and rerunning it on all files (#1388)

* Updating black and rerunning it on all files

* Remove duplicated Black requirement

* Update Black rev in pre-commit config

---------

Co-authored-by: Ludovico Bianchi <lbianchi@lbl.gov>

---------

Co-authored-by: Ludovico Bianchi <lbianchi@lbl.gov>
Co-authored-by: Dan Gunter <dkgunter@lbl.gov>
Co-authored-by: Keith Beattie <ksbeattie@lbl.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority:Normal Normal Priority Issue or PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants