Open michael-etzkorn opened 2 years ago
@Paebbels brought up a couple of good issues in #4 that are present in main.
class VhdlObject(obect):
class VhdlObject:
.format
f""
os.path.splitext(fname)[1].lower() in ('.vhdl', '.vhd')
pathlib
Finally, while not directly Python 2 related. There's the issue of Sphinx's parsing of arguments for documentation:
Args:
:param [ParamName]:
@Paebbels brought up a couple of good issues in #4 that are present in main.
class VhdlObject(obect):
should beclass VhdlObject:
(fixed in #4).format
instead off""
(fixed in https://github.com/hdl/pyHDLParser/pull/6)os.path.splitext(fname)[1].lower() in ('.vhdl', '.vhd')
should usepathlib
insteadFinally, while not directly Python 2 related. There's the issue of Sphinx's parsing of arguments for documentation:
Args:
should be:param [ParamName]:
See Writing docstrings - Sphinx-RTD-Tutorial