-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update argument handling #66
base: main
Are you sure you want to change the base?
Conversation
- Start the migration to only using namespaced flag names. - Log deprecation warnings for anyone relying on the old behaviour. - Take advantage of argparse functionality in the new flags, because flake8 has migrated away from optparse. - Update readme accordingly # Conflicts: # flake8_spellcheck/__init__.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one also looks good overall but I'll have to do some thinking about how to release this
It might be just upgrading the major version is enough and putting a warning in the CHANGELOG and/or README explaining this change.
Yes, bumping the major and updating the docs would be the best approach. |
README.rst
Outdated
You can whitelist words that are specific to your project simply by adding them to ``whitelist.txt`` | ||
in the root of your project directory. Each word you add should be separated by a newline. | ||
You can whitelist words that are specific to your project simply by adding them to ``spellcheck-allowlist.txt`` | ||
in the root of your project directory. Each word you add should be separated by a newline. | ||
|
||
Spelling is assumed to be in en_US. | ||
|
||
This plugin supports python 3.6+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This note about Python version support is no longer accurate, right? I thought I saw that support for Python 3.6 has been dropped.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep you need to rebase :)
…andling # Conflicts: # flake8_spellcheck/__init__.py
…dling # Conflicts: # flake8_spellcheck/__init__.py
I totally missed that you moved to 'main' (excellent BTW). I think the PR is accurate again. But it definitely needs some testing. |
flake8 has migrated away from optparse.
Further cherry picking from #55.