update to fisrt version

This commit is contained in:
Wolfang Torres
2026-06-19 20:18:04 +08:00
parent f5452a57c1
commit 62264791ae
9 changed files with 919 additions and 177 deletions

View File

@@ -27,7 +27,9 @@ classifiers = [
]
dependencies = [
"flask",
"gunicorn"
"gunicorn",
"python-dotenv",
"anki-hsk-creator",
]
[project.optional-dependencies]
@@ -35,7 +37,8 @@ dev = [
"pytest",
"black",
"pylint",
"flakehell"
"flake8",
"flake8-pyproject",
]
[project.urls]
@@ -53,6 +56,7 @@ extra-dependencies = [
[tool.hatch.envs.default.scripts]
format = "black --target-version=py314 src tests && isort src tests"
lint = "flake8 src"
[tool.hatch.envs.types]
extra-dependencies = [
@@ -128,7 +132,7 @@ msg-template="{path}:{module}:{line}: [{msg_id}({symbol}), {obj}] {msg}"
logging-format-style="new"
logging-modules="logging"
[tool.flakehell]
[tool.flake8]
max_line_length = 88
format = "grouped"
show_source = false
@@ -143,7 +147,7 @@ exclude = [
"*.egg-info",
]
[tool.flakehell.plugins]
[tool.flake8.plugins]
mccabe = ["+C*"]
pycodestyle = ["+E*", "+W*", "-E203", "-E501", "-W503"]
pyflakes = ["+F*"]