There is no way to run our linting configuration directly with pycodestyle
During !638 (merged) we had the following discussion:
-
@cs-shadow started a discussion: (+1 comment) nit: Is is possible to put this in a separate section so that
pycodestylealso works in the same way when used directly, i.e outside of pytest?
It seems that pytest-pycodestyle will not pick up configuration in a [pycodestyle] block. This is unfortunate, since it means we can't run pycodestyle using our configuration directly. For now, this is a leftover from the pep8 days, but we should change this.
Ideally we would change upstream to read the usual configuration blocks, but finding a way to do this without duplicating the configuration could be acceptable.
Edited by Tristan Maat