Skip to content

Improve the lint configuration and fix some lint

Duncan Macleod requested to merge duncanmmacleod/glue:lint into master

This MR improves the configuration for flake8 as follows

  • ignore a lot of files that are deprecated
  • ignore tab-indentation warnings in a number of files that use that style
  • ignore a lot of warnings we don't have the energy to care about (most best-practice syntax violations...), so we can concentrate on mort important ones (unused imports etc)

and then fixes a couple of wee lint issues in the test scripts.

The idea here is that we should get the flake8 job to pass by ignoring stuff we can't/won't fix (right now), mainly so that future changes can't introduce new violations of the stuff we do care about (unused imports etc). We can reintroduce more thorough checks later.

Edited by Duncan Macleod

Merge request reports