Skip to content

Commit e44ddf1

Browse files
committed
format
1 parent 966369c commit e44ddf1

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

ogcore/SS.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
ENFORCE_SOLUTION_CHECKS = True
2727

2828

29-
3029
"""
3130
------------------------------------------------------------------------
3231
Define Functions

ogcore/TPI.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
ENFORCE_SOLUTION_CHECKS = True
3939

4040

41-
4241
def get_initial_SS_values(p):
4342
"""
4443
Get values of variables for the initial period and the steady state

ogcore/config.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@
1313
def set_logging_level(verbose=False):
1414
"""
1515
Set the logging level for OG-Core modules.
16-
16+
1717
Args:
1818
verbose (bool): If True, set logging to INFO level.
1919
If False, set logging to WARNING level.
20-
20+
2121
Returns:
2222
int: The logging level that was set.
2323
"""
2424
global VERBOSE
2525
VERBOSE = verbose
2626
level = logging.INFO if verbose else logging.WARNING
27-
27+
2828
# Configure the root logger
2929
logging.basicConfig(
3030
level=level,
31-
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s'
31+
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
3232
)
33-
33+
3434
# Also set the ogcore logger specifically
35-
logger = logging.getLogger('ogcore')
35+
logger = logging.getLogger("ogcore")
3636
logger.setLevel(level)
37-
38-
return level
37+
38+
return level

0 commit comments

Comments
 (0)