Using Pep8 for Python

Hi @Le_L_i_Hoang,

There is currently no automatic way to enable pep8-related rules. Some of these rules will be available by default. You can search for rules marked with the “convention” tag.

Additional styling issues can be imported from Pylint. You will have to activate them both in your pylintrc configuration file and in your Quality Profile. Pylint rules can be filtered by selecting “Repository”->“Pylint”. Note that pylint does more than detecting pep8 issues, thus you will have to select the rules you want to activate.

Also don’t forget to enable your new quality profile for your projects.

We plan to make Pylint issues import easier so these instructions will change in the future.

Cheers,

1 Like