| 1 |
[tool.towncrier] |
| 2 |
directory = "changes.d" |
| 3 |
name = "Cylc" |
| 4 |
package = "cylc.flow" |
| 5 |
filename = "CHANGES.md" |
| 6 |
template = "changes.d/changelog-template.jinja" |
| 7 |
underlines = ["", "", ""] |
| 8 |
title_format = "## __cylc-{version} (Released {project_date})__" |
| 9 |
issue_format = "[#{issue}](https://github.com/cylc/cylc-flow/pull/{issue})" |
| 10 |
ignore = ["changelog-template.jinja"] |
| 11 |
|
| 12 |
# These changelog sections will be shown in the defined order: |
| 13 |
[[tool.towncrier.type]] |
| 14 |
directory = "break" # NB this is just the filename not directory e.g. 123.break.md |
| 15 |
name = "⚠ Breaking Changes" |
| 16 |
showcontent = true |
| 17 |
[[tool.towncrier.type]] |
| 18 |
directory = "feat" |
| 19 |
name = "🚀 Enhancements" |
| 20 |
showcontent = true |
| 21 |
[[tool.towncrier.type]] |
| 22 |
directory = "fix" |
| 23 |
name = "🔧 Fixes" |
| 24 |
showcontent = true |
| 25 |
|
| 26 |
|
| 27 |
# Not mandated to use these tools, but if you do: |
| 28 |
|
| 29 |
[tool.ruff] |
| 30 |
line-length = 79 |
| 31 |
target-version = "py312" |
| 32 |
|
| 33 |
[tool.ruff.format] |
| 34 |
quote-style = "preserve" |
| 35 |
|
| 36 |
|
| 37 |
[tool.black] |
| 38 |
line-length = 79 |
| 39 |
target-version = ['py312'] |
| 40 |
skip-string-normalization = true |
| 41 |
|
| 42 |
|
| 43 |
[tool.isort] |
| 44 |
profile = "black" |
| 45 |
line_length = 79 |
| 46 |
force_grid_wrap = 2 |
| 47 |
lines_after_imports = 2 |
| 48 |
combine_as_imports = true |
| 49 |
force_sort_within_sections = true |
| 50 |
|
| 51 |
[tool.ruff.lint.isort] |
| 52 |
# force-grid-wrap = 2 # astral-sh/ruff#2601 |
| 53 |
lines-after-imports = 2 |
| 54 |
combine-as-imports = true |
| 55 |
force-sort-within-sections = true |