Skip to content

Commit

Permalink
Update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
BSchilperoort committed Dec 2, 2024
1 parent 1012f34 commit ba35fc0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ WflowJl = "ewatercycle_wflowjl.model:WflowJl"
WflowJlForcing = "ewatercycle_wflowjl.forcing.forcing:WflowJlForcing"

[tool.ruff]
target-version = "py310"
extend-exclude = ["*.ipynb"]

[tool.ruff.lint]
select = ["E", "F", "B", "D", "C90", "I", "N", "UP", "PLE", "PLR", "PLW"]
extend-select = ["D401", "D400", "D404", "TID252"]
ignore = [
Expand All @@ -53,12 +57,11 @@ ignore = [
"N813",
]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py310"

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["ewatercycle_wflow"]
force-single-line = true
lines-after-imports = 2
1 change: 1 addition & 0 deletions src/ewatercycle_wflowjl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""eWaterCycle plugin for Wflow.jl."""

__version__ = "0.2.0"
1 change: 1 addition & 0 deletions src/ewatercycle_wflowjl/forcing/diagnostic_script.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""wflow diagnostic."""

import logging
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions src/ewatercycle_wflowjl/forcing/forcing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Forcing related functionality for wflow."""

from datetime import datetime
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions src/ewatercycle_wflowjl/forcing/makkink.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Makkink formula for potential evaporation, implemented for Iris."""

import logging
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions src/ewatercycle_wflowjl/model.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Wflow.jl eWaterCycle Model."""

import datetime
from collections.abc import Iterable
from pathlib import Path
Expand Down

0 comments on commit ba35fc0

Please sign in to comment.