-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
123 lines (110 loc) · 2.29 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[tool.commitizen]
name = "cz_conventional_commits"
version = "1.3.0"
tag_format = "$version"
version_files = [
"kontext/__init__.py",
"pyproject.toml:version"
]
bump_message = "chore(release): version $current_version → $new_version"
update_changelog_on_bump = true
[tool.poetry]
name = "kontext"
version = "1.3.0"
description = "Easy contextual information logging"
authors = ["Danil Akhtarov <daxartio@gmail.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/daxartio/kontext"
homepage = "https://pypi.org/project/kontext"
keywords = ["contextvar", "logging", "context-logging"]
[tool.poetry.urls]
Changelog = "https://github.com/daxartio/kontext/blob/main/CHANGELOG.md"
[tool.poetry.dependencies]
python = "^3.7.1"
typing-extensions = "^4.5.0"
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
mypy = "^1.1.1"
pytest = "^7.2.2"
pytest-asyncio = "^0.20.3"
pytest-cov = "^4.0.0"
pytest-deadfixtures = "^2.2.1"
pytest-mock = "^3.10.0"
ruff = "^0.0.255"
toml = "^0.10.2"
[tool.poetry.group.git.dependencies]
commitizen = "^2.42.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
[[tool.mypy.overrides]]
module = ["tests.*", "examples.*"]
disallow_untyped_defs = false
disallow_incomplete_defs = false
[tool.coverage.run]
omit = ["tests/*", "**/__main__.py", "**/.venv/*", "**/site-packages/*", "examples/*"]
branch = true
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 100
[tool.pytest.ini_options]
asyncio_mode = "strict"
addopts = "--strict-markers --showlocals --verbosity 2"
log_level = "DEBUG"
[tool.ruff]
select = [
"F",
"E",
"W",
"C90",
"I",
"N",
"D",
"YTT",
"S",
"BLE",
"B",
"A",
"C40",
"DTZ",
"T10",
"EM",
"ISC",
"ICN",
"PIE",
"T20",
"PT",
"Q",
"RET",
"SIM",
"TID",
"ARG",
"ERA",
"PD",
"RUF",
]
ignore = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D203",
"D213",
"EM101",
]
exclude = []
[tool.ruff.per-file-ignores]
"tests/*" = ["S101"]