This project is archived. Its data is read-only.
Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

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 pycodestyle also 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 Jan 02, 2019 by Tristan Maat
Assignee Loading
Time tracking Loading