CI: flake8: check invalid "noqa" comments

There are some (unmerged) patches which selectively mute some linter
warnings via the `# noqa: something` stanza. It makes sense to configure
the linter in such a way that it checks the format of that `something`
to make sure that the linter override is valid and selective.

Change-Id: I9eec3a1024d3df88f4f44d4df746ff514670f71f
This commit is contained in:
Jan Kundrát
2021-05-11 18:28:32 +02:00
parent c4235fa61c
commit 2ca92f1aaa

View File

@@ -10,6 +10,7 @@ deps =
linters: flake8
linters: pep8-naming
linters: mccabe
linters: flake8-noqa
changedir = {toxinidir}
usedevelop = True
setenv =