Skip to content

Commit 1a9155a

Browse files
committed
remove outdated tasks
1 parent ac0ca3d commit 1a9155a

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

.github/workflows/pre-commit.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Pre-commit
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
pre-commit:
13+
name: Pre-commit
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.13"
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install pre-commit
24+
pip install -e ".[dev]"
25+
- name: Run pre-commit
26+
run: pre-commit run --all-files

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,7 @@ dev = { features = ["dev"], solve-group = "default" }
7373

7474
[tool.pixi.feature.dev.tasks]
7575
tests = "pytest"
76-
flake8 = "flake8 docs tests src/xarray_dataclasses"
77-
black = "black docs tests src/xarray_dataclasses"
7876
doc_build = { cmd = "sphinx-apidoc -efT -o docs/_apidoc src/xarray_dataclasses && sphinx-build -a docs docs/_build" }
79-
pyright = "pyright docs tests src/xarray_dataclasses"
8077

8178
[tool.pyright]
8279
reportImportCycles = "warning"

0 commit comments

Comments
 (0)