2018-06-23 09:50:49 +00:00
|
|
|
[build-system]
|
2019-02-09 17:36:30 +00:00
|
|
|
requires = ["setuptools>=40.6.0", "wheel"]
|
|
|
|
build-backend = "setuptools.build_meta"
|
2018-06-23 09:50:49 +00:00
|
|
|
|
|
|
|
|
2020-01-06 08:14:24 +00:00
|
|
|
[tool.coverage.run]
|
|
|
|
parallel = true
|
|
|
|
branch = true
|
|
|
|
source = ["attr"]
|
|
|
|
|
|
|
|
[tool.coverage.paths]
|
|
|
|
source = ["src", ".tox/*/site-packages"]
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
show_missing = true
|
2020-11-04 10:02:15 +00:00
|
|
|
exclude_lines = [
|
|
|
|
"pragma: no cover",
|
|
|
|
# PyPy is unacceptably slow under coverage.
|
|
|
|
"if PYPY:",
|
|
|
|
]
|
2020-01-06 08:14:24 +00:00
|
|
|
|
|
|
|
|
2018-06-10 17:40:07 +00:00
|
|
|
[tool.black]
|
|
|
|
line-length = 79
|
|
|
|
|
|
|
|
|
2020-08-25 07:54:28 +00:00
|
|
|
[tool.interrogate]
|
|
|
|
verbose = 2
|
|
|
|
fail-under = 100
|
|
|
|
whitelist-regex = ["test_.*"]
|
|
|
|
|
|
|
|
|
2019-10-17 08:31:11 +00:00
|
|
|
[tool.isort]
|
2020-09-18 08:02:51 +00:00
|
|
|
profile = "attrs"
|
2019-10-17 08:31:11 +00:00
|
|
|
|
|
|
|
|
2017-08-20 05:58:08 +00:00
|
|
|
[tool.towncrier]
|
|
|
|
package = "attr"
|
|
|
|
package_dir = "src"
|
|
|
|
filename = "CHANGELOG.rst"
|
2017-12-27 12:32:32 +00:00
|
|
|
template = "changelog.d/towncrier_template.rst"
|
2017-08-20 05:58:08 +00:00
|
|
|
issue_format = "`#{issue} <https://github.com/python-attrs/attrs/issues/{issue}>`_"
|
|
|
|
directory = "changelog.d"
|
|
|
|
title_format = "{version} ({project_date})"
|
|
|
|
underlines = ["-", "^"]
|
|
|
|
|
|
|
|
[[tool.towncrier.section]]
|
|
|
|
path = ""
|
|
|
|
|
|
|
|
[[tool.towncrier.type]]
|
|
|
|
directory = "breaking"
|
|
|
|
name = "Backward-incompatible Changes"
|
|
|
|
showcontent = true
|
|
|
|
|
|
|
|
[[tool.towncrier.type]]
|
|
|
|
directory = "deprecation"
|
|
|
|
name = "Deprecations"
|
|
|
|
showcontent = true
|
|
|
|
|
|
|
|
[[tool.towncrier.type]]
|
|
|
|
directory = "change"
|
|
|
|
name = "Changes"
|
|
|
|
showcontent = true
|