-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (59 loc) · 1.19 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[tool.poetry]
name = "restlogger"
version = "1.2.1"
description = "Detailed logger for python REST api"
authors = ["Bee Dev <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10"
Django = ">3"
PyJWT = "^2"
djangorestframework = ">3"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
mypy = "^1.0.0"
coverage = "^7.1.0"
ipdb = "^0.13"
pytest-django = "^4"
black = "^24.1.1"
mypy-extensions = "^1.0.0"
pre-commit = "^3.0.4"
pytest-cov = "^4.0.0"
pytest-freezegun = "^0.4.2"
ruff = "^0.2.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ['py310']
line-length = 119
[tool.ruff]
line-length = 119
exclude = [
"__pycache__",
".git",
".nox",
"doc",
]
[tool.mypy]
python_version = '3.10'
packages =["restlogger",]
[[tool.mypy.overrides]]
module = [
"nox",
"nox_poetry",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-ra -v"
testpaths = ["tests",]
asyncio_mode = "auto"
[tool.pytest_env]
ENV_PATH=".envs/test.env"
BEE_ENV="test"
[tool.coverage.paths]
source = ["restlogger"]
[tool.coverage.run]
branch = true
source = ["restlogger"]
[tool.coverage.report]
show_missing = true