Skip to content

Commit

Permalink
chore: black formatting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Batch21 authored and jetuk committed Feb 28, 2024
1 parent 8463aa2 commit 7d1b60c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/thames/thames.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""

from pywr.model import Model
from pywr.recorders import TablesRecorder
import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/two_reservoir/two_reservoir_moea.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
choice of library can be made with a command line argument.
"""

import json
import os
import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions pywr/dataframe_tools.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utilities for working with pandas DataFrame objects."""

import pandas
from pandas.tseries.offsets import Tick, DateOffset
from pandas._libs.tslibs.period import IncompatibleFrequency
Expand Down
1 change: 1 addition & 0 deletions pywr/hashes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
""" Generic utilities functions useful for pywr, but not specific to any of the core modules
"""

import io
import hashlib

Expand Down
1 change: 1 addition & 0 deletions pywr/parameters/control_curves.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module contains a set of pywr._core.Parameter subclasses for defining control curve based parameters.
"""

from ._control_curves import (
ControlCurveParameter,
BaseControlCurveParameter,
Expand Down
1 change: 1 addition & 0 deletions pywr/recorders/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"""

from ._recorders import NumpyArrayNodeRecorder
import numpy as np

Expand Down
1 change: 1 addition & 0 deletions pywr/solvers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- GLPK
- LPSolve55
"""

import os

solver_registry = []
Expand Down
1 change: 1 addition & 0 deletions tests/test_activation_parameters.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for activation function parameters."""

from pywr.parameters import load_parameter
from pywr.recorders import assert_rec
from fixtures import simple_linear_model
Expand Down
1 change: 1 addition & 0 deletions tests/test_parameters.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Test for individual Parameter classes
"""

from pyparsing import col

from pywr.core import (
Expand Down
1 change: 1 addition & 0 deletions tests/test_river.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Specific additional functionality of the 'special' classes in the river domain
are tested here.
"""

import pywr.core
from pywr.core import Model, Input, Output, Catchment
from pywr.parameters import MonthlyProfileParameter
Expand Down

0 comments on commit 7d1b60c

Please sign in to comment.