-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
61 lines (54 loc) · 1.41 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
[build-system]
requires = [
"setuptools>=42",
"wheel",
"setuptools_scm[toml]>=3.4"
]
build-backend = 'setuptools.build_meta'
[tool.setuptools_scm]
[tool.pytest.ini_options]
minversion = "6.0"
norecursedirs = ["venv", ".eggs"]
mock_use_standalone_module = true
[tool.coverage.run]
parallel = true
branch = true
source = ["keeper"]
[tool.coverage.paths]
source = ["keeper", ".tox/*/site-packages"]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:"
]
[tool.black]
line-length = 79
target-version = ['py37']
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
'''
# Use single-quoted strings so TOML treats the string like a Python r-string
# Multi-line strings are implicitly treated by black as regular expressions
[tool.isort]
include_trailing_comma = true
multi_line_output = 3
known_first_party = ["keeper", "tests"]
known_third_party = ["alembic", "boto3", "botocore", "celery", "click", "dateutil", "flask", "flask_accept", "flask_httpauth", "flask_migrate", "flask_sqlalchemy", "itsdangerous", "mock", "pkg_resources", "pytest", "requests", "responses", "setuptools", "sqlalchemy", "structlog", "werkzeug"]
skip = ["docs/conf.py"]