-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
78 lines (67 loc) · 1.45 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
[tool.poetry]
name = "bpt"
version = "0.0.0"
description = ""
authors = ["vector-of-bool <[email protected]>"]
license = "MPL-2.0"
packages = [
{ include = "bpt_ci", from = "tools/" },
]
[tool.poetry.dependencies]
python = "^3.7"
semver = "^2.13.0"
pytest = "^7.0.1"
pytest-xdist = "^2.1.0"
pytest-asyncio = "^0.14.0"
typing-extensions = "^4.0.1"
json5 = "^0.9.5"
distro = "^1.5.0"
dagon = "^0.9.3"
importlib-metadata = "^4.10.0"
yapf = "^0.32.0"
pylint = "^2.12.2"
Sphinx = "^4.4.0"
pyright = "^1.1.227"
sphinx-hoverxref = "^1.0.1"
rstcheck = "^3.3.1"
doc8 = "^0.10.1"
toml = "^0.10.2"
[tool.poetry.dev-dependencies]
# Only needed for development
rope = "^0.18.0"
sphinx-autobuild = "^2021.3.14"
[tool.poetry.scripts]
gen-msvs-vsc-task = "bpt_ci.msvs:generate_vsc_task"
bpt-audit-docrefs = "bpt_ci.docs:audit_docrefs_main"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.pyright]
include = ["tools/**"]
typeCheckingMode = "strict"
useLibraryCodeForTypes = true
reportMissingTypeStubs = false
reportMissingImports = true
[tool.doc8]
max_line_length = 81
[tool.pytest.ini_options]
junit_log_passing_tests = true
junit_logging = "all"
testpaths = [
"tests/"
]
[tool.yapf]
based_on_style = "pep8"
column_limit = 120
[tool.pylint.MASTER]
jobs = 10
persistent = true
disable = [
"C",
"too-few-public-methods",
"redefined-outer-name",
]
[tool.pylint.REPORTS]
reports = false
score = true
output-format = "colorized"