Skip to content

Commit

Permalink
chore: Fix hatch invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
mdomke committed Jun 10, 2024
1 parent 8e47808 commit c4ad531
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: pip install hatch
- name: Install hatch
uses: pypa/hatch@install
- name: Lint documentation
run: hatch run lint:docs
run: hatch run docs:check

lint-style:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
dependencies = [
"freezegun==1.4.*",
]
features = [
"pydantic",
]
features = ["pydantic"]

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

[envs.types]
extra-dependencies = [
"mypy==1.10.*",
"pytest==8.2.*",
]
features = ["pydantic"]
scripts = { check = "mypy --install-types --non-interactive {args:schwifty tests}" }

[envs.docs]
Expand Down

0 comments on commit c4ad531

Please sign in to comment.