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

Support for flake8 6.0.0 #20

Merged

Conversation

vrigal
Copy link
Contributor

@vrigal vrigal commented Nov 28, 2022

Closes #19

Flake8 recently dropped the support for optparse : PyCQA/flake8#1739

I had no time to test this patch. Also it makes flake8-copyright incompatible with flake8 2.x

@ca-scribner
Copy link

fwiw, this fix worked for me in a few repos

Copy link

@michiel007 michiel007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

successfully tested

vrigal added a commit to vrigal/code-review that referenced this pull request Feb 1, 2023
La0 pushed a commit to mozilla/code-review that referenced this pull request Feb 1, 2023
* Update pre-commit dependencies

* Remove flake8-copyright as not compatible with flake8==6.0.0

Waiting for savoirfairelinux/flake8-copyright#20
to be merged

* Automatically format files with pre-commit
@mrodriguezg1991 mrodriguezg1991 merged commit 5e6e328 into savoirfairelinux:master Feb 8, 2023
@mrodriguezg1991
Copy link
Contributor

@vrigal
This has been update and deployed on Pypi in the new version 0.2.4, thank you for your contribution

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.

Problem with flake8 v6.0.0
4 participants