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
36 changes: 36 additions & 0 deletions .github/workflows/pyhc-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# SPDX-FileCopyrightText: 2026 GFZ Helmholtz Centre for Geosciences
# SPDX-FileContributor: Sahil Jhawar
#
# SPDX-License-Identifier: Apache-2.0

name: PyHC Actions

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

permissions: {}

jobs:
phep3-compliance:
name: PHEP 3 Compliance
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: heliophysicsPy/pyhc-actions/phep3-compliance@v1

pyhc-env-compat:
name: PyHC Environment Compatibility
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: heliophysicsPy/pyhc-actions/pyhc-env-compat@v1
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# SPDX-FileCopyrightText: 2025 GFZ Helmholtz Centre for Geosciences
#
# SPDX-License-Identifier: Apache-2.0
Expand Down Expand Up @@ -33,19 +33,19 @@
"distance>=0.1.3",
"icecream>=2.1.10",
"mat73>=0.65",
"matplotlib>=3.10.8",
"matplotlib>=3.10",
"netcdf4>=1.7.2",
"numpy>=2.4.2",
"numpy>=2.2",
"pandas>=2.3",
"python-dateutil",
"requests>=2.32.5",
"rich",
"richpool",
"scipy>=1.17.0",
"scipy>=1.15",
"sunpy>=7.0.5",
"tqdm>=4.67.3",
"wget>=3.2",
"xarray>=2025.1.0",
"xarray>=2024.10",
]
dynamic = ["optional-dependencies", "version"]

Expand Down Expand Up @@ -116,7 +116,7 @@

[tool.ty.src]
include = ["swvo"]
exclude = ["tests"]
exclude = ["tests", "swvo/io/RBMDataSet"]

[[tool.ty.overrides]]
include = ["swvo"]
Expand Down
7 changes: 4 additions & 3 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ exclude = [
"node_modules",
"site-packages",
"venv",
"swvo/io/RBMDataSet/interp_functions.py", # exclude file for now
"swvo/io/RBMDataSet",
]

# Enforce exclusions even for paths passed explicitly (e.g. by pre-commit).
force-exclude = true

# Same as Black.
line-length = 120
indent-width = 4
Expand Down Expand Up @@ -85,5 +88,3 @@ docstring-code-format = false
# This only has an effect when the `docstring-code-format` setting is
# enabled.
docstring-code-line-length = "dynamic"


Loading
Loading