pyiges 0.3.2__tar.gz → 0.3.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.
- {pyiges-0.3.2 → pyiges-0.3.3}/.github/workflows/testing-and-deployment.yml +26 -8
- {pyiges-0.3.2 → pyiges-0.3.3}/.pre-commit-config.yaml +8 -8
- {pyiges-0.3.2 → pyiges-0.3.3}/PKG-INFO +1 -1
- {pyiges-0.3.2 → pyiges-0.3.3}/pyproject.toml +1 -1
- {pyiges-0.3.2 → pyiges-0.3.3}/.flake8 +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/.gitignore +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/CONTRIBUTING.rst +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/LICENSE +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/MANIFEST.in +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/Makefile +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/README.rst +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/docs/Makefile +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/docs/conf.py +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/docs/geometry.rst +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/docs/images/impeller_lines.png +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/docs/images/impeller_surf.png +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/docs/index.rst +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/docs/make.bat +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/docs/pyiges.rst +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/__init__.py +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/check_imports.py +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/constants.py +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/entity.py +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/examples/__init__.py +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/examples/impeller.igs +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/examples/sample.igs +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/faces.py +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/geometry.py +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/iges.py +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/tests/conftest.py +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/tests/reference_data/example-arcs.iges +0 -0
- {pyiges-0.3.2 → pyiges-0.3.3}/tests/test_pyiges.py +0 -0
|
@@ -44,15 +44,33 @@ jobs:
|
|
|
44
44
|
flit build
|
|
45
45
|
twine check dist/*
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
pypi:
|
|
48
|
+
name: Publish to PyPI
|
|
49
|
+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
|
|
50
|
+
needs: [unit_tests]
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
environment:
|
|
53
|
+
name: pypi
|
|
54
|
+
url: https://pypi.org/p/pyiges
|
|
55
|
+
permissions:
|
|
56
|
+
id-token: write # this permission is mandatory for trusted publishing
|
|
57
|
+
steps:
|
|
58
|
+
- uses: actions/checkout@v4
|
|
59
|
+
with:
|
|
60
|
+
persist-credentials: false
|
|
61
|
+
|
|
62
|
+
- name: Set up Python
|
|
63
|
+
uses: actions/setup-python@v5
|
|
64
|
+
with:
|
|
65
|
+
python-version: '3.13'
|
|
66
|
+
|
|
67
|
+
- name: Build package
|
|
49
68
|
run: |
|
|
50
|
-
pip install
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/
|
|
69
|
+
pip install flit
|
|
70
|
+
flit build
|
|
71
|
+
|
|
72
|
+
- name: Publish package distributions to PyPI
|
|
73
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
56
74
|
|
|
57
75
|
Release:
|
|
58
76
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
|
|
@@ -5,7 +5,7 @@ ci:
|
|
|
5
5
|
|
|
6
6
|
repos:
|
|
7
7
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
8
|
-
rev: v0.
|
|
8
|
+
rev: v0.15.9
|
|
9
9
|
hooks:
|
|
10
10
|
- id: ruff-check
|
|
11
11
|
args: [--fix, --exit-non-zero-on-fix]
|
|
@@ -13,13 +13,13 @@ repos:
|
|
|
13
13
|
- id: ruff-format
|
|
14
14
|
|
|
15
15
|
- repo: https://github.com/keewis/blackdoc
|
|
16
|
-
rev: v0.
|
|
16
|
+
rev: v0.4.6
|
|
17
17
|
hooks:
|
|
18
18
|
- id: blackdoc
|
|
19
19
|
exclude: README.rst
|
|
20
20
|
|
|
21
21
|
- repo: https://github.com/codespell-project/codespell
|
|
22
|
-
rev: v2.4.
|
|
22
|
+
rev: v2.4.2
|
|
23
23
|
hooks:
|
|
24
24
|
- id: codespell
|
|
25
25
|
args: [--skip=*.vt*]
|
|
@@ -32,20 +32,20 @@ repos:
|
|
|
32
32
|
files: ^src/pyminiply/.*\.py
|
|
33
33
|
|
|
34
34
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
35
|
-
rev: v1.
|
|
35
|
+
rev: v1.20.0
|
|
36
36
|
hooks:
|
|
37
37
|
- id: mypy
|
|
38
38
|
additional_dependencies: [numpy>=2.0, pytest-stub]
|
|
39
39
|
|
|
40
40
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
41
|
-
rev:
|
|
41
|
+
rev: v6.0.0
|
|
42
42
|
hooks:
|
|
43
43
|
- id: check-merge-conflict
|
|
44
44
|
- id: debug-statements
|
|
45
45
|
- id: trailing-whitespace
|
|
46
46
|
|
|
47
47
|
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
|
|
48
|
-
rev: v2.
|
|
48
|
+
rev: v2.16.0
|
|
49
49
|
hooks:
|
|
50
50
|
- id: pretty-format-toml
|
|
51
51
|
args: [--autofix]
|
|
@@ -53,11 +53,11 @@ repos:
|
|
|
53
53
|
args: [--autofix, --indent, '2']
|
|
54
54
|
|
|
55
55
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
56
|
-
rev:
|
|
56
|
+
rev: v22.1.2
|
|
57
57
|
hooks:
|
|
58
58
|
- id: clang-format
|
|
59
59
|
|
|
60
60
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
61
|
-
rev: 0.
|
|
61
|
+
rev: 0.37.1
|
|
62
62
|
hooks:
|
|
63
63
|
- id: check-github-workflows
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|