Skip to content

Releases: ASFHyP3/actions

Actions v0.17.1

07 Feb 00:42
906c2d3
Compare
Choose a tag to compare

Fixed

  • Fixed ruff: command not found bug in reusable-ruff, introduced by the previous release.

Actions v0.17.0

06 Feb 22:48
1108dde
Compare
Choose a tag to compare

Changed

  • The reusable-ruff workflow now runs inside a mamba environment and assumes the presence of an environment.yml file.

  • We now recommend pinning to an exact version for both ruff and mypy 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 recommended ruff settings in line with hyp3-cookiecutter:

    [tool.ruff.lint.extend-per-file-ignores]
    "tests/*" = ["D100", "D103", "ANN"]

Actions v0.16.0

05 Feb 18:45
c92ebee
Compare
Choose a tag to compare

Changed

  • The reusable-ruff workflow will now run the ruff format step whether or not the ruff check step failed.

Actions v0.15.0

17 Jan 17:36
2f842a6
Compare
Choose a tag to compare

Removed

  • The reusable-mypy workflow no longer passes any optional arguments to the mypy command. This makes it easier to run mypy 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] in pyproject.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

07 Jan 18:33
262d69e
Compare
Choose a tag to compare

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 recommend reusable-ruff instead.

Actions v0.13.2

17 Dec 21:24
35f98c5
Compare
Choose a tag to compare

Fixed

  • Fix a bug in which reusable-ruff errors did not cause the action to fail.

Actions v0.13.1

17 Dec 20:58
aa9d313
Compare
Choose a tag to compare

Changed

  • Reverts the addition of --select I to reusable-ruff, as this option is already included in the recommended pyproject.toml settings given in the README.

Actions v0.13.0

16 Dec 21:12
9b96faa
Compare
Choose a tag to compare

Changed

Fixed

Actions v0.12.0

15 Oct 18:03
b05df4d
Compare
Choose a tag to compare

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

28 Jun 01:01
aac616b
Compare
Choose a tag to compare

Changed