-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
40 lines (34 loc) · 1.09 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
[build-system]
requires = ["setuptools >= 40.6.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 120
target-version = ["py36"]
[tool.coverage.run]
branch = true
source = ["django_charting"]
[tool.coverage.paths]
source = ["src", ".tox/*/site-packages"]
[tool.coverage.report]
show_missing = true
skip_covered = true
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
line_length = 120
skip_glob = "*/migrations/*.py"
known_first_party = ["django_charting"]
known_third_party = ["django"]
[tool.pydocstyle]
# Explanation of rules that are ignored:
# D1: Missing docstring error codes
# D202: No blank lines allowed after function docstring
# D301: Use r”“” if any backslashes in a docstring
# D413: Missing blank line after last section
# Ignore D1 because not every function and class has a docstring
# Ignore D413 and D202 because they do not play nice with docformatter
# Ignore D301 until we know how we want to deal with backslashes in docstrings.
add_ignore = ["D1", "D202", "D301", "D413"]