]> git.proxmox.com Git - mirror_qemu.git/commit - python/setup.cfg
python: add excluded dirs to flake8 config
authorJohn Snow <jsnow@redhat.com>
Thu, 27 May 2021 21:17:03 +0000 (17:17 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 1 Jun 2021 20:21:21 +0000 (16:21 -0400)
commit21d0b8667981e386cdfec18ad7d3eb4d9a33b088
treef16d5df103cd22dd4a73ac5546d594f727c1a478
parent81f8c4467c1899ef1ba984c70c328ac0c32af10c
python: add excluded dirs to flake8 config

Instruct flake8 to avoid certain well-known directories created by
python tooling that it ought not check.

Note that at-present, nothing actually creates a ".venv" directory; but
it is in such widespread usage as a de-facto location for a developer's
virtual environment that it should be excluded anyway. A forthcoming
commit canonizes this with a "make venv" command.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-id: 20210527211715.394144-20-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/setup.cfg