pybetter icon indicating copy to clipboard operation
pybetter copied to clipboard

Consider adding wemake-python-styleguide support

Open sobolevn opened this issue 5 years ago • 4 comments

I have looked through the code, it looks like wemake-python-styleguide support would be pretty easy to add.

Link: https://github.com/wemake-services/wemake-python-styleguide

sobolevn avatar Feb 19 '20 22:02 sobolevn

I've actually tried to run flake8 with wemake-python-styleguide, but it spat out 377 "violations". Most of them are actually intentional (use of print(), f-strings, uppercase letters in function names due to libcst convention, import libcst.matchers as m), some of them related to the use of black, and some of them really need fixing.

I will consider adding WPS in the future, but we need to compile a "whitelist" of violations that will actually be actioned upon.

In the meantime, if anyone submits a PR regarding this, it will be reviewed without prejudice. :)

lensvol avatar Feb 20 '20 10:02 lensvol

I would love to help you here, but I am out of capacity 😞

sobolevn avatar Feb 20 '20 11:02 sobolevn

I'll send you PR soon :)

astynax avatar Feb 20 '20 12:02 astynax

@astynax That would be awesome! :) @sobolevn No worries, we'll get there in time. :)

lensvol avatar Feb 20 '20 12:02 lensvol