core-dev-tools 1.2.1__tar.gz → 2.0.0__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.
- {core_dev_tools-1.2.1 → core_dev_tools-2.0.0}/PKG-INFO +67 -24
- {core_dev_tools-1.2.1 → core_dev_tools-2.0.0}/README.rst +64 -20
- {core_dev_tools-1.2.1 → core_dev_tools-2.0.0}/core_dev_tools.egg-info/PKG-INFO +67 -24
- {core_dev_tools-1.2.1 → core_dev_tools-2.0.0}/core_dev_tools.egg-info/requires.txt +0 -2
- {core_dev_tools-1.2.1 → core_dev_tools-2.0.0}/pyproject.toml +3 -4
- {core_dev_tools-1.2.1 → core_dev_tools-2.0.0}/LICENSE +0 -0
- {core_dev_tools-1.2.1 → core_dev_tools-2.0.0}/core_dev_tools.egg-info/SOURCES.txt +0 -0
- {core_dev_tools-1.2.1 → core_dev_tools-2.0.0}/core_dev_tools.egg-info/dependency_links.txt +0 -0
- {core_dev_tools-1.2.1 → core_dev_tools-2.0.0}/core_dev_tools.egg-info/top_level.txt +0 -0
- {core_dev_tools-1.2.1 → core_dev_tools-2.0.0}/setup.cfg +0 -0
- {core_dev_tools-1.2.1 → core_dev_tools-2.0.0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: core-dev-tools
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: This library provides common tools used for development...
|
|
5
5
|
Author-email: Alejandro Cora González <alek.cora.glez@gmail.com>
|
|
6
6
|
Maintainer: Alejandro Cora González
|
|
@@ -9,7 +9,7 @@ Project-URL: Homepage, https://gitlab.com/bytecode-solutions/core/core-dev-tools
|
|
|
9
9
|
Project-URL: Repository, https://gitlab.com/bytecode-solutions/core/core-dev-tools
|
|
10
10
|
Project-URL: Documentation, https://core-dev-tools.readthedocs.io/en/latest/
|
|
11
11
|
Project-URL: Issues, https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/issues
|
|
12
|
-
Project-URL: Changelog, https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/
|
|
12
|
+
Project-URL: Changelog, https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/main/CHANGELOG.md
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
14
14
|
Classifier: Development Status :: 5 - Production/Stable
|
|
15
15
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -23,6 +23,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
26
27
|
Requires-Python: >=3.9
|
|
27
28
|
Description-Content-Type: text/x-rst
|
|
28
29
|
License-File: LICENSE
|
|
@@ -38,12 +39,10 @@ Requires-Dist: pylint>=3.3.8
|
|
|
38
39
|
Requires-Dist: pytest>=8.4.0
|
|
39
40
|
Requires-Dist: pytest-cov>=7.0.0
|
|
40
41
|
Requires-Dist: pytest-xdist>=3.8.0
|
|
41
|
-
Requires-Dist: pydata-sphinx-theme>=0.16.1
|
|
42
42
|
Requires-Dist: pyright>=1.1.404
|
|
43
43
|
Requires-Dist: ruff>=0.12.11
|
|
44
44
|
Requires-Dist: setuptools>=61.0.0
|
|
45
45
|
Requires-Dist: Sphinx>=7.4.7
|
|
46
|
-
Requires-Dist: sphinx-copybutton>=0.5.2
|
|
47
46
|
Requires-Dist: types-setuptools>=62.6.1
|
|
48
47
|
Requires-Dist: taskipy>=1.14.1
|
|
49
48
|
Requires-Dist: tox>=4.29.0
|
|
@@ -56,9 +55,28 @@ Dynamic: license-file
|
|
|
56
55
|
core-dev-tools
|
|
57
56
|
===============================================================================
|
|
58
57
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
``core-dev-tools`` is a Python meta-package that centralizes the standard
|
|
59
|
+
development toolchain for the entire ecosystem. Instead of each
|
|
60
|
+
project independently declaring and versioning its own development tools,
|
|
61
|
+
every project installs this single package and immediately has access to the
|
|
62
|
+
full, curated set of tools.
|
|
63
|
+
|
|
64
|
+
There is no Python source code, the value of this package is entirely in
|
|
65
|
+
its curated dependency list. A single ``pip install core-dev-tools`` is enough
|
|
66
|
+
to equip any project or CI/CD pipeline with tools for:
|
|
67
|
+
|
|
68
|
+
* **Testing** — pytest, pytest-cov, pytest-xdist, coverage, tox
|
|
69
|
+
* **Linting & formatting** — Ruff, Pylint
|
|
70
|
+
* **Type checking** — Mypy, Pyright, ty
|
|
71
|
+
* **Security & compliance** — Bandit (``bandit --check``), pip-audit
|
|
72
|
+
* **Packaging & publishing** — Build, Twine
|
|
73
|
+
* **Pre-commit hooks** — pre-commit
|
|
74
|
+
* **Documentation** — Sphinx
|
|
75
|
+
* **Task automation** — taskipy, UV
|
|
76
|
+
* **Configuration** — click, environs
|
|
77
|
+
|
|
78
|
+
This ensures consistent, version-controlled tooling across every project in
|
|
79
|
+
the ecosystem without any per-project duplication.
|
|
62
80
|
|
|
63
81
|
===============================================================================
|
|
64
82
|
|
|
@@ -93,18 +111,55 @@ Install from PyPI using pip:
|
|
|
93
111
|
.. code-block:: bash
|
|
94
112
|
|
|
95
113
|
pip install core-dev-tools
|
|
96
|
-
uv pip install core-
|
|
114
|
+
uv pip install core-dev-tools # Or using UV...
|
|
97
115
|
|
|
98
116
|
|
|
99
117
|
Getting Started
|
|
100
118
|
===============================================================================
|
|
101
119
|
|
|
102
|
-
|
|
103
|
-
|
|
120
|
+
Install once per project or environment, all tools are immediately available
|
|
121
|
+
on the ``PATH``:
|
|
122
|
+
|
|
123
|
+
.. code-block:: bash
|
|
124
|
+
|
|
125
|
+
ruff check . # Lint
|
|
126
|
+
mypy . # Type check
|
|
127
|
+
bandit -r . # Security scan
|
|
128
|
+
pytest -n auto --cov=. # Tests with parallel execution and coverage
|
|
129
|
+
pip-audit # Dependency vulnerability scan
|
|
104
130
|
|
|
105
131
|
For detailed documentation, visit: https://core-dev-tools.readthedocs.io/
|
|
106
132
|
|
|
107
133
|
|
|
134
|
+
CI/CD Usage
|
|
135
|
+
===============================================================================
|
|
136
|
+
|
|
137
|
+
The primary motivation for this package is CI/CD pipelines. Rather than
|
|
138
|
+
listing every tool in each project's pipeline configuration, simply install
|
|
139
|
+
``core-dev-tools`` at the start of the pipeline:
|
|
140
|
+
|
|
141
|
+
.. code-block:: yaml
|
|
142
|
+
|
|
143
|
+
# Example GitLab CI / GitHub Actions step
|
|
144
|
+
- pip install core-dev-tools
|
|
145
|
+
|
|
146
|
+
Then run the tools you need in subsequent steps:
|
|
147
|
+
|
|
148
|
+
.. code-block:: bash
|
|
149
|
+
|
|
150
|
+
ruff check . # Enforce code style
|
|
151
|
+
pylint src/ # Static analysis
|
|
152
|
+
mypy src/ # Type checking
|
|
153
|
+
bandit -r src/ # Security compliance
|
|
154
|
+
pip-audit # CVE scan on dependencies
|
|
155
|
+
pytest -n auto --cov=src/ # Run test suite with coverage
|
|
156
|
+
tox # Multi-environment testing
|
|
157
|
+
|
|
158
|
+
Updating tool versions for the entire ecosystem is a single change in
|
|
159
|
+
this package's ``pyproject.toml``, every downstream project picks it up
|
|
160
|
+
on their next install.
|
|
161
|
+
|
|
162
|
+
|
|
108
163
|
Available Tools
|
|
109
164
|
===============================================================================
|
|
110
165
|
|
|
@@ -208,7 +263,7 @@ More information: https://click.palletsprojects.com/
|
|
|
208
263
|
|
|
209
264
|
coverage
|
|
210
265
|
-------------------------------------------------------------------------------
|
|
211
|
-
coverage
|
|
266
|
+
`coverage` measures code coverage of Python programs. It monitors which
|
|
212
267
|
lines of your program are executed and which are not, making it easy to
|
|
213
268
|
identify untested code.
|
|
214
269
|
|
|
@@ -339,18 +394,6 @@ More information: https://pypi.org/project/taskipy/
|
|
|
339
394
|
task <task-name>
|
|
340
395
|
|
|
341
396
|
|
|
342
|
-
sphinx-copybutton
|
|
343
|
-
-------------------------------------------------------------------------------
|
|
344
|
-
sphinx-copybutton adds a small "copy" button to all code blocks in
|
|
345
|
-
Sphinx documentation, allowing readers to copy code snippets with a
|
|
346
|
-
single click.
|
|
347
|
-
|
|
348
|
-
More information: https://sphinx-copybutton.readthedocs.io/
|
|
349
|
-
|
|
350
|
-
No CLI usage — enabled by adding ``sphinx_copybutton`` to ``extensions``
|
|
351
|
-
in ``docs/conf.py``.
|
|
352
|
-
|
|
353
|
-
|
|
354
397
|
Sphinx
|
|
355
398
|
-------------------------------------------------------------------------------
|
|
356
399
|
Sphinx makes it easy to create intelligent and beautiful documentation.
|
|
@@ -432,7 +475,7 @@ Links
|
|
|
432
475
|
* **Documentation:** https://core-dev-tools.readthedocs.io/en/latest/
|
|
433
476
|
* **Repository:** https://gitlab.com/bytecode-solutions/core/core-dev-tools
|
|
434
477
|
* **Issues:** https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/issues
|
|
435
|
-
* **Changelog:** https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/
|
|
478
|
+
* **Changelog:** https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/main/CHANGELOG.md
|
|
436
479
|
* **PyPI:** https://pypi.org/project/core-dev-tools/
|
|
437
480
|
|
|
438
481
|
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
core-dev-tools
|
|
2
2
|
===============================================================================
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
``core-dev-tools`` is a Python meta-package that centralizes the standard
|
|
5
|
+
development toolchain for the entire ecosystem. Instead of each
|
|
6
|
+
project independently declaring and versioning its own development tools,
|
|
7
|
+
every project installs this single package and immediately has access to the
|
|
8
|
+
full, curated set of tools.
|
|
9
|
+
|
|
10
|
+
There is no Python source code, the value of this package is entirely in
|
|
11
|
+
its curated dependency list. A single ``pip install core-dev-tools`` is enough
|
|
12
|
+
to equip any project or CI/CD pipeline with tools for:
|
|
13
|
+
|
|
14
|
+
* **Testing** — pytest, pytest-cov, pytest-xdist, coverage, tox
|
|
15
|
+
* **Linting & formatting** — Ruff, Pylint
|
|
16
|
+
* **Type checking** — Mypy, Pyright, ty
|
|
17
|
+
* **Security & compliance** — Bandit (``bandit --check``), pip-audit
|
|
18
|
+
* **Packaging & publishing** — Build, Twine
|
|
19
|
+
* **Pre-commit hooks** — pre-commit
|
|
20
|
+
* **Documentation** — Sphinx
|
|
21
|
+
* **Task automation** — taskipy, UV
|
|
22
|
+
* **Configuration** — click, environs
|
|
23
|
+
|
|
24
|
+
This ensures consistent, version-controlled tooling across every project in
|
|
25
|
+
the ecosystem without any per-project duplication.
|
|
7
26
|
|
|
8
27
|
===============================================================================
|
|
9
28
|
|
|
@@ -38,18 +57,55 @@ Install from PyPI using pip:
|
|
|
38
57
|
.. code-block:: bash
|
|
39
58
|
|
|
40
59
|
pip install core-dev-tools
|
|
41
|
-
uv pip install core-
|
|
60
|
+
uv pip install core-dev-tools # Or using UV...
|
|
42
61
|
|
|
43
62
|
|
|
44
63
|
Getting Started
|
|
45
64
|
===============================================================================
|
|
46
65
|
|
|
47
|
-
|
|
48
|
-
|
|
66
|
+
Install once per project or environment, all tools are immediately available
|
|
67
|
+
on the ``PATH``:
|
|
68
|
+
|
|
69
|
+
.. code-block:: bash
|
|
70
|
+
|
|
71
|
+
ruff check . # Lint
|
|
72
|
+
mypy . # Type check
|
|
73
|
+
bandit -r . # Security scan
|
|
74
|
+
pytest -n auto --cov=. # Tests with parallel execution and coverage
|
|
75
|
+
pip-audit # Dependency vulnerability scan
|
|
49
76
|
|
|
50
77
|
For detailed documentation, visit: https://core-dev-tools.readthedocs.io/
|
|
51
78
|
|
|
52
79
|
|
|
80
|
+
CI/CD Usage
|
|
81
|
+
===============================================================================
|
|
82
|
+
|
|
83
|
+
The primary motivation for this package is CI/CD pipelines. Rather than
|
|
84
|
+
listing every tool in each project's pipeline configuration, simply install
|
|
85
|
+
``core-dev-tools`` at the start of the pipeline:
|
|
86
|
+
|
|
87
|
+
.. code-block:: yaml
|
|
88
|
+
|
|
89
|
+
# Example GitLab CI / GitHub Actions step
|
|
90
|
+
- pip install core-dev-tools
|
|
91
|
+
|
|
92
|
+
Then run the tools you need in subsequent steps:
|
|
93
|
+
|
|
94
|
+
.. code-block:: bash
|
|
95
|
+
|
|
96
|
+
ruff check . # Enforce code style
|
|
97
|
+
pylint src/ # Static analysis
|
|
98
|
+
mypy src/ # Type checking
|
|
99
|
+
bandit -r src/ # Security compliance
|
|
100
|
+
pip-audit # CVE scan on dependencies
|
|
101
|
+
pytest -n auto --cov=src/ # Run test suite with coverage
|
|
102
|
+
tox # Multi-environment testing
|
|
103
|
+
|
|
104
|
+
Updating tool versions for the entire ecosystem is a single change in
|
|
105
|
+
this package's ``pyproject.toml``, every downstream project picks it up
|
|
106
|
+
on their next install.
|
|
107
|
+
|
|
108
|
+
|
|
53
109
|
Available Tools
|
|
54
110
|
===============================================================================
|
|
55
111
|
|
|
@@ -153,7 +209,7 @@ More information: https://click.palletsprojects.com/
|
|
|
153
209
|
|
|
154
210
|
coverage
|
|
155
211
|
-------------------------------------------------------------------------------
|
|
156
|
-
coverage
|
|
212
|
+
`coverage` measures code coverage of Python programs. It monitors which
|
|
157
213
|
lines of your program are executed and which are not, making it easy to
|
|
158
214
|
identify untested code.
|
|
159
215
|
|
|
@@ -284,18 +340,6 @@ More information: https://pypi.org/project/taskipy/
|
|
|
284
340
|
task <task-name>
|
|
285
341
|
|
|
286
342
|
|
|
287
|
-
sphinx-copybutton
|
|
288
|
-
-------------------------------------------------------------------------------
|
|
289
|
-
sphinx-copybutton adds a small "copy" button to all code blocks in
|
|
290
|
-
Sphinx documentation, allowing readers to copy code snippets with a
|
|
291
|
-
single click.
|
|
292
|
-
|
|
293
|
-
More information: https://sphinx-copybutton.readthedocs.io/
|
|
294
|
-
|
|
295
|
-
No CLI usage — enabled by adding ``sphinx_copybutton`` to ``extensions``
|
|
296
|
-
in ``docs/conf.py``.
|
|
297
|
-
|
|
298
|
-
|
|
299
343
|
Sphinx
|
|
300
344
|
-------------------------------------------------------------------------------
|
|
301
345
|
Sphinx makes it easy to create intelligent and beautiful documentation.
|
|
@@ -377,7 +421,7 @@ Links
|
|
|
377
421
|
* **Documentation:** https://core-dev-tools.readthedocs.io/en/latest/
|
|
378
422
|
* **Repository:** https://gitlab.com/bytecode-solutions/core/core-dev-tools
|
|
379
423
|
* **Issues:** https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/issues
|
|
380
|
-
* **Changelog:** https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/
|
|
424
|
+
* **Changelog:** https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/main/CHANGELOG.md
|
|
381
425
|
* **PyPI:** https://pypi.org/project/core-dev-tools/
|
|
382
426
|
|
|
383
427
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: core-dev-tools
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: This library provides common tools used for development...
|
|
5
5
|
Author-email: Alejandro Cora González <alek.cora.glez@gmail.com>
|
|
6
6
|
Maintainer: Alejandro Cora González
|
|
@@ -9,7 +9,7 @@ Project-URL: Homepage, https://gitlab.com/bytecode-solutions/core/core-dev-tools
|
|
|
9
9
|
Project-URL: Repository, https://gitlab.com/bytecode-solutions/core/core-dev-tools
|
|
10
10
|
Project-URL: Documentation, https://core-dev-tools.readthedocs.io/en/latest/
|
|
11
11
|
Project-URL: Issues, https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/issues
|
|
12
|
-
Project-URL: Changelog, https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/
|
|
12
|
+
Project-URL: Changelog, https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/main/CHANGELOG.md
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
14
14
|
Classifier: Development Status :: 5 - Production/Stable
|
|
15
15
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -23,6 +23,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
26
27
|
Requires-Python: >=3.9
|
|
27
28
|
Description-Content-Type: text/x-rst
|
|
28
29
|
License-File: LICENSE
|
|
@@ -38,12 +39,10 @@ Requires-Dist: pylint>=3.3.8
|
|
|
38
39
|
Requires-Dist: pytest>=8.4.0
|
|
39
40
|
Requires-Dist: pytest-cov>=7.0.0
|
|
40
41
|
Requires-Dist: pytest-xdist>=3.8.0
|
|
41
|
-
Requires-Dist: pydata-sphinx-theme>=0.16.1
|
|
42
42
|
Requires-Dist: pyright>=1.1.404
|
|
43
43
|
Requires-Dist: ruff>=0.12.11
|
|
44
44
|
Requires-Dist: setuptools>=61.0.0
|
|
45
45
|
Requires-Dist: Sphinx>=7.4.7
|
|
46
|
-
Requires-Dist: sphinx-copybutton>=0.5.2
|
|
47
46
|
Requires-Dist: types-setuptools>=62.6.1
|
|
48
47
|
Requires-Dist: taskipy>=1.14.1
|
|
49
48
|
Requires-Dist: tox>=4.29.0
|
|
@@ -56,9 +55,28 @@ Dynamic: license-file
|
|
|
56
55
|
core-dev-tools
|
|
57
56
|
===============================================================================
|
|
58
57
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
``core-dev-tools`` is a Python meta-package that centralizes the standard
|
|
59
|
+
development toolchain for the entire ecosystem. Instead of each
|
|
60
|
+
project independently declaring and versioning its own development tools,
|
|
61
|
+
every project installs this single package and immediately has access to the
|
|
62
|
+
full, curated set of tools.
|
|
63
|
+
|
|
64
|
+
There is no Python source code, the value of this package is entirely in
|
|
65
|
+
its curated dependency list. A single ``pip install core-dev-tools`` is enough
|
|
66
|
+
to equip any project or CI/CD pipeline with tools for:
|
|
67
|
+
|
|
68
|
+
* **Testing** — pytest, pytest-cov, pytest-xdist, coverage, tox
|
|
69
|
+
* **Linting & formatting** — Ruff, Pylint
|
|
70
|
+
* **Type checking** — Mypy, Pyright, ty
|
|
71
|
+
* **Security & compliance** — Bandit (``bandit --check``), pip-audit
|
|
72
|
+
* **Packaging & publishing** — Build, Twine
|
|
73
|
+
* **Pre-commit hooks** — pre-commit
|
|
74
|
+
* **Documentation** — Sphinx
|
|
75
|
+
* **Task automation** — taskipy, UV
|
|
76
|
+
* **Configuration** — click, environs
|
|
77
|
+
|
|
78
|
+
This ensures consistent, version-controlled tooling across every project in
|
|
79
|
+
the ecosystem without any per-project duplication.
|
|
62
80
|
|
|
63
81
|
===============================================================================
|
|
64
82
|
|
|
@@ -93,18 +111,55 @@ Install from PyPI using pip:
|
|
|
93
111
|
.. code-block:: bash
|
|
94
112
|
|
|
95
113
|
pip install core-dev-tools
|
|
96
|
-
uv pip install core-
|
|
114
|
+
uv pip install core-dev-tools # Or using UV...
|
|
97
115
|
|
|
98
116
|
|
|
99
117
|
Getting Started
|
|
100
118
|
===============================================================================
|
|
101
119
|
|
|
102
|
-
|
|
103
|
-
|
|
120
|
+
Install once per project or environment, all tools are immediately available
|
|
121
|
+
on the ``PATH``:
|
|
122
|
+
|
|
123
|
+
.. code-block:: bash
|
|
124
|
+
|
|
125
|
+
ruff check . # Lint
|
|
126
|
+
mypy . # Type check
|
|
127
|
+
bandit -r . # Security scan
|
|
128
|
+
pytest -n auto --cov=. # Tests with parallel execution and coverage
|
|
129
|
+
pip-audit # Dependency vulnerability scan
|
|
104
130
|
|
|
105
131
|
For detailed documentation, visit: https://core-dev-tools.readthedocs.io/
|
|
106
132
|
|
|
107
133
|
|
|
134
|
+
CI/CD Usage
|
|
135
|
+
===============================================================================
|
|
136
|
+
|
|
137
|
+
The primary motivation for this package is CI/CD pipelines. Rather than
|
|
138
|
+
listing every tool in each project's pipeline configuration, simply install
|
|
139
|
+
``core-dev-tools`` at the start of the pipeline:
|
|
140
|
+
|
|
141
|
+
.. code-block:: yaml
|
|
142
|
+
|
|
143
|
+
# Example GitLab CI / GitHub Actions step
|
|
144
|
+
- pip install core-dev-tools
|
|
145
|
+
|
|
146
|
+
Then run the tools you need in subsequent steps:
|
|
147
|
+
|
|
148
|
+
.. code-block:: bash
|
|
149
|
+
|
|
150
|
+
ruff check . # Enforce code style
|
|
151
|
+
pylint src/ # Static analysis
|
|
152
|
+
mypy src/ # Type checking
|
|
153
|
+
bandit -r src/ # Security compliance
|
|
154
|
+
pip-audit # CVE scan on dependencies
|
|
155
|
+
pytest -n auto --cov=src/ # Run test suite with coverage
|
|
156
|
+
tox # Multi-environment testing
|
|
157
|
+
|
|
158
|
+
Updating tool versions for the entire ecosystem is a single change in
|
|
159
|
+
this package's ``pyproject.toml``, every downstream project picks it up
|
|
160
|
+
on their next install.
|
|
161
|
+
|
|
162
|
+
|
|
108
163
|
Available Tools
|
|
109
164
|
===============================================================================
|
|
110
165
|
|
|
@@ -208,7 +263,7 @@ More information: https://click.palletsprojects.com/
|
|
|
208
263
|
|
|
209
264
|
coverage
|
|
210
265
|
-------------------------------------------------------------------------------
|
|
211
|
-
coverage
|
|
266
|
+
`coverage` measures code coverage of Python programs. It monitors which
|
|
212
267
|
lines of your program are executed and which are not, making it easy to
|
|
213
268
|
identify untested code.
|
|
214
269
|
|
|
@@ -339,18 +394,6 @@ More information: https://pypi.org/project/taskipy/
|
|
|
339
394
|
task <task-name>
|
|
340
395
|
|
|
341
396
|
|
|
342
|
-
sphinx-copybutton
|
|
343
|
-
-------------------------------------------------------------------------------
|
|
344
|
-
sphinx-copybutton adds a small "copy" button to all code blocks in
|
|
345
|
-
Sphinx documentation, allowing readers to copy code snippets with a
|
|
346
|
-
single click.
|
|
347
|
-
|
|
348
|
-
More information: https://sphinx-copybutton.readthedocs.io/
|
|
349
|
-
|
|
350
|
-
No CLI usage — enabled by adding ``sphinx_copybutton`` to ``extensions``
|
|
351
|
-
in ``docs/conf.py``.
|
|
352
|
-
|
|
353
|
-
|
|
354
397
|
Sphinx
|
|
355
398
|
-------------------------------------------------------------------------------
|
|
356
399
|
Sphinx makes it easy to create intelligent and beautiful documentation.
|
|
@@ -432,7 +475,7 @@ Links
|
|
|
432
475
|
* **Documentation:** https://core-dev-tools.readthedocs.io/en/latest/
|
|
433
476
|
* **Repository:** https://gitlab.com/bytecode-solutions/core/core-dev-tools
|
|
434
477
|
* **Issues:** https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/issues
|
|
435
|
-
* **Changelog:** https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/
|
|
478
|
+
* **Changelog:** https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/main/CHANGELOG.md
|
|
436
479
|
* **PyPI:** https://pypi.org/project/core-dev-tools/
|
|
437
480
|
|
|
438
481
|
|
|
@@ -10,12 +10,10 @@ pylint>=3.3.8
|
|
|
10
10
|
pytest>=8.4.0
|
|
11
11
|
pytest-cov>=7.0.0
|
|
12
12
|
pytest-xdist>=3.8.0
|
|
13
|
-
pydata-sphinx-theme>=0.16.1
|
|
14
13
|
pyright>=1.1.404
|
|
15
14
|
ruff>=0.12.11
|
|
16
15
|
setuptools>=61.0.0
|
|
17
16
|
Sphinx>=7.4.7
|
|
18
|
-
sphinx-copybutton>=0.5.2
|
|
19
17
|
types-setuptools>=62.6.1
|
|
20
18
|
taskipy>=1.14.1
|
|
21
19
|
tox>=4.29.0
|
|
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
|
|
|
9
9
|
[project]
|
|
10
10
|
name = "core-dev-tools"
|
|
11
11
|
description = "This library provides common tools used for development..."
|
|
12
|
-
version = "
|
|
12
|
+
version = "2.0.0"
|
|
13
13
|
|
|
14
14
|
authors = [
|
|
15
15
|
{name = "Alejandro Cora González", email = "alek.cora.glez@gmail.com"}
|
|
@@ -38,6 +38,7 @@ classifiers = [
|
|
|
38
38
|
"Programming Language :: Python :: 3.12",
|
|
39
39
|
"Programming Language :: Python :: 3.13",
|
|
40
40
|
"Programming Language :: Python :: 3.14",
|
|
41
|
+
"Programming Language :: Python :: Implementation :: PyPy",
|
|
41
42
|
]
|
|
42
43
|
|
|
43
44
|
dependencies = [
|
|
@@ -53,12 +54,10 @@ dependencies = [
|
|
|
53
54
|
"pytest>=8.4.0",
|
|
54
55
|
"pytest-cov>=7.0.0",
|
|
55
56
|
"pytest-xdist>=3.8.0",
|
|
56
|
-
"pydata-sphinx-theme>=0.16.1",
|
|
57
57
|
"pyright>=1.1.404",
|
|
58
58
|
"ruff>=0.12.11",
|
|
59
59
|
"setuptools>=61.0.0",
|
|
60
60
|
"Sphinx>=7.4.7",
|
|
61
|
-
"sphinx-copybutton>=0.5.2",
|
|
62
61
|
"types-setuptools>=62.6.1",
|
|
63
62
|
"taskipy>=1.14.1",
|
|
64
63
|
"tox>=4.29.0",
|
|
@@ -73,4 +72,4 @@ Homepage = "https://gitlab.com/bytecode-solutions/core/core-dev-tools"
|
|
|
73
72
|
Repository = "https://gitlab.com/bytecode-solutions/core/core-dev-tools"
|
|
74
73
|
Documentation = "https://core-dev-tools.readthedocs.io/en/latest/"
|
|
75
74
|
Issues = "https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/issues"
|
|
76
|
-
Changelog = "https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/
|
|
75
|
+
Changelog = "https://gitlab.com/bytecode-solutions/core/core-dev-tools/-/blob/main/CHANGELOG.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|