-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
executable file
·60 lines (51 loc) · 1.35 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
50
51
52
53
54
55
56
57
58
59
60
[tool.poetry]
name = "alfort"
version = "0.0.0"
description = "Elm-like interactive application framework for Python"
authors = ["Masahiro Wada <argon.argon.argon@gmail.com>"]
license = "Apache-2.0"
repository = "https://github.com/ar90n/alfort"
readme = "README.md"
keywords = ["declarative-ui", "elm-architecture"]
include = ["alfort/py.typed"]
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.20.0"
pyright = "^1.1.238"
pytest = "^7.1.1"
pytest-cov = "^4.0.0"
pytest-xdist = "^3.0.0"
pytest-black = "^0.3.12"
pre-commit = "^3.0.0"
isort = "^5.10.1"
commitizen = "^3.0.1"
ruff = "^0.0.270"
docformatter = "^1.6.2"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.isort]
profile = "black"
[tool.pyright]
include = ["alfort", "examples"]
stubPath ="stubs"
typeCheckingMode = "strict"
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.11"
pythonPlatform = "Linux"
[tool.pytest.ini_options]
addopts = "--strict --durations=0 --color=yes"
testpaths = [
"tests"
]
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
[tool.poe.tasks]
test = "pytest"
check = "pre-commit run -a"
install-plugins = "poetry self add poethepoet[poetry_plugin]"
install-pre-commit = "pre-commit install"