-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
74 lines (66 loc) · 1.32 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
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.mypy]
files = ["tests/", "pymusas/", "scripts/"]
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = false
no_implicit_optional = true
no_strict_optional = false
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
allow_untyped_globals = false
allow_redefinition = false
local_partial_types = true
strict_equality = true
[[tool.mypy.overrides]]
module = [
'urllib3.*',
'tqdm.*',
'pydoc_markdown.*',
'spacy.vocab',
'srsly.*'
]
ignore_missing_imports = true
[tool.isort]
known_first_party = "pymusas"
known_third_party = [
"spacy",
"srsly",
"tqdm",
"requests",
"pytest",
"responses",
"pydoc_markdown"
]
force_sort_within_sections = true
multi_line_output = 3
use_parentheses = true
force_grid_wrap = 0
include_trailing_comma = true
lines_after_imports = 2
line_length = 119
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests"
]
[tool.coverage.run]
branch = true
source = [
"pymusas"
]
command_line = "-m pytest"
[tool.coverage.report]
show_missing = true
[tool.coverage.json]
output = "coverage.json"
[tool.coverage.xml]
output = "coverage.xml"