2018-06-25 09:42:27 -04:00
|
|
|
[tool.towncrier]
|
|
|
|
package = "synapse"
|
2018-07-19 07:25:47 -04:00
|
|
|
filename = "CHANGES.md"
|
2018-06-25 09:42:27 -04:00
|
|
|
directory = "changelog.d"
|
2018-08-09 05:19:30 -04:00
|
|
|
issue_format = "[\\#{issue}](https://github.com/matrix-org/synapse/issues/{issue})"
|
2018-07-19 07:25:47 -04:00
|
|
|
|
|
|
|
[[tool.towncrier.type]]
|
|
|
|
directory = "feature"
|
|
|
|
name = "Features"
|
|
|
|
showcontent = true
|
|
|
|
|
|
|
|
[[tool.towncrier.type]]
|
|
|
|
directory = "bugfix"
|
|
|
|
name = "Bugfixes"
|
|
|
|
showcontent = true
|
|
|
|
|
2019-07-12 12:27:07 -04:00
|
|
|
[[tool.towncrier.type]]
|
|
|
|
directory = "docker"
|
|
|
|
name = "Updates to the Docker image"
|
|
|
|
showcontent = true
|
|
|
|
|
2018-07-19 07:25:47 -04:00
|
|
|
[[tool.towncrier.type]]
|
|
|
|
directory = "doc"
|
|
|
|
name = "Improved Documentation"
|
|
|
|
showcontent = true
|
|
|
|
|
|
|
|
[[tool.towncrier.type]]
|
|
|
|
directory = "removal"
|
|
|
|
name = "Deprecations and Removals"
|
|
|
|
showcontent = true
|
|
|
|
|
|
|
|
[[tool.towncrier.type]]
|
|
|
|
directory = "misc"
|
|
|
|
name = "Internal Changes"
|
|
|
|
showcontent = true
|
2019-06-20 05:32:02 -04:00
|
|
|
|
|
|
|
[tool.black]
|
2021-12-23 23:22:15 -05:00
|
|
|
target-version = ['py37', 'py38', 'py39', 'py310']
|
2019-06-20 05:32:02 -04:00
|
|
|
exclude = '''
|
|
|
|
|
|
|
|
(
|
|
|
|
/(
|
|
|
|
\.eggs # exclude a few common directories in the
|
|
|
|
| \.git # root of the project
|
|
|
|
| \.tox
|
|
|
|
| \.venv
|
2019-07-08 07:53:33 -04:00
|
|
|
| \.env
|
|
|
|
| env
|
2019-06-20 05:32:02 -04:00
|
|
|
| _build
|
|
|
|
| _trial_temp.*
|
|
|
|
| build
|
|
|
|
| dist
|
|
|
|
| debian
|
|
|
|
)/
|
|
|
|
)
|
|
|
|
'''
|
2022-02-22 06:30:19 -05:00
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
line_length = 88
|
|
|
|
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "TWISTED", "FIRSTPARTY", "TESTS", "LOCALFOLDER"]
|
|
|
|
default_section = "THIRDPARTY"
|
|
|
|
known_first_party = ["synapse"]
|
|
|
|
known_tests = ["tests"]
|
|
|
|
known_twisted = ["twisted", "OpenSSL"]
|
|
|
|
multi_line_output = 3
|
|
|
|
include_trailing_comma = true
|
|
|
|
combine_as_imports = true
|
|
|
|
|