reqstool-python-decorators 0.0.5__tar.gz → 0.0.7__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 (28) hide show
  1. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/.github/workflows/build.yml +3 -3
  2. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/.github/workflows/lint.yml +3 -3
  3. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/.github/workflows/publish_gh_pages.yml +1 -1
  4. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/.github/workflows/publish_pypi_test.yml +3 -0
  5. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/PKG-INFO +2 -2
  6. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/pyproject.toml +10 -7
  7. reqstool_python_decorators-0.0.5/.github/dependabot.yml +0 -15
  8. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/.github/workflows/check_release.yml +0 -0
  9. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/.github/workflows/publish_pypi_prod.yml +0 -0
  10. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/.gitignore +0 -0
  11. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/LICENSE +0 -0
  12. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/README.md +0 -0
  13. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/docs/antora-playbook.yml +0 -0
  14. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/docs/antora.yml +0 -0
  15. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/docs/modules/ROOT/nav.adoc +0 -0
  16. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/docs/modules/ROOT/pages/description.adoc +0 -0
  17. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/docs/modules/ROOT/pages/index.adoc +0 -0
  18. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/docs/modules/ROOT/pages/installation.adoc +0 -0
  19. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/docs/modules/ROOT/pages/licence.adoc +0 -0
  20. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/docs/modules/ROOT/pages/usage.adoc +0 -0
  21. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/src/reqstool_python_decorators/__init__.py +0 -0
  22. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/src/reqstool_python_decorators/decorators/decorators.py +0 -0
  23. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/src/reqstool_python_decorators/processors/__init__.py +0 -0
  24. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/src/reqstool_python_decorators/processors/decorator_processor.py +0 -0
  25. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/tests/resources/test_decorators/requirements_decorators.py +0 -0
  26. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/tests/resources/test_decorators/svc_decorators.py +0 -0
  27. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/tests/unit/conftest.py +0 -0
  28. {reqstool_python_decorators-0.0.5 → reqstool_python_decorators-0.0.7}/tests/unit/reqstool_decorators/processors/test_processors.py +0 -0
@@ -1,6 +1,6 @@
1
1
  name: Build PyPI
2
2
  on:
3
- workflow_call:
3
+ workflow_call:
4
4
  workflow_dispatch:
5
5
  push:
6
6
  pull_request:
@@ -25,11 +25,11 @@ jobs:
25
25
  - name: Set up Python
26
26
  uses: actions/setup-python@v5
27
27
  with:
28
- python-version: "3.10"
28
+ python-version: "3.13"
29
29
  - name: Install dependencies
30
30
  run: pip install hatch
31
31
  - name: Run unit and integrations tests
32
- run: hatch run test:pytest --cov=reqstool-python-decorators --cov-report=xml --cov-report=html
32
+ run: hatch run dev:pytest --cov=reqstool-python-decorators --cov-report=xml --cov-report=html
33
33
  - name: Build project
34
34
  run: hatch build
35
35
  # Upload artifacts for later use
@@ -12,10 +12,10 @@ jobs:
12
12
  - name: Set up Python
13
13
  uses: actions/setup-python@v5
14
14
  with:
15
- python-version: "3.10"
15
+ python-version: "3.13"
16
16
  - name: Install pip package(s)
17
17
  run: pip install hatch
18
18
  - name: Run black formatter check
19
- run: hatch run lint:black --check --verbose src tests
19
+ run: hatch run dev:black --check --verbose src tests
20
20
  - name: Run flake8 linter
21
- run: hatch run lint:flake8
21
+ run: hatch run dev:flake8
@@ -29,7 +29,7 @@ jobs:
29
29
  - name: Install Node.js
30
30
  uses: actions/setup-node@v4
31
31
  with:
32
- node-version: "18"
32
+ node-version: "22"
33
33
  - name: Install Antora
34
34
  run: npm i antora
35
35
  - name: Install Asciidoctor Kroki extension
@@ -2,6 +2,9 @@ name: Build and publish to Test PyPI
2
2
 
3
3
  on:
4
4
  workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - main
5
8
 
6
9
  jobs:
7
10
  build:
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: reqstool-python-decorators
3
- Version: 0.0.5
3
+ Version: 0.0.7
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>
@@ -24,7 +24,7 @@ classifiers = [
24
24
  "License :: OSI Approved :: MIT License",
25
25
  "Programming Language :: Python :: 3",
26
26
  "Operating System :: OS Independent",
27
- "Development Status :: 4 - Beta"
27
+ "Development Status :: 4 - Beta",
28
28
  ]
29
29
 
30
30
  requires-python = ">=3.10"
@@ -42,12 +42,15 @@ source = "vcs"
42
42
  [tool.hatch.version.raw-options]
43
43
  local_scheme = "no-local-version"
44
44
 
45
- [tool.hatch.envs.test]
46
- dependencies = ["pytest==8.0.0", "pytest-sugar==0.9.7", "pytest-cov==4.1.0"]
47
-
48
- [tool.hatch.envs.lint]
49
- detached = true
50
- dependencies = ["black==24.1.1", "flake8==7.0.0", "flake8-pyproject==1.2.3"]
45
+ [tool.hatch.envs.dev]
46
+ dependencies = [
47
+ "pytest==8.3.5",
48
+ "pytest-sugar==1.0.0",
49
+ "pytest-cov==6.1.0",
50
+ "black==25.1.0",
51
+ "flake8==7.2.0",
52
+ "flake8-pyproject==1.2.3",
53
+ ]
51
54
 
52
55
  [tool.black]
53
56
  line-length = 120
@@ -1,15 +0,0 @@
1
- # To get started with Dependabot version updates, you'll need to specify which
2
- # package ecosystems to update and where the package manifests are located.
3
- # Please see the documentation for all configuration options:
4
- # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
-
6
- version: 2
7
- updates:
8
- - package-ecosystem: "pip" # See documentation for possible values
9
- directory: "/" # Location of package manifests
10
- schedule:
11
- interval: "daily"
12
- - package-ecosystem: "github-actions"
13
- directory: "/"
14
- schedule:
15
- interval: "daily"