Skip to content

Commit

Permalink
update pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsumoto-ren committed Jul 2, 2024
1 parent ea1e0f5 commit a326386
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name = "japanese"
dynamic = ["version"]
description = 'Automatically generate furigana and other data on Anki cards.'
readme = "README.md"
requires-python = ">=3.9"
requires-python = "~=3.9" # anki officially only runs on 3.9
license = { file = "LICENSE" }
keywords = ["ajatt"]
authors = [
Expand All @@ -35,11 +35,14 @@ path = "japanese/__about__.py"
version-file = "japanese/__about__.py"

[tool.hatch.envs.dev]
extra-dependencies = [
dependencies = [
"mypy>=1.0.0",
"isort",
"pytest",
"aqt[qt6]",
]
[[tool.hatch.envs.dev.matrix]]
python = ['3.9',]
[tool.hatch.envs.dev.scripts]
# run as `hatch run dev:scriptname`
check = "mypy --install-types --non-interactive {args:japanese tests}"
Expand Down

0 comments on commit a326386

Please sign in to comment.