Skip to content

Commit c4ad531

Browse files
committed
chore: Fix hatch invocation
1 parent 8e47808 commit c4ad531

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/lint-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
uses: actions/setup-python@v5
1616
with:
1717
python-version: "3.12"
18-
- name: Install dependencies
19-
run: pip install hatch
18+
- name: Install hatch
19+
uses: pypa/hatch@install
2020
- name: Lint documentation
21-
run: hatch run lint:docs
21+
run: hatch run docs:check
2222

2323
lint-style:
2424
runs-on: ubuntu-latest

hatch.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
dependencies = [
33
"freezegun==1.4.*",
44
]
5-
features = [
6-
"pydantic",
7-
]
5+
features = ["pydantic"]
86

97
[envs.hatch-static-analysis]
108
config-path = ".ruff_defaults.toml"
119

1210
[envs.types]
1311
extra-dependencies = [
1412
"mypy==1.10.*",
13+
"pytest==8.2.*",
1514
]
15+
features = ["pydantic"]
1616
scripts = { check = "mypy --install-types --non-interactive {args:schwifty tests}" }
1717

1818
[envs.docs]

0 commit comments

Comments
 (0)