aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-21 14:35:30 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-22 12:26:59 +0200
commit19ba3d3e37b02e870ed6c6e283c267d904cafac8 (patch)
treec654b7b1537d72b33c1d6bc79e0d87c5a83a687a /pyGHDL
parentf0796bfab0032e6e7f9c8f52b789bab06ab7e4df (diff)
downloadghdl-19ba3d3e37b02e870ed6c6e283c267d904cafac8.tar.gz
ghdl-19ba3d3e37b02e870ed6c6e283c267d904cafac8.tar.bz2
ghdl-19ba3d3e37b02e870ed6c6e283c267d904cafac8.zip
Asked black for his opinion.
Diffstat (limited to 'pyGHDL')
-rw-r--r--pyGHDL/dom/Expression.py3
-rw-r--r--pyGHDL/dom/_Translate.py37
2 files changed, 33 insertions, 7 deletions
diff --git a/pyGHDL/dom/Expression.py b/pyGHDL/dom/Expression.py
index 30684394b..2802351d4 100644
--- a/pyGHDL/dom/Expression.py
+++ b/pyGHDL/dom/Expression.py
@@ -71,7 +71,8 @@ from pyVHDLModel.VHDLModel import (
RotateLeftExpression as VHDLModel_RotateLeftExpression,
Aggregate as VHDLModel_Aggregate,
Expression,
- AggregateElement, SubTypeOrSymbol,
+ AggregateElement,
+ SubTypeOrSymbol,
)
from pyGHDL.libghdl import utils
diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py
index eed6a226b..af6e5420f 100644
--- a/pyGHDL/dom/_Translate.py
+++ b/pyGHDL/dom/_Translate.py
@@ -44,9 +44,15 @@ from pyGHDL.dom.Range import Range, RangeExpression
from pyGHDL.dom.Symbol import (
SimpleObjectOrFunctionCallSymbol,
SimpleSubTypeSymbol,
- ConstrainedSubTypeSymbol, IndexedObjectOrFunctionCallSymbol,
+ ConstrainedSubTypeSymbol,
+ IndexedObjectOrFunctionCallSymbol,
+)
+from pyGHDL.dom.Literal import (
+ IntegerLiteral,
+ CharacterLiteral,
+ FloatingPointLiteral,
+ StringLiteral,
)
-from pyGHDL.dom.Literal import IntegerLiteral, CharacterLiteral, FloatingPointLiteral, StringLiteral
from pyGHDL.dom.Expression import (
SubtractionExpression,
AdditionExpression,
@@ -56,10 +62,29 @@ from pyGHDL.dom.Expression import (
ExponentiationExpression,
Aggregate,
NegationExpression,
- ParenthesisExpression, ConcatenationExpression, QualifiedExpression, ModuloExpression, RemainderExpression, AndExpression, NandExpression, OrExpression,
- NorExpression, XorExpression, XnorExpression, EqualExpression, UnequalExpression, LessThanExpression, GreaterThanExpression, GreaterEqualExpression,
- LessEqualExpression, ShiftLeftLogicExpression, ShiftRightLogicExpression, ShiftLeftArithmeticExpression, ShiftRightArithmeticExpression,
- RotateLeftExpression, RotateRightExpression,
+ ParenthesisExpression,
+ ConcatenationExpression,
+ QualifiedExpression,
+ ModuloExpression,
+ RemainderExpression,
+ AndExpression,
+ NandExpression,
+ OrExpression,
+ NorExpression,
+ XorExpression,
+ XnorExpression,
+ EqualExpression,
+ UnequalExpression,
+ LessThanExpression,
+ GreaterThanExpression,
+ GreaterEqualExpression,
+ LessEqualExpression,
+ ShiftLeftLogicExpression,
+ ShiftRightLogicExpression,
+ ShiftLeftArithmeticExpression,
+ ShiftRightArithmeticExpression,
+ RotateLeftExpression,
+ RotateRightExpression,
)
__all__ = []