-
Notifications
You must be signed in to change notification settings - Fork 40
/
pyproject.toml
49 lines (41 loc) · 1.24 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[tool.poetry]
authors = ["sdaqo <sdaqo.dev@protonmail.com>"]
license = "GPL-3.0"
repository = "https://github.com/sdaqo/anipy-cli"
package-mode = false
[tool.poetry.dependencies]
python = "^3.9"
anipy-cli = {path = "cli/", develop = true}
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.25.1"
black = "^24.4.2"
ruff = "^0.4.4"
typer = "^0.12.3"
tomlkit = "^0.12.5"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.0"
mkdocs-material = "^9.5.19"
mkdocs-gen-files = "^0.5.0"
mkdocs-literate-nav = "^0.6.1"
mkdocs-section-index = "^0.3.9"
mkdocstrings-python = "^1.10.0"
[tool.poe.tasks]
lint = "ruff check -e cli/src/anipy_cli api/src/anipy_api"
lint-fix = "ruff check -s -e --fix cli/src/anipy_cli api/src/anipy_api "
format = "black api/src cli/src"
polish = ["lint-fix", "format", "lint"]
enter-dev = "python scripts/poetry_dev.py path --working-dir=cli/"
exit-dev = "python scripts/poetry_dev.py version --working-dir=cli/"
docs-serve = "mkdocs serve -w api/src"
docs-build = "mkdocs build"
docs-publish = "mkdocs gh-deploy --force"
bump-version = "./scripts/bump_version.sh"
# test = ""
[tool.docformatter]
style = "black"
[tool.ruff.lint]
ignore = ["F403", "F405"]