mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-11 16:58:31 +03:00
pylint: Make sure we lint against Gtk3
We need to pass virtmanager.py to pylint first, so it detects the require_version() call Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
511857b288
commit
5b93a43622
9
setup.py
9
setup.py
@ -366,7 +366,14 @@ class CheckPylint(distutils.core.Command):
|
||||
import pylint.lint
|
||||
import pycodestyle
|
||||
|
||||
lintfiles = ["setup.py", "virtinst", "virtManager", "tests"]
|
||||
lintfiles = [
|
||||
"setup.py",
|
||||
"tests",
|
||||
"virtinst",
|
||||
# Put this first so pylint learns what Gtk version we
|
||||
# want to lint against
|
||||
"virtManager/virtmanager.py",
|
||||
"virtManager"]
|
||||
|
||||
spellfiles = lintfiles[:]
|
||||
spellfiles += list(glob.glob("*.md"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user