Skip to content

Commit

Permalink
Fix CI failures (os-climate#236)
Browse files Browse the repository at this point in the history
* Fix CI failures

Fix CI failures

Signed-off-by: EglantineGiraud <[email protected]>

* Update ThermalPowerGenerationDroughtModel to use months/spei12m/below/index

Update ThermalPowerGenerationDroughtModel to use months/spei12m/below/index

Signed-off-by: EglantineGiraud <[email protected]>

---------

Signed-off-by: EglantineGiraud <[email protected]>
  • Loading branch information
EglantineGiraud authored Mar 4, 2024
1 parent 7cccf31 commit 465f811
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 88 deletions.
26 changes: 18 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ build-backend = "setuptools.build_meta"
where = ["src"]
include = ["physrisk*"]




[tool.pdm.dev-dependencies]
test = [
"pdm[pytest]",
Expand All @@ -78,14 +81,12 @@ lint = [
"pre-commit",
"tox"
]

[project.urls]
Homepage = "https://github.com/os-climate/physrisk"
Repository = "https://github.com/os-climate/physrisk"
Downloads = "https://github.com/os-climate/physrisk/releases"
"Bug Tracker" = "https://github.com/os-climate/physrisk/issues"
Documentation = "https://github.com/os-climate/physrisk/tree/main/docs"
"Source Code" = "https://github.com/os-climate/physrisk"
"black[jupyter]" = []
pandas = []
dev = [
"pandas>=2.0.3",
"geopandas>=0.13.2",
]

[tool.pdm.scripts]
pre_release = "scripts/dev-versioning.sh"
Expand All @@ -96,6 +97,15 @@ docs = { shell = "cd docs && mkdocs serve", help = "Start the dev server for doc
lint = "pre-commit run --all-files"
complete = { call = "tasks.complete:main", help = "Create autocomplete files for bash and fish" }


[project.urls]
Homepage = "https://github.com/os-climate/physrisk"
Repository = "https://github.com/os-climate/physrisk"
Downloads = "https://github.com/os-climate/physrisk/releases"
"Bug Tracker" = "https://github.com/os-climate/physrisk/issues"
Documentation = "https://github.com/os-climate/physrisk/tree/main/docs"
"Source Code" = "https://github.com/os-climate/physrisk"

[tool.pytest.ini_options]
testpaths = "tests"
addopts = "-v"
Expand Down
Loading

0 comments on commit 465f811

Please sign in to comment.