Skip to content

Commit 6d803b0

Browse files
committed
Added #noqa directives
1 parent 416f12d commit 6d803b0

File tree

21 files changed

+35
-10
lines changed

21 files changed

+35
-10
lines changed

plotpy/builder/shape.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
import numpy as np
2424

25-
from plotpy.config import _
2625
from plotpy.items import (
2726
CircleSVGShape,
2827
EllipseShape,

plotpy/interfaces/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# -*- coding: utf-8 -*-
22

33
# pylint: disable=unused-import
4+
# flake8: noqa
5+
46
from .items import (
57
IBaseImageItem,
68
IBasePlotItem,

plotpy/items/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# -*- coding: utf-8 -*-
22

33
# pylint: disable=unused-import
4+
# flake8: noqa
5+
46
from .annotation import (
57
AnnotatedCircle,
68
AnnotatedEllipse,

plotpy/items/curve/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# -*- coding: utf-8 -*-
22

33
# pylint: disable=W0611
4+
# flake8: noqa
5+
46
from plotpy.items.curve.base import CurveItem
57
from plotpy.items.curve.errorbar import ErrorBarCurveItem

plotpy/items/curve/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
if TYPE_CHECKING: # pragma: no cover
2727
import guidata.dataset.io
28-
from qtpy import QtCore as QC
2928

3029
from plotpy.interfaces import IItemType
3130
from plotpy.styles.base import ItemParameters

plotpy/items/image/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# -*- coding: utf-8 -*-
22

33
# pylint: disable=unused-import
4+
# flake8: noqa
5+
46
from .base import BaseImageItem, RawImageItem
57
from .filter import ImageFilterItem, XYImageFilterItem
68
from .image_items import ImageItem, RGBImageItem, XYImageItem

plotpy/items/image/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
from qtpy.QtGui import QPainter
5353

5454
from plotpy.interfaces import IItemType
55-
from plotpy.items import BaseImageItem, RectangleShape, TrImageItem
55+
from plotpy.items import RectangleShape
5656
from plotpy.plot import BasePlot
5757
from plotpy.styles.base import ItemParameters
5858

plotpy/items/shape/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# -*- coding: utf-8 -*-
22

33
# pylint: disable=W0611
4+
# flake8: noqa
5+
46
from .axis import Axes
57
from .base import AbstractShape
68
from .ellipse import EllipseShape

plotpy/items/shape/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from plotpy.interfaces import IBasePlotItem, IShapeItemType
1515

1616
if TYPE_CHECKING: # pragma: no cover
17-
from qtpy import QtCore as QC
1817
from qtpy.QtCore import QPointF # helping out python_qt_documentation
1918

2019
from plotpy.interfaces import IItemType

plotpy/items/shape/point.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from qtpy import QtCore as QC
1010
from qtpy import QtGui as QG
1111

12-
from plotpy.config import _
1312
from plotpy.items.shape.polygon import PolygonShape
1413

1514
if TYPE_CHECKING: # pragma: no cover

0 commit comments

Comments
 (0)