diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-22 19:04:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 19:04:55 +0200 |
commit | 983236ac3dfd0c455a0ac910a9a468ea2c81e5d9 (patch) | |
tree | 2cc031d1ee5e38edc4897691a3d7029b7125c4aa /pyGHDL/lsp/workspace.py | |
parent | bcd26f428e704eef5ef665bea7448f3990b5e010 (diff) | |
parent | 79d7e4f88b5ea170386628e3d2d00a1bd9634154 (diff) | |
download | ghdl-983236ac3dfd0c455a0ac910a9a468ea2c81e5d9.tar.gz ghdl-983236ac3dfd0c455a0ac910a9a468ea2c81e5d9.tar.bz2 ghdl-983236ac3dfd0c455a0ac910a9a468ea2c81e5d9.zip |
Fix Codacy issues
Diffstat (limited to 'pyGHDL/lsp/workspace.py')
-rw-r--r-- | pyGHDL/lsp/workspace.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pyGHDL/lsp/workspace.py b/pyGHDL/lsp/workspace.py index bef20a872..cb392be9b 100644 --- a/pyGHDL/lsp/workspace.py +++ b/pyGHDL/lsp/workspace.py @@ -4,7 +4,7 @@ import json from ctypes import byref import pyGHDL.libghdl as libghdl import pyGHDL.libghdl.errorout_memory as errorout_memory -import pyGHDL.libghdl.flags +import pyGHDL.libghdl.flags as flags import pyGHDL.libghdl.errorout as errorout import pyGHDL.libghdl.files_map as files_map import pyGHDL.libghdl.libraries as libraries @@ -12,7 +12,7 @@ import pyGHDL.libghdl.name_table as name_table import pyGHDL.libghdl.vhdl.nodes as nodes import pyGHDL.libghdl.vhdl.lists as lists import pyGHDL.libghdl.vhdl.std_package as std_package -import pyGHDL.libghdl.vhdl.parse +import pyGHDL.libghdl.vhdl.parse as parse import pyGHDL.libghdl.vhdl.sem_lib as sem_lib import pyGHDL.libghdl.utils as pyutils @@ -44,15 +44,15 @@ class Workspace(object): self._prj = {} self._last_linted_doc = None errorout_memory.Install_Handler() - libghdl.flags.Flag_Elocations.value = True - # libghdl.Flags.Verbose.value = True + flags.Flag_Elocations.value = True + # flags.Verbose.value = True # We do analysis even in case of errors. - libghdl.vhdl.parse.Flag_Parse_Parenthesis.value = True + parse.Flag_Parse_Parenthesis.value = True # Force analysis to get more feedback + navigation even in case # of errors. - libghdl.flags.Flag_Force_Analysis.value = True + flags.Flag_Force_Analysis.value = True # Do not consider analysis order issues. - libghdl.flags.Flag_Elaborate_With_Outdated.value = True + flags.Flag_Elaborate_With_Outdated.value = True libghdl.errorout.Enable_Warning(errorout.Msgid.Warnid_Unused, True) self.read_project() self.set_options_from_project() |