ansys-pre-commit-hooks 0.4.2__tar.gz → 0.4.3__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.
- {ansys_pre_commit_hooks-0.4.2/src/ansys_pre_commit_hooks.egg-info → ansys_pre_commit_hooks-0.4.3}/PKG-INFO +6 -6
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/README.rst +5 -5
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/pyproject.toml +15 -0
- ansys_pre_commit_hooks-0.4.3/src/ansys/pre_commit_hooks/VERSION +1 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/__pycache__/__init__.cpython-310.pyc +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/__pycache__/tech_review.cpython-310.pyc +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/add_license_headers.py +2 -1
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3/src/ansys_pre_commit_hooks.egg-info}/PKG-INFO +6 -6
- ansys_pre_commit_hooks-0.4.2/src/ansys/pre_commit_hooks/VERSION +0 -1
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/AUTHORS.md +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/LICENSE +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/MANIFEST.in +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/setup.cfg +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/setup.py +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/__init__.py +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/assets/.reuse/templates/ansys.jinja2 +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/assets/LICENSES/MIT.txt +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/assets/licenses.json +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/tech_review.py +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/templates/AUTHORS +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/templates/CODE_OF_CONDUCT.md +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/templates/CONTRIBUTING.md +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/templates/CONTRIBUTORS.md +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/templates/LICENSE +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/templates/README.md +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/templates/README.rst +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/templates/dependabot.yml +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys_pre_commit_hooks.egg-info/SOURCES.txt +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys_pre_commit_hooks.egg-info/dependency_links.txt +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys_pre_commit_hooks.egg-info/entry_points.txt +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys_pre_commit_hooks.egg-info/requires.txt +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys_pre_commit_hooks.egg-info/top_level.txt +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/tests/test_metadata.py +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/tests/test_reuse.py +0 -0
- {ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/tests/test_tech_review.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ansys-pre-commit-hooks
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: A Python wrapper to create Ansys-tailored pre-commit hooks
|
|
5
5
|
Home-page: https://github.com/ansys/pre-commit-hooks
|
|
6
6
|
Author: ANSYS, Inc.
|
|
@@ -127,7 +127,7 @@ Set custom arguments
|
|
|
127
127
|
.. code:: yaml
|
|
128
128
|
|
|
129
129
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
130
|
-
rev: v0.4.
|
|
130
|
+
rev: v0.4.3
|
|
131
131
|
hooks:
|
|
132
132
|
- id: add-license-headers
|
|
133
133
|
args: ["--custom_copyright", "custom copyright phrase", "--custom_template", "template_name", "--custom_license", "license_name", "--ignore_license_check", "--start_year", "2023"]
|
|
@@ -172,7 +172,7 @@ the hook should run on, add the necessary regex to the ``files`` line in your
|
|
|
172
172
|
.. code:: yaml
|
|
173
173
|
|
|
174
174
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
175
|
-
rev: v0.4.
|
|
175
|
+
rev: v0.4.3
|
|
176
176
|
hooks:
|
|
177
177
|
- id: add-license-headers
|
|
178
178
|
files: '(src|examples|tests|newFolder)/.*\.(py|newExtension)|\.(proto|newExtension)'
|
|
@@ -185,7 +185,7 @@ In .pre-commit-config.yaml:
|
|
|
185
185
|
.. code:: yaml
|
|
186
186
|
|
|
187
187
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
188
|
-
rev: v0.4.
|
|
188
|
+
rev: v0.4.3
|
|
189
189
|
hooks:
|
|
190
190
|
- id: add-license-headers
|
|
191
191
|
exclude: |
|
|
@@ -238,7 +238,7 @@ Technical review hook in ``ansys/pre-commit-hooks``' .pre-commit-config.yaml fil
|
|
|
238
238
|
.. code:: yaml
|
|
239
239
|
|
|
240
240
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
241
|
-
rev: v0.4.
|
|
241
|
+
rev: v0.4.3
|
|
242
242
|
hooks:
|
|
243
243
|
- id: tech-review
|
|
244
244
|
args:
|
|
@@ -250,7 +250,7 @@ Technical review hook in ``PyMechanical``'s .pre-commit-config.yaml file:
|
|
|
250
250
|
.. code:: yaml
|
|
251
251
|
|
|
252
252
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
253
|
-
rev: v0.4.
|
|
253
|
+
rev: v0.4.3
|
|
254
254
|
hooks:
|
|
255
255
|
- id: tech-review
|
|
256
256
|
args:
|
|
@@ -84,7 +84,7 @@ Set custom arguments
|
|
|
84
84
|
.. code:: yaml
|
|
85
85
|
|
|
86
86
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
87
|
-
rev: v0.4.
|
|
87
|
+
rev: v0.4.3
|
|
88
88
|
hooks:
|
|
89
89
|
- id: add-license-headers
|
|
90
90
|
args: ["--custom_copyright", "custom copyright phrase", "--custom_template", "template_name", "--custom_license", "license_name", "--ignore_license_check", "--start_year", "2023"]
|
|
@@ -129,7 +129,7 @@ the hook should run on, add the necessary regex to the ``files`` line in your
|
|
|
129
129
|
.. code:: yaml
|
|
130
130
|
|
|
131
131
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
132
|
-
rev: v0.4.
|
|
132
|
+
rev: v0.4.3
|
|
133
133
|
hooks:
|
|
134
134
|
- id: add-license-headers
|
|
135
135
|
files: '(src|examples|tests|newFolder)/.*\.(py|newExtension)|\.(proto|newExtension)'
|
|
@@ -142,7 +142,7 @@ In .pre-commit-config.yaml:
|
|
|
142
142
|
.. code:: yaml
|
|
143
143
|
|
|
144
144
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
145
|
-
rev: v0.4.
|
|
145
|
+
rev: v0.4.3
|
|
146
146
|
hooks:
|
|
147
147
|
- id: add-license-headers
|
|
148
148
|
exclude: |
|
|
@@ -195,7 +195,7 @@ Technical review hook in ``ansys/pre-commit-hooks``' .pre-commit-config.yaml fil
|
|
|
195
195
|
.. code:: yaml
|
|
196
196
|
|
|
197
197
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
198
|
-
rev: v0.4.
|
|
198
|
+
rev: v0.4.3
|
|
199
199
|
hooks:
|
|
200
200
|
- id: tech-review
|
|
201
201
|
args:
|
|
@@ -207,7 +207,7 @@ Technical review hook in ``PyMechanical``'s .pre-commit-config.yaml file:
|
|
|
207
207
|
.. code:: yaml
|
|
208
208
|
|
|
209
209
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
210
|
-
rev: v0.4.
|
|
210
|
+
rev: v0.4.3
|
|
211
211
|
hooks:
|
|
212
212
|
- id: tech-review
|
|
213
213
|
args:
|
|
@@ -74,3 +74,18 @@ showcontent = true
|
|
|
74
74
|
directory = "miscellaneous"
|
|
75
75
|
name = "Miscellaneous"
|
|
76
76
|
showcontent = true
|
|
77
|
+
|
|
78
|
+
[[tool.towncrier.type]]
|
|
79
|
+
directory = "documentation"
|
|
80
|
+
name = "Documentation"
|
|
81
|
+
showcontent = true
|
|
82
|
+
|
|
83
|
+
[[tool.towncrier.type]]
|
|
84
|
+
directory = "maintenance"
|
|
85
|
+
name = "Maintenance"
|
|
86
|
+
showcontent = true
|
|
87
|
+
|
|
88
|
+
[[tool.towncrier.type]]
|
|
89
|
+
directory = "test"
|
|
90
|
+
name = "Test"
|
|
91
|
+
showcontent = true
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.4.3
|
|
Binary file
|
|
Binary file
|
|
@@ -39,6 +39,7 @@ from tempfile import NamedTemporaryFile
|
|
|
39
39
|
|
|
40
40
|
import git
|
|
41
41
|
from reuse import _annotate, _util, lint, project
|
|
42
|
+
from reuse.vcs import VCSStrategyGit
|
|
42
43
|
|
|
43
44
|
DEFAULT_TEMPLATE = "ansys"
|
|
44
45
|
"""Default template to use for license headers."""
|
|
@@ -706,7 +707,7 @@ def find_files_missing_header() -> int:
|
|
|
706
707
|
link_assets(assets, os_git_root, args)
|
|
707
708
|
|
|
708
709
|
# Project to run `REUSE <https://reuse.software/>`_ on
|
|
709
|
-
proj = project.Project(git_root)
|
|
710
|
+
proj = project.Project(git_root, vcs_strategy=VCSStrategyGit)
|
|
710
711
|
|
|
711
712
|
# Get files missing headers (copyright and/or license information)
|
|
712
713
|
missing_headers = list(list_noncompliant_files(args, proj))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ansys-pre-commit-hooks
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: A Python wrapper to create Ansys-tailored pre-commit hooks
|
|
5
5
|
Home-page: https://github.com/ansys/pre-commit-hooks
|
|
6
6
|
Author: ANSYS, Inc.
|
|
@@ -127,7 +127,7 @@ Set custom arguments
|
|
|
127
127
|
.. code:: yaml
|
|
128
128
|
|
|
129
129
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
130
|
-
rev: v0.4.
|
|
130
|
+
rev: v0.4.3
|
|
131
131
|
hooks:
|
|
132
132
|
- id: add-license-headers
|
|
133
133
|
args: ["--custom_copyright", "custom copyright phrase", "--custom_template", "template_name", "--custom_license", "license_name", "--ignore_license_check", "--start_year", "2023"]
|
|
@@ -172,7 +172,7 @@ the hook should run on, add the necessary regex to the ``files`` line in your
|
|
|
172
172
|
.. code:: yaml
|
|
173
173
|
|
|
174
174
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
175
|
-
rev: v0.4.
|
|
175
|
+
rev: v0.4.3
|
|
176
176
|
hooks:
|
|
177
177
|
- id: add-license-headers
|
|
178
178
|
files: '(src|examples|tests|newFolder)/.*\.(py|newExtension)|\.(proto|newExtension)'
|
|
@@ -185,7 +185,7 @@ In .pre-commit-config.yaml:
|
|
|
185
185
|
.. code:: yaml
|
|
186
186
|
|
|
187
187
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
188
|
-
rev: v0.4.
|
|
188
|
+
rev: v0.4.3
|
|
189
189
|
hooks:
|
|
190
190
|
- id: add-license-headers
|
|
191
191
|
exclude: |
|
|
@@ -238,7 +238,7 @@ Technical review hook in ``ansys/pre-commit-hooks``' .pre-commit-config.yaml fil
|
|
|
238
238
|
.. code:: yaml
|
|
239
239
|
|
|
240
240
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
241
|
-
rev: v0.4.
|
|
241
|
+
rev: v0.4.3
|
|
242
242
|
hooks:
|
|
243
243
|
- id: tech-review
|
|
244
244
|
args:
|
|
@@ -250,7 +250,7 @@ Technical review hook in ``PyMechanical``'s .pre-commit-config.yaml file:
|
|
|
250
250
|
.. code:: yaml
|
|
251
251
|
|
|
252
252
|
- repo: https://github.com/ansys/pre-commit-hooks
|
|
253
|
-
rev: v0.4.
|
|
253
|
+
rev: v0.4.3
|
|
254
254
|
hooks:
|
|
255
255
|
- id: tech-review
|
|
256
256
|
args:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.4.2
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ansys_pre_commit_hooks-0.4.2 → ansys_pre_commit_hooks-0.4.3}/src/ansys/pre_commit_hooks/__init__.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|