Remove unnecessary flake8 exclusions

Signed-off-by: Dan Yeaw <dan@yeaw.me>
This commit is contained in:
Dan Yeaw 2020-08-20 22:02:52 -04:00
parent 4fd3aa863f
commit 4aed4b0e5e
No known key found for this signature in database
GPG Key ID: 77A923EF537B61A4
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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.