Skip to content

Commit 54c6722

Browse files
committed
Fix some linitng issues
1 parent a173926 commit 54c6722

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

.isort.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ sections=FUTURE,STDLIB,TEST,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
99
default_section=THIRDPARTY
1010
multi_line_output=3
1111
profile=black
12+
ignore_comments=true
13+
ignore_whitespace=true
14+
honor_noqa=true
15+
use_parentheses=true

src/qonnx/transformation/composed.py

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,25 @@
44
# QONNX wrapper of ONNX model graphs
55
from qonnx.core.modelwrapper import ModelWrapper
66

7-
# Base class for all QONNX graph transformations and some basic cleanup
8-
# transformations
9-
from qonnx.transformation.general import (
10-
Transformation,
11-
GiveUniqueNodeNames,
12-
GiveReadableTensorNames,
13-
)
14-
# Cleanup transformations removing identities like multiplication by one or
15-
# addition of zero
16-
from qonnx.transformation.remove import RemoveIdentityOps
177
# QONNX graph transformations for annotating the graph with datatype and shape
188
# information
199
from qonnx.transformation.infer_datatypes import InferDataTypes
2010
from qonnx.transformation.infer_shapes import InferShapes
2111

12+
# Cleanup transformations removing identities like multiplication by one or
13+
# addition of zero
14+
from qonnx.transformation.remove import RemoveIdentityOps
15+
16+
# Base class for all QONNX graph transformations and some basic cleanup
17+
# transformations
18+
# fmt: off
19+
from qonnx.transformation.general import ( # isort: skip
20+
GiveReadableTensorNames, GiveUniqueNodeNames, Transformation
21+
)
22+
23+
24+
# fmt: on
25+
2226

2327
# Composes graph transformations such that each individual transformation as
2428
# well as the whole sequence is applied exhaustively

0 commit comments

Comments
 (0)