| 1 |
[build-system] |
| 2 |
requires = [ |
| 3 |
"setuptools >= 46.4.0", |
| 4 |
] |
| 5 |
build-backend = "setuptools.build_meta" |
| 6 |
|
| 7 |
[tool.towncrier] |
| 8 |
package = "aiohttp" |
| 9 |
filename = "CHANGES.rst" |
| 10 |
directory = "CHANGES/" |
| 11 |
title_format = "{version} ({project_date})" |
| 12 |
template = "CHANGES/.TEMPLATE.rst" |
| 13 |
issue_format = "{issue}" |
| 14 |
|
| 15 |
# NOTE: The types are declared because: |
| 16 |
# NOTE: - there is no mechanism to override just the value of |
| 17 |
# NOTE: `tool.towncrier.type.misc.showcontent`; |
| 18 |
# NOTE: - and, we want to declare extra non-default types for |
| 19 |
# NOTE: clarity and flexibility. |
| 20 |
|
| 21 |
[[tool.towncrier.section]] |
| 22 |
path = "" |
| 23 |
|
| 24 |
[[tool.towncrier.type]] |
| 25 |
# Something we deemed an improper undesired behavior that got corrected |
| 26 |
# in the release to match pre-agreed expectations. |
| 27 |
directory = "bugfix" |
| 28 |
name = "Bug fixes" |
| 29 |
showcontent = true |
| 30 |
|
| 31 |
[[tool.towncrier.type]] |
| 32 |
# New behaviors, public APIs. That sort of stuff. |
| 33 |
directory = "feature" |
| 34 |
name = "Features" |
| 35 |
showcontent = true |
| 36 |
|
| 37 |
[[tool.towncrier.type]] |
| 38 |
# Declarations of future API removals and breaking changes in behavior. |
| 39 |
directory = "deprecation" |
| 40 |
name = "Deprecations (removal in next major release)" |
| 41 |
showcontent = true |
| 42 |
|
| 43 |
[[tool.towncrier.type]] |
| 44 |
# When something public gets removed in a breaking way. Could be |
| 45 |
# deprecated in an earlier release. |
| 46 |
directory = "breaking" |
| 47 |
name = "Removals and backward incompatible breaking changes" |
| 48 |
showcontent = true |
| 49 |
|
| 50 |
[[tool.towncrier.type]] |
| 51 |
# Notable updates to the documentation structure or build process. |
| 52 |
directory = "doc" |
| 53 |
name = "Improved documentation" |
| 54 |
showcontent = true |
| 55 |
|
| 56 |
[[tool.towncrier.type]] |
| 57 |
# Notes for downstreams about unobvious side effects and tooling. Changes |
| 58 |
# in the test invocation considerations and runtime assumptions. |
| 59 |
directory = "packaging" |
| 60 |
name = "Packaging updates and notes for downstreams" |
| 61 |
showcontent = true |
| 62 |
|
| 63 |
[[tool.towncrier.type]] |
| 64 |
# Stuff that affects the contributor experience. e.g. Running tests, |
| 65 |
# building the docs, setting up the development environment. |
| 66 |
directory = "contrib" |
| 67 |
name = "Contributor-facing changes" |
| 68 |
showcontent = true |
| 69 |
|
| 70 |
[[tool.towncrier.type]] |
| 71 |
# Changes that are hard to assign to any of the above categories. |
| 72 |
directory = "misc" |
| 73 |
name = "Miscellaneous internal changes" |
| 74 |
showcontent = true |
| 75 |
|
| 76 |
|
| 77 |
[tool.cibuildwheel] |
| 78 |
test-command = "" |
| 79 |
# don't build PyPy wheels, install from source instead |
| 80 |
skip = "pp*" |
| 81 |
|
| 82 |
[tool.codespell] |
| 83 |
skip = '.git,*.pdf,*.svg,Makefile,CONTRIBUTORS.txt,venvs,_build' |
| 84 |
ignore-words-list = 'te' |
| 85 |
|
| 86 |
[tool.slotscheck] |
| 87 |
# TODO(3.13): Remove aiohttp.helpers once https://github.com/python/cpython/pull/106771 |
| 88 |
# is available in all supported cpython versions |
| 89 |
exclude-modules = "(^aiohttp\\.helpers)" |