Skip to content

Commit adebd0c

Browse files
committed
Add diff to job, fix black formatting
1 parent 4028e8a commit adebd0c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
pip install --progress-bar off black[jupyter]==24.3.0
6060
- name: Run Black to verify that the committed code is formatted
6161
run: |
62-
black --check .
62+
black --check --diff .
6363
6464
spell-check:
6565
name: Check Spelling

idaes_examples/mod/properties/reaction_property_example.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ def build(self):
140140
units=pyunits.mol / pyunits.m**3 / pyunits.s / pyunits.Pa**2,
141141
)
142142

143-
self.k_eq = Param(initialize=10000, doc="Equilibrium constant", units=pyunits.Pa)
143+
self.k_eq = Param(
144+
initialize=10000, doc="Equilibrium constant", units=pyunits.Pa
145+
)
144146

145147
self.reaction_rate = Var(
146148
self.params.rate_reaction_idx,

0 commit comments

Comments
 (0)