Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improved README.
- Improved CONTRIBUTING.
- Add project URLs to package metadata.
- Various improvement to internal code formatting and style.

## [0.1.0] - 2026-05-06

Expand Down
31 changes: 31 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,34 @@ dev = [
{ include-group = "tests" },
"prek>=0.3.13",
]

[tool.ruff.lint]
extend-select = [
"YTT", # flake8-2020
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"PIE", # flake8-pie
"TID", # flake8-tidy-imports (absolute imports)
"PYI", # flake8-pyi
"SIM", # flake8-simplify
"FLY", # flynt
"I", # isort
"PERF", # Perflint
"W", # pycodestyle warnings
"PGH", # pygrep-hooks
"PLC", # Pylint Convention
"PLE", # Pylint Errors
"PLR", # Pylint Refactor
"PLW", # Pylint Warnings
"UP", # pyupgrade
"FURB", # refurb
"RUF",
]

[tool.ruff.lint.isort]
known-first-party = ["isku"]

[tool.ruff.lint.flake8-tidy-imports]
# Disallow all relative imports.
ban-relative-imports = "all"
14 changes: 7 additions & 7 deletions src/isku/__init__.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
from collections.abc import Callable
from dataclasses import dataclass
from typing import Protocol, Callable
from typing import Protocol

import xarray as xr


__all__ = [
"ExtractionWorkflow",
"GridWeightingRegions",
"ProjectionWorkflow",
"RegionExtractor",
"build_extraction_workflow",
"extract_regions",
"build_projection_workflow",
"extract_regions",
"project",
"GridWeightingRegions",
"ExtractionWorkflow",
"RegionExtractor",
"ProjectionWorkflow",
]


Expand Down
1 change: 1 addition & 0 deletions tests/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""

import xarray as xr

import isku


Expand Down
Loading