/
pyproject.toml
51 lines (40 loc) · 980 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
48
49
50
51
[tool.coverage.run]
branch = true
source = ["OpenSSL", "tests/"]
[tool.coverage.paths]
source = [
"src/OpenSSL",
".tox/*/lib/python*/site-packages/OpenSSL",
".tox/pypy/site-packages/OpenSSL",
]
[tool.coverage.report]
show_missing = true
[tool.mypy]
warn_unused_configs = true
follow_imports = "skip"
strict = true
exclude = ['SSL\.py$']
[[tool.mypy.overrides]]
module = "OpenSSL.crypto"
warn_return_any = false
disallow_any_expr = false
[[tool.mypy.overrides]]
module = "OpenSSL.rand"
warn_return_any = false
[[tool.mypy.overrides]]
module = "OpenSSL._util"
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"]