mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fix some pylint
This commit is contained in:
@@ -12,4 +12,4 @@ srpm: clean
|
||||
$(MAKE) dist && rpmbuild -ts $(distdir).tar.gz
|
||||
|
||||
check-pylint:
|
||||
tests/pylint-virt-manager.sh
|
||||
@tests/pylint-virt-manager.sh
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
# MA 02110-1301 USA.
|
||||
#
|
||||
|
||||
from gi.repository import GObject
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import Gdk
|
||||
|
||||
|
||||
@@ -165,6 +165,7 @@ skip_pep8 "E221" # Multiple spaces before operator (warns
|
||||
skip_pep8 "E241" # Space after , column alignment nono
|
||||
skip_pep8 "E251" # No space around keyword
|
||||
skip_pep8 "E261" # 2 spaces before inline comment?
|
||||
skip_pep8 "E271" # Lining up 'foo = bar" statements
|
||||
skip_pep8 "E272" # Lining up 'from X import Y" statements
|
||||
|
||||
skip_pep8 "E301" # 1 blank line between methods
|
||||
|
||||
Reference in New Issue
Block a user