From 04f1c9955f580ffecafdfdd1d8d3a6e20ac774f8 Mon Sep 17 00:00:00 2001 From: Tim Pillinger <26465611+wxtim@users.noreply.github.com> Date: Mon, 17 Jun 2024 15:19:35 +0100 Subject: [PATCH] Give Cylc Lint it's own chunk of changelog --- changes.d/5873.feat.md | 3 --- changes.d/5873.lint.md | 2 ++ changes.d/5879.feat.md | 1 - changes.d/5879.lint.md | 1 + changes.d/5956.break.md | 1 - changes.d/5956.lint.md | 1 + pyproject.toml | 4 ++++ 7 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 changes.d/5873.feat.md create mode 100644 changes.d/5873.lint.md delete mode 100644 changes.d/5879.feat.md create mode 100644 changes.d/5879.lint.md delete mode 100644 changes.d/5956.break.md create mode 100644 changes.d/5956.lint.md diff --git a/changes.d/5873.feat.md b/changes.d/5873.feat.md deleted file mode 100644 index 1f21646918e..00000000000 --- a/changes.d/5873.feat.md +++ /dev/null @@ -1,3 +0,0 @@ -`cylc lint` improvements: -- Allow use of `#noqa: S001` comments to skip checks for a single line. -- Stop `cylc lint` objecting to `%include ` syntax. diff --git a/changes.d/5873.lint.md b/changes.d/5873.lint.md new file mode 100644 index 00000000000..36654c1bb0b --- /dev/null +++ b/changes.d/5873.lint.md @@ -0,0 +1,2 @@ +Allow use of `#noqa: S001` comments to skip checks for a single line. +Stop `cylc lint` objecting to `%include ` syntax. diff --git a/changes.d/5879.feat.md b/changes.d/5879.feat.md deleted file mode 100644 index be4c7e14e94..00000000000 --- a/changes.d/5879.feat.md +++ /dev/null @@ -1 +0,0 @@ -`cylc lint` now warns of use of old templated items such as `%(suite)s` diff --git a/changes.d/5879.lint.md b/changes.d/5879.lint.md new file mode 100644 index 00000000000..7d7620df6dc --- /dev/null +++ b/changes.d/5879.lint.md @@ -0,0 +1 @@ +Warns of use of old templated items such as `%(suite)s` diff --git a/changes.d/5956.break.md b/changes.d/5956.break.md deleted file mode 100644 index 642c805814d..00000000000 --- a/changes.d/5956.break.md +++ /dev/null @@ -1 +0,0 @@ -`cylc lint`: deprecated `[cylc-lint]` section in favour of `[tool.cylc.lint]` in `pyproject.toml` diff --git a/changes.d/5956.lint.md b/changes.d/5956.lint.md new file mode 100644 index 00000000000..88e8fc70c80 --- /dev/null +++ b/changes.d/5956.lint.md @@ -0,0 +1 @@ +Deprecated `[cylc-lint]` section in favour of `[tool.cylc.lint]` in `pyproject.toml` diff --git a/pyproject.toml b/pyproject.toml index 6bbfe0507a1..01cfae5e64f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,3 +21,7 @@ showcontent = true directory = "fix" name = "🔧 Fixes" showcontent = true +[[tool.towncrier.type]] +directory = "lint" +name = "✅ Lint" +showcontent = true