Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

shaleh
Copy link
Contributor

@shaleh shaleh commented Mar 24, 2022

  • 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

Further cherry picking from #55.

- 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
Copy link
Owner

@MichaelAquilina MichaelAquilina left a 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.

@shaleh
Copy link
Contributor Author

shaleh commented Mar 25, 2022

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+
Copy link
Contributor

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.

Copy link
Owner

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 :)

shaleh added 3 commits March 28, 2022 08:52
…andling

# Conflicts:
#	flake8_spellcheck/__init__.py
…dling

# Conflicts:
#	flake8_spellcheck/__init__.py
@shaleh
Copy link
Contributor Author

shaleh commented Mar 28, 2022

I totally missed that you moved to 'main' (excellent BTW).

I think the PR is accurate again. But it definitely needs some testing.

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.

3 participants