reqstool-python-decorators 0.0.8__tar.gz → 0.0.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/.github/workflows/build.yml +4 -4
  2. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/.github/workflows/lint.yml +3 -3
  3. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/.github/workflows/publish_gh_pages.yml +4 -4
  4. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/.github/workflows/publish_pypi_prod.yml +1 -1
  5. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/.github/workflows/publish_pypi_test.yml +1 -1
  6. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/PKG-INFO +1 -1
  7. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/src/reqstool_python_decorators/processors/decorator_processor.py +1 -1
  8. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/.github/workflows/check_release.yml +0 -0
  9. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/.gitignore +0 -0
  10. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/LICENSE +0 -0
  11. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/README.md +0 -0
  12. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/docs/antora-playbook.yml +0 -0
  13. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/docs/antora.yml +0 -0
  14. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/docs/modules/ROOT/nav.adoc +0 -0
  15. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/docs/modules/ROOT/pages/description.adoc +0 -0
  16. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/docs/modules/ROOT/pages/index.adoc +0 -0
  17. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/docs/modules/ROOT/pages/installation.adoc +0 -0
  18. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/docs/modules/ROOT/pages/licence.adoc +0 -0
  19. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/docs/modules/ROOT/pages/usage.adoc +0 -0
  20. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/pyproject.toml +0 -0
  21. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/src/reqstool_python_decorators/__init__.py +0 -0
  22. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/src/reqstool_python_decorators/decorators/decorators.py +0 -0
  23. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/src/reqstool_python_decorators/processors/__init__.py +0 -0
  24. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/tests/resources/test_decorators/requirements_decorators.py +0 -0
  25. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/tests/resources/test_decorators/svc_decorators.py +0 -0
  26. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/tests/unit/conftest.py +0 -0
  27. {reqstool_python_decorators-0.0.8 → reqstool_python_decorators-0.0.9}/tests/unit/reqstool_decorators/processors/test_processors.py +0 -0
@@ -19,13 +19,13 @@ jobs:
19
19
  runs-on: ubuntu-latest
20
20
  steps:
21
21
  - name: Check out source repository
22
- uses: actions/checkout@v4
22
+ uses: actions/checkout@v6
23
23
  with:
24
24
  fetch-depth: 0 #full history
25
25
  - name: Set up Python
26
- uses: actions/setup-python@v5
26
+ uses: actions/setup-python@v6
27
27
  with:
28
- python-version: "3.13"
28
+ python-version: "3.14"
29
29
  - name: Install dependencies
30
30
  run: pip install hatch
31
31
  - name: Run unit and integrations tests
@@ -34,7 +34,7 @@ jobs:
34
34
  run: hatch build
35
35
  # Upload artifacts for later use
36
36
  - name: Upload Artifacts
37
- uses: actions/upload-artifact@v4
37
+ uses: actions/upload-artifact@v6
38
38
  with:
39
39
  name: dist
40
40
  path: dist/
@@ -8,11 +8,11 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
  steps:
10
10
  - name: Check out source repository
11
- uses: actions/checkout@v4
11
+ uses: actions/checkout@v6
12
12
  - name: Set up Python
13
- uses: actions/setup-python@v5
13
+ uses: actions/setup-python@v6
14
14
  with:
15
- python-version: "3.13"
15
+ python-version: "3.14"
16
16
  - name: Install pip package(s)
17
17
  run: pip install hatch
18
18
  - name: Run black formatter check
@@ -23,13 +23,13 @@ jobs:
23
23
  url: ${{ steps.deployment.outputs.page_url }}
24
24
  steps:
25
25
  - name: Checkout repository
26
- uses: actions/checkout@v4
26
+ uses: actions/checkout@v6
27
27
  - name: Configure Pages
28
28
  uses: actions/configure-pages@v5
29
29
  - name: Install Node.js
30
- uses: actions/setup-node@v4
30
+ uses: actions/setup-node@v6
31
31
  with:
32
- node-version: "22"
32
+ node-version: "24"
33
33
  - name: Install Antora
34
34
  run: npm i antora
35
35
  - name: Install Asciidoctor Kroki extension
@@ -39,7 +39,7 @@ jobs:
39
39
  - name: Create site folders
40
40
  run: mkdir -p docs/build/site
41
41
  - name: Upload Artifacts
42
- uses: actions/upload-pages-artifact@v3
42
+ uses: actions/upload-pages-artifact@v4
43
43
  with:
44
44
  path: docs/build/site
45
45
  - name: Deploy to GitHub Pages
@@ -26,7 +26,7 @@ jobs:
26
26
  steps:
27
27
  # Download artifacts from the build job
28
28
  - name: Download Artifacts
29
- uses: actions/download-artifact@v4
29
+ uses: actions/download-artifact@v7
30
30
  with:
31
31
  name: dist
32
32
  path: dist
@@ -23,7 +23,7 @@ jobs:
23
23
  steps:
24
24
  # Download artifacts from the build job
25
25
  - name: Download Artifacts
26
- uses: actions/download-artifact@v4
26
+ uses: actions/download-artifact@v7
27
27
  with:
28
28
  name: dist
29
29
  path: dist
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reqstool-python-decorators
3
- Version: 0.0.8
3
+ Version: 0.0.9
4
4
  Summary: Reqstool Python Decorators
5
5
  Project-URL: Source, https://github.com/Luftfartsverket/reqstool-python-decorators.git
6
6
  Author-email: LFV SYSDEV <sysdev@lfv.com>
@@ -93,7 +93,7 @@ class DecoratorProcessor:
93
93
  for decorator_node in getattr(node, "decorator_list", []):
94
94
  if isinstance(decorator_node, ast.Call) and isinstance(decorator_node.func, ast.Name):
95
95
  decorator_name = decorator_node.func.id
96
- args = [arg.s for arg in decorator_node.args if isinstance(arg, ast.Constant)]
96
+ args = [arg.value for arg in decorator_node.args if isinstance(arg, ast.Constant)]
97
97
  decorators_info.append({"name": decorator_name, "args": args})
98
98
 
99
99
  if any(decorator_info["name"] in decorator_names for decorator_info in decorators_info):