-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (79 loc) · 2.05 KB
/
pyproject.toml
File metadata and controls
95 lines (79 loc) · 2.05 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[tool.poetry]
name = "matrixrmapi"
version = "1.0.1"
description = "Matrix service RASENMAEHER integration API service"
authors = ["logaritmi <logaritmi@FIXME.com>"]
homepage = "https://github.com/pvarki/python-rasenmaeher-matrixrmapi/"
repository = "https://github.com/pvarki/python-rasenmaeher-matrixrmapi/"
license = "MIT"
readme = "README.rst"
[tool.poetry.scripts]
matrixrmapi = "matrixrmapi.console:matrixrmapi_cli"
[tool.black]
line-length = 120
target-version = ['py38']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| __pycache__
)
'''
[tool.mypy]
strict=true
[tool.pytest.ini_options]
junit_family="xunit2"
addopts="--cov=matrixrmapi --cov-fail-under=55 --cov-branch"
asyncio_mode="strict"
[tool.pylint.format]
max-line-length = 120
[tool.pylint.design]
max-parents = 10
[tool.pylint.messages_control]
disable=["fixme", "W1202", "C0209"]
[tool.pylint.similarities]
min-similarity-lines = 8
ignore-imports = true
[tool.coverage.run]
omit = ["tests/*"]
branch = true
[[tool.poetry.source]]
name = "nexuslocal"
url = "https://nexus.dev.pvarki.fi/repository/pypilocal/simple"
priority = "explicit"
[tool.poetry.dependencies]
python = ">3.10,<4.0"
libadvian = "^1.4"
libpvarki = { version="^2.2", source="nexuslocal"}
fastapi = ">=0.89,<1.0" # caret behaviour on 0.x is to lock to 0.x.*
pydantic = ">=2.0,<3.0"
jinja2 = "^3.1"
uvicorn = {version = ">=0.20,<1.0", extras = ["standard"]} # caret behaviour on 0.x is to lock to 0.x.*
gunicorn = "^21.0"
httpx = ">=0.28.1,<1.0"
filelock = "^3.12"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0"
coverage = "^7.4"
pytest-cov = "^4.1"
pylint = "^3.3"
black = "^25.1"
bandit = "^1.8"
mypy = "^1.15"
pre-commit = "^3.6"
pytest-asyncio = ">=0.21,<1.0" # caret behaviour on 0.x is to lock to 0.x.*
bump2version = "^1.0"
detect-secrets = "^1.5"
[build-system]
requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"