-
Notifications
You must be signed in to change notification settings - Fork 421
/
pyproject.toml
47 lines (38 loc) · 934 Bytes
/
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
[tool.coverage.run]
branch = true
relative_files = true
source = ["OpenSSL", "tests/"]
[tool.coverage.paths]
source = [
"src/OpenSSL",
"*.tox/*/lib/python*/site-packages/OpenSSL",
"*.tox/*/lib/pypy*/site-packages/OpenSSL",
"*.tox/pypy/site-packages/OpenSSL",
"*.tox\\*\\Lib\\site-packages\\OpenSSL",
]
[tool.coverage.report]
exclude_also = [
"assert False",
]
show_missing = true
[tool.mypy]
warn_unused_configs = true
follow_imports = "skip"
strict = true
[[tool.mypy.overrides]]
module = "OpenSSL.*"
warn_return_any = false
[[tool.mypy.overrides]]
module = "cryptography.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "cffi.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-r s --strict-markers"
testpaths = ["tests"]
[tool.ruff]
lint.select = ['E', 'F', 'I', 'W', 'UP', 'RUF']
line-length = 79
[tool.ruff.lint.isort]
known-first-party = ["OpenSSL", "tests"]