Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ disable=
consider-using-in,
too-many-nested-blocks,
too-many-public-methods,
consider-using-sys-exit,
chained-comparison,
too-many-instance-attributes,
too-many-boolean-expressions,
Expand Down
2 changes: 1 addition & 1 deletion addons/naming.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def validate_regex(expr):
re.compile(expr)
except re.error:
print('Error: "{}" is not a valid regular expression.'.format(expr))
exit(1)
sys.exit(1)


RE_VARNAME = None
Expand Down
2 changes: 1 addition & 1 deletion htmlreport/cppcheck-htmlreport
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ def main() -> None:
sys.argv[1]
except IndexError: # no arguments give, print --help
parser.print_help()
quit()
sys.exit(0)

if not options.report_dir:
parser.error('No report directory set.')
Expand Down
Loading