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

argparse is deprecated in flake8@6 and compatible #92

Closed
DmytroLitvinov opened this issue Feb 23, 2023 · 3 comments
Closed

argparse is deprecated in flake8@6 and compatible #92

DmytroLitvinov opened this issue Feb 23, 2023 · 3 comments

Comments

@DmytroLitvinov
Copy link

Have the same issue as described here PyCQA/flake8#1751

@DmytroLitvinov
Copy link
Author

The solution is to remove type='int' and then convert to an integer inside the method parse_options_to_config.

@stefan6419846
Copy link

Do you have some more context on the actual error in your case? flake8-plugin-utils does not seem to use this construct, so this might be related to some other plugin using flake8-plugin-utils.

Additionally, the title appears to be wrong, as flake8 migrated from optparse to argparse and argparse-style definitions are required now: PyCQA/flake8#1739

@DmytroLitvinov
Copy link
Author

Ah.. sorry. My bad.

The issue itself is in another plugin.
We can close that issue.

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

No branches or pull requests

2 participants