Skip to content

Commit 19aa0a1

Browse files
committed
v0.12.0
1 parent c1ff5ab commit 19aa0a1

File tree

14 files changed

+1101
-1071
lines changed

14 files changed

+1101
-1071
lines changed

.github/workflows/main.yaml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
1-
name: Package Application with Nuitka
2-
"on":
3-
push:
4-
branches: [ main ]
5-
jobs:
6-
build:
7-
strategy:
8-
matrix:
9-
os: [macos-latest, ubuntu-latest, windows-latest]
10-
runs-on: ${{ matrix.os }}
11-
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v4
14-
- name: Setup Python
15-
uses: actions/setup-python@v4
16-
with:
17-
python-version: '3.11.6'
18-
architecture: 'x64'
19-
cache: 'pip'
20-
cache-dependency-path: |
21-
src/requirements.txt
22-
- name: Install Dependencies
23-
run: |
24-
pip install -r src/requirements.txt
25-
- name: Build Executable
26-
uses: Nuitka/Nuitka-Action@main
27-
with:
28-
nuitka-version: main
29-
onefile: true
30-
script-name: container-image-replicator.py
31-
standalone: true
32-
working-directory: src
33-
- name: Rename binary for macOS
34-
if: runner.os == 'macOS'
35-
run: mv src/build/container-image-replicator.bin src/build/container-image-replicator.macos
36-
- name: ${{ runner.os }} Release
37-
uses: softprops/action-gh-release@v1
38-
with:
39-
draft: true
40-
prerelease: true
41-
fail_on_unmatched_files: false
42-
files: |
43-
src/build/container-image-replicator.bin
44-
src/build/container-image-replicator.exe
45-
src/build/container-image-replicator.macos
1+
name: Package Application with Nuitka
2+
"on":
3+
push:
4+
branches: [ main ]
5+
jobs:
6+
build:
7+
strategy:
8+
matrix:
9+
os: [macos-latest, ubuntu-latest, windows-latest]
10+
runs-on: ${{ matrix.os }}
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v5
14+
- name: Setup Python
15+
uses: actions/setup-python@v6
16+
with:
17+
python-version: '3.13.9'
18+
architecture: 'x64'
19+
cache: 'pip'
20+
cache-dependency-path: |
21+
src/requirements.txt
22+
- name: Install Dependencies
23+
run: |
24+
pip install -r src/requirements.txt
25+
- name: Build Executable
26+
uses: Nuitka/Nuitka-Action@main
27+
with:
28+
nuitka-version: main
29+
onefile: true
30+
script-name: container-image-replicator.py
31+
standalone: true
32+
working-directory: src
33+
- name: Rename binary for macOS
34+
if: runner.os == 'macOS'
35+
run: mv src/build/container-image-replicator.bin src/build/container-image-replicator.macos
36+
- name: ${{ runner.os }} Release
37+
uses: softprops/action-gh-release@v1
38+
with:
39+
draft: true
40+
prerelease: true
41+
fail_on_unmatched_files: false
42+
files: |
43+
src/build/container-image-replicator.bin
44+
src/build/container-image-replicator.exe
45+
src/build/container-image-replicator.macos

.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.git/
2-
.mypy_cache/
3-
**/__pycache__/
4-
container-image-replicator.*/
5-
tests/yamls/test*.yaml
6-
venv/
1+
.git/
2+
.mypy_cache/
3+
**/__pycache__/
4+
container-image-replicator.*/
5+
tests/yamls/test*.yaml
6+
venv/

.pre-commit-config.yaml

