Skip to content

Conversation

@jparise
Copy link
Contributor

@jparise jparise commented Oct 16, 2018

Previously, pasteurize ignored the --fix option and always used the
fill set of available fixes. This change ports over futurize's fix
selection logic (including set validation), making --fix work as
intended.

Previously, pasteurize ignored the `--fix` option and always used the
fill set of available fixes. This change ports over futurize's fix
selection logic (including set validation), making `--fix` work as
intended.
@jparise
Copy link
Contributor Author

jparise commented Oct 16, 2018

This module doesn't have unit tests, but you can verify that this works as expected:

$ pasteurize -f libpasteurize.fixes.fix_newstyle -x libpasteurize.fixes.fix_newstyle libs/
Conflicting usage: the following fixers have been simultaneously requested and disallowed:
  libpasteurize.fixes.fix_newstyle

@jmadler jmadler merged commit 6e4ad71 into PythonCharmers:master Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants