Remove unnecessary flake8 exclusions
Signed-off-by: Dan Yeaw <dan@yeaw.me>
This commit is contained in:
parent
4fd3aa863f
commit
4aed4b0e5e
2
.flake8
2
.flake8
@ -6,5 +6,5 @@ ignore = E501, W503, E203
|
||||
max-line-length = 88
|
||||
max-complexity = 18
|
||||
select = B,C,E,F,W,T4,B9
|
||||
exclude = .venv, dist, __init__.py, conftest.py, sysml.py, uml.py, coremodel.py, diagramitems.py
|
||||
exclude = .venv, dist, __init__.py
|
||||
show-source = True
|
@ -1,9 +1,6 @@
|
||||
import gi
|
||||
import pytest
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk
|
||||
|
||||
from gaphas import state
|
||||
from gaphas.canvas import Canvas
|
||||
from gaphas.examples import Box
|
||||
@ -11,6 +8,11 @@ from gaphas.item import Line
|
||||
from gaphas.tool import ConnectHandleTool
|
||||
from gaphas.view import GtkView
|
||||
|
||||
# fmt: off
|
||||
gi.require_version("Gtk", "3.0") # noqa: isort:skip
|
||||
from gi.repository import Gtk # noqa: isort:skip
|
||||
# fmt: on
|
||||
|
||||
|
||||
class SimpleCanvas:
|
||||
"""Creates a test canvas object.
|
||||
|
Loading…
x
Reference in New Issue
Block a user