templatepy 0.2.6.dev0__tar.gz → 0.2.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.
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/.bumpversion.cfg +1 -1
- templatepy-0.2.7/.pre-commit-config.yaml +36 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/PKG-INFO +8 -5
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/README.md +7 -4
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/pyproject.toml +1 -1
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/templatepy/__init__.py +1 -1
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/templatepy.egg-info/PKG-INFO +8 -5
- templatepy-0.2.6.dev0/.pre-commit-config.yaml +0 -27
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/.gitignore +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/.secrets.baseline +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/CODE_OF_CONDUCT.md +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/CONTRIBUTING.md +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/LICENSE +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/MANIFEST.in +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/setup.cfg +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/setup.py +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/templatepy/example.data.file.config +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/templatepy/example.data.file.test-extension-yu48 +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/templatepy.egg-info/SOURCES.txt +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/templatepy.egg-info/dependency_links.txt +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/templatepy.egg-info/entry_points.txt +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/templatepy.egg-info/not-zip-safe +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/templatepy.egg-info/requires.txt +0 -0
- {templatepy-0.2.6.dev0 → templatepy-0.2.7}/templatepy.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Update versions with: pre-commit autoupdate
|
|
2
|
+
# Check for other available hooks: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
repos:
|
|
4
|
+
- repo: https://github.com/asottile/reorder_python_imports
|
|
5
|
+
rev: v3.14.0
|
|
6
|
+
hooks:
|
|
7
|
+
- id: reorder-python-imports
|
|
8
|
+
|
|
9
|
+
- repo: https://github.com/ambv/black
|
|
10
|
+
rev: 24.10.0
|
|
11
|
+
hooks:
|
|
12
|
+
- id: black
|
|
13
|
+
|
|
14
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
15
|
+
rev: v5.0.0
|
|
16
|
+
hooks:
|
|
17
|
+
- id: end-of-file-fixer
|
|
18
|
+
exclude: '.bumpversion.cfg'
|
|
19
|
+
- id: trailing-whitespace
|
|
20
|
+
exclude: '.bumpversion.cfg'
|
|
21
|
+
- id: check-case-conflict
|
|
22
|
+
- id: check-merge-conflict
|
|
23
|
+
- id: check-yaml
|
|
24
|
+
args: [ '--unsafe' ]
|
|
25
|
+
- id: debug-statements
|
|
26
|
+
- id: detect-private-key
|
|
27
|
+
- id: forbid-new-submodules
|
|
28
|
+
- id: check-json
|
|
29
|
+
- id: pretty-format-json
|
|
30
|
+
args: ['--autofix', '--indent=4', '--no-ensure-ascii']
|
|
31
|
+
- id: check-added-large-files
|
|
32
|
+
|
|
33
|
+
- repo: https://github.com/PyCQA/flake8
|
|
34
|
+
rev: 7.1.1
|
|
35
|
+
hooks:
|
|
36
|
+
- id: flake8
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: templatepy
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.7
|
|
4
4
|
Summary: templatepy: Template repo for python repositories & PyPi integration
|
|
5
5
|
Author-email: "Lars B. Rollik" <L.B.Rollik@protonmail.com>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -92,7 +92,7 @@ Requires-Dist: toml; extra == "dev"
|
|
|
92
92
|
# templatepy
|
|
93
93
|
Template repo for python repositories & PyPi integration
|
|
94
94
|
---
|
|
95
|
-
**Version: "0.2.
|
|
95
|
+
**Version: "0.2.7"**
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
## Usage
|
|
@@ -336,9 +336,11 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
336
336
|
- [PEP-518](https://peps.python.org/pep-0518/)
|
|
337
337
|
- [Discussion on Setup.cfg Deprecation](https://stackoverflow.com/questions/44878600/is-setup-cfg-deprecated)
|
|
338
338
|
|
|
339
|
-
#### Using
|
|
339
|
+
#### Using GitHub CLI in Workflow Actions
|
|
340
340
|
|
|
341
|
-
[CLI in
|
|
341
|
+
Easily integrate GitHub CLI into workflows to perform repository tasks. See the [GitHub CLI in workflows documentation](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows).
|
|
342
|
+
|
|
343
|
+
**Example: Create a pull request**
|
|
342
344
|
|
|
343
345
|
```yaml
|
|
344
346
|
- name: Create a pull request
|
|
@@ -347,6 +349,7 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
347
349
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
348
350
|
```
|
|
349
351
|
|
|
352
|
+
|
|
350
353
|
## Common issues
|
|
351
354
|
|
|
352
355
|
### `bump2version` fails on git tag with exit status 128
|
|
@@ -367,7 +370,7 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
367
370
|
|
|
368
371
|
Which one is the key id you might ask?
|
|
369
372
|
```
|
|
370
|
-
/home
|
|
373
|
+
/home/$USER/.gnupg/secring.gpg
|
|
371
374
|
------------------------------
|
|
372
375
|
sec 4096R/<KEY_ID> 2024-11-22 [expires: 2025-11-22]
|
|
373
376
|
uid Your Name <youremail@example.com>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
# templatepy
|
|
36
36
|
Template repo for python repositories & PyPi integration
|
|
37
37
|
---
|
|
38
|
-
**Version: "0.2.
|
|
38
|
+
**Version: "0.2.7"**
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
## Usage
|
|
@@ -279,9 +279,11 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
279
279
|
- [PEP-518](https://peps.python.org/pep-0518/)
|
|
280
280
|
- [Discussion on Setup.cfg Deprecation](https://stackoverflow.com/questions/44878600/is-setup-cfg-deprecated)
|
|
281
281
|
|
|
282
|
-
#### Using
|
|
282
|
+
#### Using GitHub CLI in Workflow Actions
|
|
283
283
|
|
|
284
|
-
[CLI in
|
|
284
|
+
Easily integrate GitHub CLI into workflows to perform repository tasks. See the [GitHub CLI in workflows documentation](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows).
|
|
285
|
+
|
|
286
|
+
**Example: Create a pull request**
|
|
285
287
|
|
|
286
288
|
```yaml
|
|
287
289
|
- name: Create a pull request
|
|
@@ -290,6 +292,7 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
290
292
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
291
293
|
```
|
|
292
294
|
|
|
295
|
+
|
|
293
296
|
## Common issues
|
|
294
297
|
|
|
295
298
|
### `bump2version` fails on git tag with exit status 128
|
|
@@ -310,7 +313,7 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
310
313
|
|
|
311
314
|
Which one is the key id you might ask?
|
|
312
315
|
```
|
|
313
|
-
/home
|
|
316
|
+
/home/$USER/.gnupg/secring.gpg
|
|
314
317
|
------------------------------
|
|
315
318
|
sec 4096R/<KEY_ID> 2024-11-22 [expires: 2025-11-22]
|
|
316
319
|
uid Your Name <youremail@example.com>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: templatepy
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.7
|
|
4
4
|
Summary: templatepy: Template repo for python repositories & PyPi integration
|
|
5
5
|
Author-email: "Lars B. Rollik" <L.B.Rollik@protonmail.com>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -92,7 +92,7 @@ Requires-Dist: toml; extra == "dev"
|
|
|
92
92
|
# templatepy
|
|
93
93
|
Template repo for python repositories & PyPi integration
|
|
94
94
|
---
|
|
95
|
-
**Version: "0.2.
|
|
95
|
+
**Version: "0.2.7"**
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
## Usage
|
|
@@ -336,9 +336,11 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
336
336
|
- [PEP-518](https://peps.python.org/pep-0518/)
|
|
337
337
|
- [Discussion on Setup.cfg Deprecation](https://stackoverflow.com/questions/44878600/is-setup-cfg-deprecated)
|
|
338
338
|
|
|
339
|
-
#### Using
|
|
339
|
+
#### Using GitHub CLI in Workflow Actions
|
|
340
340
|
|
|
341
|
-
[CLI in
|
|
341
|
+
Easily integrate GitHub CLI into workflows to perform repository tasks. See the [GitHub CLI in workflows documentation](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows).
|
|
342
|
+
|
|
343
|
+
**Example: Create a pull request**
|
|
342
344
|
|
|
343
345
|
```yaml
|
|
344
346
|
- name: Create a pull request
|
|
@@ -347,6 +349,7 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
347
349
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
348
350
|
```
|
|
349
351
|
|
|
352
|
+
|
|
350
353
|
## Common issues
|
|
351
354
|
|
|
352
355
|
### `bump2version` fails on git tag with exit status 128
|
|
@@ -367,7 +370,7 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
367
370
|
|
|
368
371
|
Which one is the key id you might ask?
|
|
369
372
|
```
|
|
370
|
-
/home
|
|
373
|
+
/home/$USER/.gnupg/secring.gpg
|
|
371
374
|
------------------------------
|
|
372
375
|
sec 4096R/<KEY_ID> 2024-11-22 [expires: 2025-11-22]
|
|
373
376
|
uid Your Name <youremail@example.com>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
repos:
|
|
2
|
-
- repo: https://github.com/asottile/reorder_python_imports
|
|
3
|
-
rev: v2.6.0
|
|
4
|
-
hooks:
|
|
5
|
-
- id: reorder-python-imports
|
|
6
|
-
- repo: https://github.com/ambv/black
|
|
7
|
-
rev: 22.6.0
|
|
8
|
-
hooks:
|
|
9
|
-
- id: black
|
|
10
|
-
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
11
|
-
rev: v2.3.0
|
|
12
|
-
hooks:
|
|
13
|
-
- id: end-of-file-fixer
|
|
14
|
-
exclude: '.bumpversion.cfg'
|
|
15
|
-
- id: trailing-whitespace
|
|
16
|
-
exclude: '.bumpversion.cfg'
|
|
17
|
-
- id: check-case-conflict
|
|
18
|
-
- id: check-merge-conflict
|
|
19
|
-
- id: check-yaml
|
|
20
|
-
args: [ '--unsafe' ]
|
|
21
|
-
- id: detect-private-key
|
|
22
|
-
- id: forbid-new-submodules
|
|
23
|
-
- id: check-json
|
|
24
|
-
- id: pretty-format-json
|
|
25
|
-
args: ['--autofix', '--indent=4', '--no-ensure-ascii', ]
|
|
26
|
-
- id: check-added-large-files
|
|
27
|
-
- id: flake8
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|