From d253ce8664155120eb7a396e27be233a22dadb49 Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Thu, 26 Feb 2026 02:40:58 +0100 Subject: [PATCH] fix: update repository URLs and badges to reflect new ownership --- README.md | 10 +++++----- docs/antora-playbook.yml | 2 +- pyproject.toml | 18 ++++++------------ .../processors/decorator_processor.py | 2 +- .../processors/test_processors.py | 2 +- 5 files changed, 14 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 10f098d..af01ce6 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -[![Commit Activity](https://img.shields.io/github/commit-activity/m/Luftfartsverket/reqstool-python-decorators?label=commits&style=for-the-badge)](https://github.com/Luftfartsverket/reqstool-python-decorators/pulse) -[![GitHub Issues](https://img.shields.io/github/issues/Luftfartsverket/reqstool-python-decorators?style=for-the-badge&logo=github)](https://github.com/Luftfartsverket/reqstool-python-decorators/issues) -[![License](https://img.shields.io/github/license/Luftfartsverket/reqstool-python-decorators?style=for-the-badge&logo=opensourceinitiative)](https://opensource.org/license/mit/) -[![Build](https://img.shields.io/github/actions/workflow/status/Luftfartsverket/reqstool-python-decorators/build.yml?style=for-the-badge&logo=github)](https://github.com/Luftfartsverket/reqstool-python-decorators/actions/workflows/build.yml) -[![Static Badge](https://img.shields.io/badge/Documentation-blue?style=for-the-badge&link=docs)](https://luftfartsverket.github.io/reqstool-python-decorators/reqstool-python-decorators/0.0.1/index.html) +[![Commit Activity](https://img.shields.io/github/commit-activity/m/reqstool/reqstool-python-decorators?label=commits&style=for-the-badge)](https://github.com/reqstool/reqstool-python-decorators/pulse) +[![GitHub Issues](https://img.shields.io/github/issues/reqstool/reqstool-python-decorators?style=for-the-badge&logo=github)](https://github.com/reqstool/reqstool-python-decorators/issues) +[![License](https://img.shields.io/github/license/reqstool/reqstool-python-decorators?style=for-the-badge&logo=opensourceinitiative)](https://opensource.org/license/mit/) +[![Build](https://img.shields.io/github/actions/workflow/status/reqstool/reqstool-python-decorators/build.yml?style=for-the-badge&logo=github)](https://github.com/reqstool/reqstool-python-decorators/actions/workflows/build.yml) +[![Static Badge](https://img.shields.io/badge/Documentation-blue?style=for-the-badge&link=docs)](https://reqstool.github.io/reqstool-python-decorators/reqstool-python-decorators/0.0.1/index.html) # Reqstool Python Decorators diff --git a/docs/antora-playbook.yml b/docs/antora-playbook.yml index 44ebcd8..06fa073 100644 --- a/docs/antora-playbook.yml +++ b/docs/antora-playbook.yml @@ -2,7 +2,7 @@ site: title: Reqstool Python Decorators Documentation - url: https://github.com/Luftfartsverket/reqstool-python-decorators.git + url: https://github.com/reqstool/reqstool-python-decorators.git start_page: reqstool-python-decorators::index.adoc content: diff --git a/pyproject.toml b/pyproject.toml index efc0482..83060db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,28 +10,22 @@ testpaths = ["tests/unit"] [project] name = "reqstool-python-decorators" dynamic = ["version"] -authors = [{ name = "LFV SYSDEV", email = "sysdev@lfv.com" }] +authors = [{ name = "reqstool" }] description = "Reqstool Python Decorators" readme = "README.md" - -homepage = "https://github.com/Luftfartsverket/reqstool-python-decorators.git" -repository = "https://github.com/Luftfartsverket/reqstool-python-decorators.git" -documentation = "hhttps://github.com/Luftfartsverket/reqstool-python-decorators.git" - -urls.Source = "https://github.com/Luftfartsverket/reqstool-python-decorators.git" - +requires-python = ">=3.10" classifiers = [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Operating System :: OS Independent", "Development Status :: 4 - Beta", ] - -requires-python = ">=3.10" - dependencies = ["ruamel.yaml>=0.18.5"] -packages = [{ include = "reqstool_python_decorators", from = "src" }] +[project.urls] +Homepage = "https://reqstool.github.io" +Source = "https://github.com/reqstool/reqstool-python-decorators.git" +Documentation = "https://github.com/reqstool/reqstool-python-decorators.git" [project.scripts] # section needed for poetry convertion diff --git a/src/reqstool_python_decorators/processors/decorator_processor.py b/src/reqstool_python_decorators/processors/decorator_processor.py index bc53e9c..6c67332 100644 --- a/src/reqstool_python_decorators/processors/decorator_processor.py +++ b/src/reqstool_python_decorators/processors/decorator_processor.py @@ -32,7 +32,7 @@ class DecoratorProcessor: decorators_to_search = ["Requirements", "SVCs"] - yaml_language_server = "# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json\n" # noqa: E501 + yaml_language_server = "# yaml-language-server: $schema=https://raw.githubusercontent.com/reqstool/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json\n" # noqa: E501 def __init__(self, *args, **kwargs): """ diff --git a/tests/unit/reqstool_decorators/processors/test_processors.py b/tests/unit/reqstool_decorators/processors/test_processors.py index dbd9dac..fa74a59 100644 --- a/tests/unit/reqstool_decorators/processors/test_processors.py +++ b/tests/unit/reqstool_decorators/processors/test_processors.py @@ -37,7 +37,7 @@ def test_map_type_unknown_type(process_decorator_instance: DecoratorProcessor): def test_write_to_yaml(process_decorator_instance: DecoratorProcessor, tmp_path): - yaml_language_server = "# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json\n" # noqa: E501 + yaml_language_server = "# yaml-language-server: $schema=https://raw.githubusercontent.com/reqstool/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json\n" # noqa: E501 test_output_file = tmp_path / "test_output.yml" sample_formatted_data = """