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
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "uv"
directory: "/"
schedule:
interval: "weekly"
allow:
- dependency-name: "ruff"
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: CI

on: [pull_request]

jobs:
ci:
uses: ucgmsim/meta-ci-action/.github/workflows/ci.yml@main
with:
package-dir: source_modelling
system-packages: "gmt libgmt-dev ghostscript gdal-bin libgdal-dev"
uv-extra-args: "--all-groups --all-extras"
numpydoc-extra-excludes: "-E ccldpy.py"
enable-coverage: true
cov-package: source_modelling
11 changes: 11 additions & 0 deletions .github/workflows/claude-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Claude PR Review

on:
issue_comment:
types: [created]

jobs:
review:
uses: ucgmsim/meta-ci-action/.github/workflows/claude-review.yml@main
secrets:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
18 changes: 0 additions & 18 deletions .github/workflows/deptry.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/numpydoc.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/pytest.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/ruff.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/types.yml

This file was deleted.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ dependencies = [
"numpy>=2.0",
"pandas",
"parse",
"qcore-utils",
"qcore-utils>=2026.8.2",
"scipy",
"shapely",
"shapely>=2.0",
"xarray[io]",
]

Expand All @@ -45,13 +45,13 @@ dev = ["ruff", "deptry", "ty", "numpydoc"]


[tool.setuptools.package-data]
source_modelling = ['NZ_CFM/*']
source_modelling = ['NZ_CFM/*', 'py.typed', 'srf_parser.pyi']

[tool.setuptools.package-dir]
source_modelling = "source_modelling"

[tool.ty.src]
exclude = ["source_modelling/ccldpy.py"]
exclude = ["source_modelling/ccldpy.py", "setup.py"]

[tool.ruff]
extend-exclude = ["source_modelling/ccldpy.py"]
Expand Down
1 change: 0 additions & 1 deletion source_modelling/parse_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class ParseError(Exception):
"""Error for parsing files in source modelling."""



def _is_seperator(char: str) -> bool:
"""Check if a character is a space or end of file.

Expand Down
Empty file added source_modelling/py.typed
Empty file.
Loading
Loading