diff --git a/.gitignore b/.gitignore index 2ecc92aad..7545baa1d 100644 --- a/.gitignore +++ b/.gitignore @@ -36,5 +36,6 @@ verilator_coverage_bin* verilator.pc verilator-config.cmake verilator-config-version.cmake +**/__pycache__/* **/_build/* **/obj_dir/* diff --git a/Makefile.in b/Makefile.in index de87a7a68..c3dbbb6da 100644 --- a/Makefile.in +++ b/Makefile.in @@ -508,8 +508,8 @@ PYLINT = pylint PYLINT_FLAGS = --disable=R0801 lint-py: - $(FLAKE8) $(FLAKE8_FLAGS) $(PY_PROGRAMS) - $(PYLINT) $(PYLINT_FLAGS) $(PY_PROGRAMS) + -$(FLAKE8) $(FLAKE8_FLAGS) $(PY_PROGRAMS) + -$(PYLINT) $(PYLINT_FLAGS) $(PY_PROGRAMS) format-pl-exec: -chmod a+x test_regress/t/*.pl diff --git a/docs/install.rst b/docs/install.rst index 0a47b3822..f6f7a2031 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -362,7 +362,7 @@ Some relevant files and directories in this package are as follows: :: Changes => Version history - README.rst => This document + README.rst => This document bin/verilator => Compiler wrapper invoked to Verilate code docs/ => Additional documentation examples/make_hello_c => Example GNU-make simple Verilog->C++ conversion diff --git a/nodist/code_coverage b/nodist/code_coverage index 44efa6d0f..3e70bbb36 100755 --- a/nodist/code_coverage +++ b/nodist/code_coverage @@ -47,7 +47,7 @@ def test(): # to uncovered (in G++ 9.3.0) even with all inlining turned off. # Having false negative coverage is more effort then missing negatives. # Also this seems to explode the runtime (since a lot more data). - #+ " -fkeep-inline-functions" + # + " -fkeep-inline-functions" # Otherwise static may not show as uncovered + " -fkeep-static-functions" # Exceptions can pollute the branch coverage data diff --git a/src/astgen b/src/astgen index a78973055..a5057b7a8 100755 --- a/src/astgen +++ b/src/astgen @@ -602,7 +602,8 @@ def write_type_enum(fh, typen, idx, processed, kind, indent): def write_types(filename): with open_file(filename) as fh: fh.write(" enum en : uint16_t {\n") - (final, last) = write_type_enum(fh, "Node", 0, {}, "concrete-enum", 2) + (final, ignored) = write_type_enum( # pylint: disable=W0612 + fh, "Node", 0, {}, "concrete-enum", 2) fh.write(" _ENUM_END = " + str(final) + "\n") fh.write(" };\n")