antsibull-nox 0.0.1__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.
- antsibull_nox-0.0.1/.flake8 +13 -0
- antsibull_nox-0.0.1/.github/dependabot.yml +15 -0
- antsibull_nox-0.0.1/.github/patchback.yml +9 -0
- antsibull_nox-0.0.1/.github/workflows/nox.yml +78 -0
- antsibull_nox-0.0.1/.gitignore +136 -0
- antsibull_nox-0.0.1/.pylintrc.automated +496 -0
- antsibull_nox-0.0.1/.readthedocs.yml +14 -0
- antsibull_nox-0.0.1/CHANGELOG.md +14 -0
- antsibull_nox-0.0.1/CHANGELOG.md.license +3 -0
- antsibull_nox-0.0.1/CHANGELOG.rst +13 -0
- antsibull_nox-0.0.1/CHANGELOG.rst.license +3 -0
- antsibull_nox-0.0.1/LICENSE +674 -0
- antsibull_nox-0.0.1/LICENSES/GPL-3.0-or-later.txt +1 -0
- antsibull_nox-0.0.1/PKG-INFO +143 -0
- antsibull_nox-0.0.1/README.md +81 -0
- antsibull_nox-0.0.1/REUSE.toml +7 -0
- antsibull_nox-0.0.1/action.yml +57 -0
- antsibull_nox-0.0.1/changelogs/changelog.yaml +9 -0
- antsibull_nox-0.0.1/changelogs/changelog.yaml.license +3 -0
- antsibull_nox-0.0.1/changelogs/config.yaml +50 -0
- antsibull_nox-0.0.1/changelogs/fragments/.keep +0 -0
- antsibull_nox-0.0.1/codecov.yml +10 -0
- antsibull_nox-0.0.1/docs/changelog.md +9 -0
- antsibull_nox-0.0.1/docs/changelog.md.license +3 -0
- antsibull_nox-0.0.1/docs/community.md +23 -0
- antsibull_nox-0.0.1/docs/index.md +39 -0
- antsibull_nox-0.0.1/docs-requirements.txt +6 -0
- antsibull_nox-0.0.1/mkdocs.yml +34 -0
- antsibull_nox-0.0.1/noxfile.py +261 -0
- antsibull_nox-0.0.1/pyproject.toml +107 -0
- antsibull_nox-0.0.1/src/antsibull_nox/__init__.py +17 -0
- antsibull_nox-0.0.1/src/antsibull_nox/py.typed +0 -0
- antsibull_nox-0.0.1/src/antsibull_nox/sessions.py +491 -0
- antsibull_nox-0.0.1/tests/.keep +0 -0
- antsibull_nox-0.0.1/tests/test_dummy.py +19 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or
|
2
|
+
# https://www.gnu.org/licenses/gpl-3.0.txt)
|
3
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
4
|
+
# SPDX-FileCopyrightText: 2023 Maxwell G <maxwell@gtmx.me>
|
5
|
+
|
6
|
+
[flake8]
|
7
|
+
count = True
|
8
|
+
# reduce to 10 later:
|
9
|
+
max-complexity = 20
|
10
|
+
max-line-length = 100
|
11
|
+
statistics = True
|
12
|
+
# These rules conflict with black
|
13
|
+
ignore = E203, W503
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
# Copyright (c) Ansible Project
|
3
|
+
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
4
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
5
|
+
|
6
|
+
version: 2
|
7
|
+
updates:
|
8
|
+
- package-ecosystem: "github-actions"
|
9
|
+
directory: "/"
|
10
|
+
schedule:
|
11
|
+
interval: "weekly"
|
12
|
+
groups:
|
13
|
+
ci:
|
14
|
+
patterns:
|
15
|
+
- "*"
|
@@ -0,0 +1,9 @@
|
|
1
|
+
---
|
2
|
+
# Copyright (c) Ansible Project
|
3
|
+
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
4
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
5
|
+
|
6
|
+
backport_branch_prefix: patchback/backports/
|
7
|
+
backport_label_prefix: backport-
|
8
|
+
target_branch_prefix: stable-
|
9
|
+
...
|
@@ -0,0 +1,78 @@
|
|
1
|
+
---
|
2
|
+
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or
|
3
|
+
# https://www.gnu.org/licenses/gpl-3.0.txt)
|
4
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
5
|
+
# SPDX-FileCopyrightText: 2023 Maxwell G <maxwell@gtmx.me
|
6
|
+
|
7
|
+
name: nox
|
8
|
+
'on':
|
9
|
+
push:
|
10
|
+
branches: [main]
|
11
|
+
pull_request:
|
12
|
+
branches: [main]
|
13
|
+
# Run once per week (Monday at 03:30 UTC)
|
14
|
+
schedule:
|
15
|
+
- cron: '30 3 * * 1'
|
16
|
+
workflow_dispatch:
|
17
|
+
|
18
|
+
env:
|
19
|
+
FORCE_COLOR: "1"
|
20
|
+
|
21
|
+
jobs:
|
22
|
+
nox:
|
23
|
+
runs-on: ubuntu-latest
|
24
|
+
defaults:
|
25
|
+
run:
|
26
|
+
working-directory: antsibull-nox
|
27
|
+
strategy:
|
28
|
+
fail-fast: false
|
29
|
+
matrix:
|
30
|
+
include:
|
31
|
+
- session: test
|
32
|
+
python-versions: "3.9, 3.10, 3.11, 3.12, 3.13"
|
33
|
+
codecov: true
|
34
|
+
packages: ""
|
35
|
+
|
36
|
+
- session: lint
|
37
|
+
python-versions: "3.13"
|
38
|
+
codecov: false
|
39
|
+
packages: ""
|
40
|
+
name: "Run nox ${{ matrix.session }} session"
|
41
|
+
steps:
|
42
|
+
- name: Check out antsibull-nox
|
43
|
+
uses: actions/checkout@v4
|
44
|
+
with:
|
45
|
+
path: antsibull-nox
|
46
|
+
persist-credentials: false
|
47
|
+
- name: Check out dependent project antsibull-fileutils
|
48
|
+
uses: actions/checkout@v4
|
49
|
+
with:
|
50
|
+
repository: ansible-community/antsibull-fileutils
|
51
|
+
path: antsibull-fileutils
|
52
|
+
persist-credentials: false
|
53
|
+
- name: Install extra packages
|
54
|
+
if: "matrix.packages != ''"
|
55
|
+
run: |
|
56
|
+
sudo apt-get install -y ${{ matrix.packages }}
|
57
|
+
- name: Setup nox
|
58
|
+
uses: wntrblm/nox@2025.02.09
|
59
|
+
with:
|
60
|
+
python-versions: "${{ matrix.python-versions }}"
|
61
|
+
- name: Set up nox environments
|
62
|
+
run: |
|
63
|
+
nox -v -e "${{ matrix.session }}" ${{ matrix.codecov && 'coverage' || '' }} --install-only
|
64
|
+
- name: "Run nox -e ${{ matrix.session }}"
|
65
|
+
run: |
|
66
|
+
nox -v -e "${{ matrix.session }}" --reuse-existing-virtualenvs --no-install
|
67
|
+
- name: Report coverage
|
68
|
+
if: ${{ matrix.codecov }}
|
69
|
+
run: |
|
70
|
+
nox -v -e coverage --reuse-existing-virtualenvs --no-install
|
71
|
+
- name: Upload coverage
|
72
|
+
if: ${{ matrix.codecov }}
|
73
|
+
uses: codecov/codecov-action@v5
|
74
|
+
with:
|
75
|
+
working-directory: antsibull-nox
|
76
|
+
name: "${{ matrix.session }}"
|
77
|
+
env:
|
78
|
+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
@@ -0,0 +1,136 @@
|
|
1
|
+
# Copyright (c) Ansible Project
|
2
|
+
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
3
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
4
|
+
|
5
|
+
# Byte-compiled / optimized / DLL files
|
6
|
+
__pycache__/
|
7
|
+
*.py[cod]
|
8
|
+
*$py.class
|
9
|
+
|
10
|
+
# C extensions
|
11
|
+
*.so
|
12
|
+
|
13
|
+
# Distribution / packaging
|
14
|
+
.Python
|
15
|
+
build/
|
16
|
+
develop-eggs/
|
17
|
+
dist/
|
18
|
+
downloads/
|
19
|
+
eggs/
|
20
|
+
.eggs/
|
21
|
+
lib/
|
22
|
+
lib64/
|
23
|
+
parts/
|
24
|
+
sdist/
|
25
|
+
var/
|
26
|
+
wheels/
|
27
|
+
pip-wheel-metadata/
|
28
|
+
share/python-wheels/
|
29
|
+
*.egg-info/
|
30
|
+
.installed.cfg
|
31
|
+
*.egg
|
32
|
+
MANIFEST
|
33
|
+
|
34
|
+
# PyInstaller
|
35
|
+
# Usually these files are written by a python script from a template
|
36
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
37
|
+
*.manifest
|
38
|
+
*.spec
|
39
|
+
|
40
|
+
# Installer logs
|
41
|
+
pip-log.txt
|
42
|
+
pip-delete-this-directory.txt
|
43
|
+
|
44
|
+
# Unit test / coverage reports
|
45
|
+
htmlcov/
|
46
|
+
.tox/
|
47
|
+
.nox/
|
48
|
+
.coverage
|
49
|
+
.coverage.*
|
50
|
+
.cache
|
51
|
+
nosetests.xml
|
52
|
+
coverage.xml
|
53
|
+
*.cover
|
54
|
+
*.py,cover
|
55
|
+
.hypothesis/
|
56
|
+
.pytest_cache/
|
57
|
+
|
58
|
+
# Translations
|
59
|
+
*.mo
|
60
|
+
*.pot
|
61
|
+
|
62
|
+
# Django stuff:
|
63
|
+
*.log
|
64
|
+
local_settings.py
|
65
|
+
db.sqlite3
|
66
|
+
db.sqlite3-journal
|
67
|
+
|
68
|
+
# Flask stuff:
|
69
|
+
instance/
|
70
|
+
.webassets-cache
|
71
|
+
|
72
|
+
# Scrapy stuff:
|
73
|
+
.scrapy
|
74
|
+
|
75
|
+
# Sphinx documentation
|
76
|
+
docs/_build/
|
77
|
+
|
78
|
+
# PyBuilder
|
79
|
+
target/
|
80
|
+
|
81
|
+
# Jupyter Notebook
|
82
|
+
.ipynb_checkpoints
|
83
|
+
|
84
|
+
# IPython
|
85
|
+
profile_default/
|
86
|
+
ipython_config.py
|
87
|
+
|
88
|
+
# pyenv
|
89
|
+
.python-version
|
90
|
+
|
91
|
+
# pipenv
|
92
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
93
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
94
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
95
|
+
# install all needed dependencies.
|
96
|
+
#Pipfile.lock
|
97
|
+
|
98
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
99
|
+
__pypackages__/
|
100
|
+
|
101
|
+
# Celery stuff
|
102
|
+
celerybeat-schedule
|
103
|
+
celerybeat.pid
|
104
|
+
|
105
|
+
# SageMath parsed files
|
106
|
+
*.sage.py
|
107
|
+
|
108
|
+
# Environments
|
109
|
+
.env
|
110
|
+
.venv
|
111
|
+
env/
|
112
|
+
venv/
|
113
|
+
ENV/
|
114
|
+
env.bak/
|
115
|
+
venv.bak/
|
116
|
+
|
117
|
+
# Spyder project settings
|
118
|
+
.spyderproject
|
119
|
+
.spyproject
|
120
|
+
|
121
|
+
# Rope project settings
|
122
|
+
.ropeproject
|
123
|
+
|
124
|
+
# mkdocs documentation
|
125
|
+
/site
|
126
|
+
|
127
|
+
# mypy
|
128
|
+
.mypy_cache/
|
129
|
+
.dmypy.json
|
130
|
+
dmypy.json
|
131
|
+
|
132
|
+
# Output files
|
133
|
+
*.tar.gz
|
134
|
+
*.in
|
135
|
+
*.build
|
136
|
+
*.deps
|