Skip to content

Commit

Permalink
Fixes to please pre-commit
Browse files Browse the repository at this point in the history
Created by moving to src dir.
`calliope` is a regular dependency outside `src` files.
  • Loading branch information
brynpickering committed Oct 23, 2023
1 parent 3e19d59 commit 419f690
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions doc/_static/notebooks/calliope_model_object.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"\n",
"import calliope\n",
"import pandas as pd\n",
"\n",
"calliope.set_log_verbosity(\"INFO\", include_solver_output=False)"
]
Expand Down
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import numpy as np
import pytest
import xarray as xr

from calliope import AttrDict
from calliope.backend import backends, latex_backend

Expand Down
5 changes: 2 additions & 3 deletions tests/test_math.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from pathlib import Path

import calliope
import numpy as np
import pytest
from pyomo.repn.tests import lp_diff

import calliope
from calliope import AttrDict
from pyomo.repn.tests import lp_diff

from .common.util import build_lp, build_test_model

Expand Down

0 comments on commit 419f690

Please sign in to comment.