Lines changed: 59 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,59 @@
1-
---
2-
repos:
3-
- hooks:
4-
- id: check-case-conflict
5-
- id: check-docstring-first
6-
- id: check-executables-have-shebangs
7-
- id: check-merge-conflict
8-
- id: destroyed-symlinks
9-
- id: detect-aws-credentials
10-
- id: detect-private-key
11-
- id: end-of-file-fixer
12-
- id: fix-byte-order-marker
13-
- args:
14-
- '--remove'
15-
id: fix-encoding-pragma
16-
- id: mixed-line-ending
17-
- args:
18-
- '--maxkb=1024'
19-
id: check-added-large-files
20-
- args:
21-
- '--markdown-linebreak-ext=md'
22-
id: trailing-whitespace
23-
- id: check-symlinks
24-
- args:
25-
- '--allow-multiple-documents'
26-
id: check-yaml
27-
- args:
28-
- '--maxkb=1024'
29-
id: check-added-large-files
30-
- id: requirements-txt-fixer
31-
- id: check-ast
32-
repo: https://github.com/pre-commit/pre-commit-hooks
33-
rev: v4.5.0
34-
- repo: https://github.com/netromdk/vermin
35-
rev: v1.5.2
36-
hooks:
37-
- id: vermin
38-
args: ['-t=3.11-', '--violations']
39-
- hooks:
40-
- args: [--application-directories, '.:src']
41-
id: reorder-python-imports
42-
repo: https://github.com/asottile/reorder_python_imports
43-
rev: v3.12.0
44-
- hooks:
45-
- args:
46-
- '--line-length=140'
47-
- '--include=''\.pyi?$'''
48-
- '--exclude=\.git|\.__pycache__|\.hg|\.mypy_cache|\.tox|\.venv|_build|buck-out|build|dist'
49-
id: black
50-
language_version: python3.11
51-
repo: https://github.com/psf/black
52-
rev: 23.10.0
53-
- hooks:
54-
- args:
55-
- --check-untyped-defs
56-
- --ignore-missing-imports
57-
- --install-types
58-
- --non-interactive
59-
- --strict
60-
id: mypy
61-
repo: https://github.com/pre-commit/mirrors-mypy
62-
rev: v1.6.1
1+
---
2+
repos:
3+
- hooks:
4+
- id: check-case-conflict
5+
- id: check-docstring-first
6+
- id: check-executables-have-shebangs
7+
- id: check-merge-conflict
8+
- id: destroyed-symlinks
9+
# - id: detect-aws-credentials
10+
- id: detect-private-key
11+
- id: end-of-file-fixer
12+
- id: fix-byte-order-marker
13+
- id: mixed-line-ending
14+
- args:
15+
- '--maxkb=1024'
16+
id: check-added-large-files
17+
- args:
18+
- '--markdown-linebreak-ext=md'
19+
id: trailing-whitespace
20+
- id: check-symlinks
21+
- args:
22+
- '--allow-multiple-documents'
23+
id: check-yaml
24+
- args:
25+
- '--maxkb=1024'
26+
id: check-added-large-files
27+
- id: requirements-txt-fixer
28+
- id: check-ast
29+
repo: https://github.com/pre-commit/pre-commit-hooks
30+
rev: v6.0.0
31+
- repo: https://github.com/netromdk/vermin
32+
rev: v1.8.0
33+
hooks:
34+
- id: vermin
35+
args: ['-t=3.13-', '--violations']
36+
- hooks:
37+
- args: [--application-directories, '.:src']
38+
id: reorder-python-imports
39+
repo: https://github.com/asottile/reorder_python_imports
40+
rev: v3.16.0
41+
- hooks:
42+
- args:
43+
- '--line-length=140'
44+
- '--include=''\.pyi?$'''
45+
- '--exclude=\.git|\.__pycache__|\.hg|\.mypy_cache|\.tox|\.venv|_build|buck-out|build|dist'
46+
id: black
47+
language_version: python3.13
48+
repo: https://github.com/psf/black
49+
rev: 25.11.0
50+
- hooks:
51+
- args:
52+
- --check-untyped-defs
53+
- --ignore-missing-imports
54+
- --install-types
55+
- --non-interactive
56+
- --strict
57+
id: mypy
58+
repo: https://github.com/pre-commit/mirrors-mypy
59+
rev: v1.18.2

0 commit comments

Comments
 (0)