Skip to content
Open
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/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Ruff action
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/ruff-action@v4.0.0
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ This will create a virtual environment in the `.venv` folder with all the requir
source .venv/bin/activate
```

### For development

For developers who want to make changes to the code, please install the `pre-commit` hooks for code formatting and linting. You can do this by running:

```sh
pre-commit install
```

After this, every time you make a commit, the code will be automatically formatted and linted according to the rules defined in the `.pre-commit-config.yaml` file.

<!-- start-spatio-temporal -->
## Spatio Temporal Model Architecture

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ docs = [

[tool.setuptools]
packages = ["climanet"]

[tool.ruff]
exclude = ["notebooks"]
Loading