diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2021-06-22 19:31:18 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-06-23 17:09:44 +0200 |
commit | 6e1bbc43fc29528ceaf5d422461206e29e801744 (patch) | |
tree | a3273f25e220b2c69869c4c8376f31e8229dbcda /pyGHDL/libghdl | |
parent | c6283d9a9b40c3e9afeba912fcb13aa9d56b9c52 (diff) | |
download | ghdl-6e1bbc43fc29528ceaf5d422461206e29e801744.tar.gz ghdl-6e1bbc43fc29528ceaf5d422461206e29e801744.tar.bz2 ghdl-6e1bbc43fc29528ceaf5d422461206e29e801744.zip |
fix more codacy issues
Diffstat (limited to 'pyGHDL/libghdl')
-rw-r--r-- | pyGHDL/libghdl/std_names.py | 1 | ||||
-rw-r--r-- | pyGHDL/libghdl/vhdl/nodes.py | 3 | ||||
-rw-r--r-- | pyGHDL/libghdl/vhdl/tokens.py | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/pyGHDL/libghdl/std_names.py b/pyGHDL/libghdl/std_names.py index b9bdb95d3..7f27a0116 100644 --- a/pyGHDL/libghdl/std_names.py +++ b/pyGHDL/libghdl/std_names.py @@ -1,7 +1,6 @@ # Auto generated Python source file from Ada sources # Call 'make' in 'src/vhdl' to regenerate: # -from enum import IntEnum, unique from pydecor import export diff --git a/pyGHDL/libghdl/vhdl/nodes.py b/pyGHDL/libghdl/vhdl/nodes.py index 1a4cf043f..e4527a1d6 100644 --- a/pyGHDL/libghdl/vhdl/nodes.py +++ b/pyGHDL/libghdl/vhdl/nodes.py @@ -8,7 +8,6 @@ from pyGHDL.libghdl._decorator import BindToLibGHDL from typing import TypeVar from ctypes import c_int32 -from pyGHDL.libghdl import libghdl from pyGHDL.libghdl._types import ( Iir, IirKind, @@ -1802,7 +1801,7 @@ class Iir_Predefined(IntEnum): @export @BindToLibGHDL("vhdl__nodes__get_kind") def Get_Kind(node: Iir) -> IirKind: - """Get node kind""" + """Get node kind.""" @export diff --git a/pyGHDL/libghdl/vhdl/tokens.py b/pyGHDL/libghdl/vhdl/tokens.py index 4923ea80f..c7e8b9878 100644 --- a/pyGHDL/libghdl/vhdl/tokens.py +++ b/pyGHDL/libghdl/vhdl/tokens.py @@ -4,8 +4,6 @@ from enum import IntEnum, unique from pydecor import export -from pyGHDL.libghdl._decorator import BindToLibGHDL - @export @unique |