From 3374077542d80f33e047b7224cd5fa2c8f5fa10d Mon Sep 17 00:00:00 2001 From: Gernot Maier Date: Fri, 10 Jul 2026 10:33:09 +0200 Subject: [PATCH 1/2] Add towncrier --- CHANGELOG.md | 9 +++++++++ docs/changes/.gitkeep | 0 towncrier.toml | 24 ++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 CHANGELOG.md create mode 100644 docs/changes/.gitkeep create mode 100644 towncrier.toml diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..127ff4c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,9 @@ +# Changelog + +All notable changes to the Eventdisplay_AnalysisFiles_CTA project will be documented in this file. +Changes for upcoming releases can be found in the [docs/changes](docs/changes) directory. +Note that changes before release v1.12.0 are not documented here. + +This changelog is generated using [Towncrier](https://towncrier.readthedocs.io/). + + diff --git a/docs/changes/.gitkeep b/docs/changes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/towncrier.toml b/towncrier.toml new file mode 100644 index 0000000..bf09fb8 --- /dev/null +++ b/towncrier.toml @@ -0,0 +1,24 @@ +[tool.towncrier] +name = "Eventdisplay_AnalysisFiles_CTA" +directory = "docs/changes" +filename = "CHANGELOG.md" +underlines = [ "", "", "" ] +title_format = "## [{version}](https://github.com/Eventdisplay/Eventdisplay_AnalysisFiles_CTA/releases/tag/{version}) - {project_date}" +issue_format = "[#{issue}](https://github.com/Eventdisplay/Eventdisplay_AnalysisFiles_CTA/issues/{issue})" +start_string = "\n" + +[tool.towncrier.fragment.feature] +name = "New Feature" +showcontent = true + +[tool.towncrier.fragment.bugfix] +name = "Bugfixes" +showcontent = true + +[tool.towncrier.fragment.maintenance] +name = "Maintenance" +showcontent = true + +[tool.towncrier.fragment.doc] +name = "Documentation" +showcontent = true From 1a39352c1f264fe4df432e9b17c28dd9974eadbe Mon Sep 17 00:00:00 2001 From: Gernot Maier Date: Fri, 10 Jul 2026 10:35:05 +0200 Subject: [PATCH 2/2] cleanup --- .pre-commit-config.yaml | 10 +++++----- CITATION.cff | 10 ++-------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d052453..70300b2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,24 +1,24 @@ repos: # https://pycqa.github.io/isort/docs/configuration/black_compatibility.html#integration-with-pre-commit - repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 9.0.0a3 hooks: - id: isort args: ["--profile", "black", "--filter-files"] - repo: https://github.com/psf/black - rev: 24.10.0 + rev: 26.5.1 hooks: - id: black args: ["--line-length=100"] # https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html?highlight=other%20tools#flake8 - repo: https://github.com/PyCQA/flake8 - rev: 7.1.1 + rev: 7.3.0 hooks: - id: flake8 args: ["--max-line-length=100", "--extend-ignore=E203,E712"] # https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -26,7 +26,7 @@ repos: - id: check-shebang-scripts-are-executable # codespell - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.2 hooks: - id: codespell args: [ diff --git a/CITATION.cff b/CITATION.cff index 262311a..5c81bff 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -5,8 +5,8 @@ message: If you use this software, please cite it using these metadata. title: "Eventdisplay Analysis Files for CTA" abstract: "Parameter and configuration files for Eventdisplay analysis for CTA" doi: "https://doi.org/10.5281/zenodo.4263712" -version: 1.8.0 -date-released: 2024-12-18 +version: 1.13.0 +date-released: 2026-07-10 keywords: - "gamma-ray astronomy" - "astronomy software" @@ -22,12 +22,6 @@ authors: family-names: Maier affiliation: DESY orcid: https://orcid.org/0000-0001-9868-4700 -- given-names: Orel - family-names: Gueta - affiliation: DESY -- given-names: Elisa - family-names: Pueschel - affiliation: DESY references: - scope: "Additional material" type: article