tdeboissiere / python-format-action

MIT License
3 stars 2 forks source link

diff-only seems to be deprecated #2

Open EiffL opened 1 year ago

EiffL commented 1 year ago

This line: https://github.com/tdeboissiere/python-format-action/blob/873ba5d3581202a0752d75ae1bca193970c42a47/entrypoint.sh#L3

gives me:

usage: reorder-python-imports [-h] [--exit-zero-even-if-changed]
                              [--add-import ADD_IMPORT]
                              [--remove-import REMOVE_IMPORT]
                              [--replace-import REPLACE_IMPORT]
                              [--application-directories APPLICATION_DIRECTORIES]
                              [--unclassifiable-application-module UNCLASSIFIABLE]
                              [--py22-plus] [--py23-plus] [--py2[6](https://github.com/DifferentiableUniverseInitiative/jax_cosmo/actions/runs/3752352478/jobs/6374407147#step:4:7)-plus]
                              [--py3-plus] [--py36-plus] [--py3[7](https://github.com/DifferentiableUniverseInitiative/jax_cosmo/actions/runs/3752352478/jobs/6374407147#step:4:8)-plus]
                              [--py3[8](https://github.com/DifferentiableUniverseInitiative/jax_cosmo/actions/runs/3752352478/jobs/6374407147#step:4:9)-plus] [--py3[9](https://github.com/DifferentiableUniverseInitiative/jax_cosmo/actions/runs/3752352478/jobs/6374407147#step:4:10)-plus] [--py3[10](https://github.com/DifferentiableUniverseInitiative/jax_cosmo/actions/runs/3752352478/jobs/6374407147#step:4:11)-plus]
                              [--py3[11](https://github.com/DifferentiableUniverseInitiative/jax_cosmo/actions/runs/3752352478/jobs/6374407147#step:4:12)-plus]
                              [filenames ...]
reorder-python-imports: error: unrecognized arguments: --diff-only