aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/vhdl
diff options
context:
space:
mode:
authorumarcor <unai.martinezcorral@ehu.eus>2021-06-22 19:31:18 +0200
committerumarcor <unai.martinezcorral@ehu.eus>2021-06-23 17:09:44 +0200
commit6e1bbc43fc29528ceaf5d422461206e29e801744 (patch)
treea3273f25e220b2c69869c4c8376f31e8229dbcda /pyGHDL/libghdl/vhdl
parentc6283d9a9b40c3e9afeba912fcb13aa9d56b9c52 (diff)
downloadghdl-6e1bbc43fc29528ceaf5d422461206e29e801744.tar.gz
ghdl-6e1bbc43fc29528ceaf5d422461206e29e801744.tar.bz2
ghdl-6e1bbc43fc29528ceaf5d422461206e29e801744.zip
fix more codacy issues
Diffstat (limited to 'pyGHDL/libghdl/vhdl')
-rw-r--r--pyGHDL/libghdl/vhdl/nodes.py3
-rw-r--r--pyGHDL/libghdl/vhdl/tokens.py2
2 files changed, 1 insertions, 4 deletions
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