forked from callowayproject/cookie-composer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
90 lines (82 loc) · 1.89 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
[build-system]
requires = [
"setuptools >= 40.9.0",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
branch = true
omit = ["**/test_*.py"]
[tool.coverage.report]
omit = [
"*site-packages*",
"*tests*",
"*.tox*",
"**/_vendor/**",
]
show_missing = true
exclude_lines = [
"raise NotImplementedError",
"pragma: no-coverage",
]
[tool.pytest.ini_options]
addopts = [
"--cov=cookie_composer",
"--cov-branch",
"--cov-report=term",
"--cov-report=html",
]
norecursedirs = [
".*",
"build",
"dist",
"{arch}",
"*.egg",
"venv",
"requirements*",
"lib",
]
python_files = "test*.py"
[tool.interrogate]
ignore-init-method = true
ignore-init-module = false
ignore-magic = true
ignore-semiprivate = false
ignore-private = false
ignore-property-decorators = false
ignore-module = false
ignore-nested-functions = true
ignore-nested-classes = true
ignore-setters = false
fail-under = 95
exclude = ["setup.py", "docs", "build"]
ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"]
verbose = 0
quiet = false
whitelist-regex = []
color = true
[tool.isort]
py_version = "38"
force_grid_wrap = 0
use_parentheses = true
line_length = 88
known_typing = ["typing", "types", "typing_extensions", "mypy", "mypy_extensions"]
sections = ["FUTURE", "TYPING", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
include_trailing_comma = true
profile = "black"
multi_line_output = 3
indent = 4
color_output = true
[tool.pydocstyle]
convention = "google"
add-ignore = ["D107", "D200", "D212", "D214"]
match = "(?!test_).*\\.py"
[tool.vendoring]
destination = "cookie_composer/_vendor/"
requirements = "cookie_composer/_vendor/vendor.txt"
namespace = "cookie_composer._vendor"
protected-files = ["__init__.py", "vendor.txt"]
[tool.vendoring.transformations]
substitute = [
{ match='cookiecutter\.(?!json)', replace="cookie_composer._vendor.cookiecutter." },
]