Releases: ASFHyP3/actions
Actions v0.17.1
Fixed
- Fixed
ruff: command not found
bug inreusable-ruff
, introduced by the previous release.
Actions v0.17.0
Changed
-
The
reusable-ruff
workflow now runs inside a mamba environment and assumes the presence of anenvironment.yml
file. -
We now recommend pinning to an exact version for both
ruff
andmypy
in your project dependencies, to avoid unexpected static analysis errors due to unpinned dependency upgrades. -
We now recommend adding the following lines to
pyproject.toml
, to bring our recommendedruff
settings in line with hyp3-cookiecutter:[tool.ruff.lint.extend-per-file-ignores] "tests/*" = ["D100", "D103", "ANN"]
Actions v0.16.0
Changed
- The
reusable-ruff
workflow will now run the ruff format step whether or not the ruff check step failed.
Actions v0.15.0
Removed
-
The
reusable-mypy
workflow no longer passes any optional arguments to themypy
command. This makes it easier to runmypy
locally, because the command is just:mypy .
If you want to preserve the removed options for your project, you must now add them to
[tool.mypy]
inpyproject.toml
:install_types = true non_interactive = true pretty = true ignore_missing_imports = true
Note that we discourage enabling
ignore_missing_imports
as a global option (see #225). You can always find our currently recommended configuration options in the README.
Actions v0.14.0
Added
reusable-mypy
reusable workflow for performing static type checking with mypy.reusable-ruff
now prints the suggested commands for automatically fixing errors.
Removed
reusable-flake8.yml
has been removed. We recommendreusable-ruff
instead.
Actions v0.13.2
Fixed
- Fix a bug in which
reusable-ruff
errors did not cause the action to fail.
Actions v0.13.1
Changed
- Reverts the addition of
--select I
toreusable-ruff
, as this option is already included in the recommendedpyproject.toml
settings given in the README.
Actions v0.13.0
Changed
- The
reusable-ruff
action now checks for import order.
Fixed
- The
reusable-release-action
now uses thegh
CLI instead of the archivedrepo-sync/pull-request
action.
Actions v0.12.0
Added
- Releases of ASFHyP3/actions will now trigger updates to the ASFHyP3/hyp3-cookiecutter
- Optional ability to specify the name of the dockerfile to build with the
reusable-docker-ghcr
action.
Actions v0.11.2
Changed
- The default Python version used for
reusable-version-info.yml
has been upgraded from 3.9 to 3.12.