Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Configuration for actionlint
# https://github.com/rhysd/actionlint/blob/main/docs/config.md

paths:
.github/workflows/**/*.yaml:
ignore:
# actionlint doesn't recognise GitHub's self-repository syntax ($/...)
# in uses: yet. Remove these when it does.
- 'specifying action "\$/'
- 'reusable workflow call "\$/'
2 changes: 1 addition & 1 deletion .github/workflows/create_draft_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
merge-multiple: true

- name: Test
uses: ./.github/actions/run-in-container
uses: $/.github/actions/run-in-container
with:
image: danielflook/python-minifier-build:python${{ matrix.python }}-2025-09-26
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

create_draft_release:
name: Create Draft Release
uses: ./.github/workflows/create_draft_release.yaml
uses: $/.github/workflows/create_draft_release.yaml
if: github.ref == 'refs/heads/main'
permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

create_draft_release:
name: Create Draft Release
uses: ./.github/workflows/create_draft_release.yaml
uses: $/.github/workflows/create_draft_release.yaml
needs:
- determine_version
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
sed -i "s/setup_requires=.*/version='$VERSION',/; s/use_scm_version=.*//" setup.py

- name: Run tests
uses: ./.github/actions/run-in-container
uses: $/.github/actions/run-in-container
with:
image: danielflook/python-minifier-build:${{ matrix.python }}-2025-09-26
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/xtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
sed -i "s/setup_requires=.*/version='$VERSION',/; s/use_scm_version=.*//" setup.py

- name: Run tests
uses: ./.github/actions/run-in-container
uses: $/.github/actions/run-in-container
with:
image: danielflook/python-minifier-build:${{ matrix.python }}-2025-09-26
run: |
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
sed -i "s/setup_requires=.*/version='$VERSION',/; s/use_scm_version=.*//" setup.py

- name: Run tests
uses: ./.github/actions/run-in-container
uses: $/.github/actions/run-in-container
with:
image: danielflook/python-minifier-build:python3.14-2025-09-26
run: |
Expand All @@ -79,7 +79,7 @@ jobs:
test-corpus:
needs: test
name: Minify Corpus
uses: ./.github/workflows/test_corpus.yaml
uses: $/.github/workflows/test_corpus.yaml
with:
ref: ${{ github.ref }}
base-ref: ${{ github.base_ref }}
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ and will output source code compatible with the version of the interpreter it is
This means that if you minify code written for Python 3.11 using python-minifier running with Python 3.12,
the minified code may only run with Python 3.12.

## [Unreleased]
## [3.3.0] - 2026-09-04

### Added
- New transform to remove `if` statement branches that have no effect because the condition is always `True` or `False`. This is enabled by default and can be disabled with the `--no-remove-dead-branches` option.
Expand Down Expand Up @@ -331,6 +331,7 @@ the minified code may only run with Python 3.12.
- python-minifier package
- pyminify command

[3.3.0]: https://github.com/dflook/python-minifier/compare/3.2.0...3.3.0
[3.2.0]: https://github.com/dflook/python-minifier/compare/3.1.1...3.2.0
[3.1.1]: https://github.com/dflook/python-minifier/compare/3.1.0...3.1.1
[3.1.0]: https://github.com/dflook/python-minifier/compare/3.0.0...3.1.0
Expand Down