Skip to content

Commit 1bcbb04

Browse files
ksbeattiesufikaurdallan-keylogic
authored
Updating black to 26.1.0 and re-running it (#1726)
* Updating black to 26.1.0 and re-running it * running black again --------- Co-authored-by: Sufi Kaur <56102473+sufikaur@users.noreply.github.com> Co-authored-by: dallan-keylogic <88728506+dallan-keylogic@users.noreply.github.com>
1 parent e5b0f25 commit 1bcbb04

File tree

427 files changed

+447
-323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

427 files changed

+447
-323
lines changed

.github/actions/run-examples/examples_for_idaes_ci.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from idaes_examples import notebooks
1616
from idaes_examples import build
1717

18-
1918
matchmarker = pytest.StashKey()
2019
marked = pytest.StashKey()
2120

.pylint/idaes_transform.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import pylint
1717
from astroid.builder import extract_node, parse
1818

19-
2019
_logger = logging.getLogger("pylint.ideas_plugin")
2120

2221

docs/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"""
1414
Run all build steps for IDAES documentation.
1515
"""
16+
1617
# standard library
1718
import argparse
1819
import glob

idaes/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
1616
Set up logging for the idaes module, and import plugins.
1717
"""
18+
1819
# TODO: Missing doc strings
1920
# pylint: disable=missing-class-docstring
2021
# pylint: disable=missing-function-docstring

idaes/apps/caprese/categorize.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
# All rights reserved. Please see the files COPYRIGHT.md and LICENSE.md
1212
# for full copyright and license information.
1313
#################################################################################
14-
""" Functions for categorizing variable into e.g. differential and algebraic.
15-
"""
14+
"""Functions for categorizing variable into e.g. differential and algebraic."""
1615

1716
from pyomo.environ import (
1817
Reference,

idaes/apps/caprese/common/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"""
1515
A module of functions and classes for configuring NMPC/MHE problems
1616
"""
17+
1718
import enum
1819
from pyomo.environ import SolverFactory
1920
from pyomo.core.base.var import VarData

idaes/apps/caprese/controller.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
# All rights reserved. Please see the files COPYRIGHT.md and LICENSE.md
1212
# for full copyright and license information.
1313
#################################################################################
14-
""" Block-like object meant for controller models.
15-
"""
14+
"""Block-like object meant for controller models."""
1615

1716
from idaes.apps.caprese.common.config import (
1817
ControlPenaltyType,

idaes/apps/caprese/dynamic_block.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# All rights reserved. Please see the files COPYRIGHT.md and LICENSE.md
1212
# for full copyright and license information.
1313
#################################################################################
14-
""" Block-like object meant for models where almost everything is indexed
14+
"""Block-like object meant for models where almost everything is indexed
1515
by time.
1616
"""
1717

idaes/apps/caprese/examples/cstr_nmpc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"""
1414
Example for Caprese's module for NMPC.
1515
"""
16+
1617
import random
1718
from idaes.apps.caprese.nmpc import NMPCSim
1819
from idaes.apps.caprese.util import apply_noise_with_bounds

idaes/apps/caprese/examples/cstr_reduced.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"""
1414
Example for Caprese's module for NMPC.
1515
"""
16+
1617
import random
1718
from idaes.apps.caprese.nmpc import NMPCSim
1819
from idaes.apps.caprese.dynamic_block import DynamicBlock

0 commit comments

Comments
 (0)