mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
Fix pylint warnings.
This commit is contained in:
parent
e94cdcf29c
commit
361cef4633
@ -391,7 +391,7 @@ yapf:
|
|||||||
FLAKE8 = flake8
|
FLAKE8 = flake8
|
||||||
FLAKE8_FLAGS = \
|
FLAKE8_FLAGS = \
|
||||||
--extend-exclude=fastcov.py \
|
--extend-exclude=fastcov.py \
|
||||||
--ignore=E123,E129,E251,E501,W503,W504,E701
|
--ignore=E123,E129,E251,E402,E501,W503,W504,E701
|
||||||
|
|
||||||
PYLINT = pylint
|
PYLINT = pylint
|
||||||
PYLINT_FLAGS = --disable=R0801
|
PYLINT_FLAGS = --disable=R0801
|
||||||
|
@ -38,7 +38,7 @@ def diff_dir(a, b):
|
|||||||
|
|
||||||
anyfile = False
|
anyfile = False
|
||||||
for base in sorted(files.keys()):
|
for base in sorted(files.keys()):
|
||||||
if (not 'a' in files[base]) or (not 'b' in files[base]):
|
if ('a' not in files[base]) or ('b' not in files[base]):
|
||||||
continue
|
continue
|
||||||
a = files[base]['a']
|
a = files[base]['a']
|
||||||
b = files[base]['b']
|
b = files[base]['b']
|
||||||
|
@ -149,7 +149,8 @@ def report():
|
|||||||
for thread in Threads:
|
for thread in Threads:
|
||||||
# Make potentially multiple characters per column
|
# Make potentially multiple characters per column
|
||||||
for start in Threads[thread]:
|
for start in Threads[thread]:
|
||||||
if not Threads[thread][start]: continue
|
if not Threads[thread][start]:
|
||||||
|
continue
|
||||||
cpu = Threads[thread][start]['cpu']
|
cpu = Threads[thread][start]['cpu']
|
||||||
elapsed = Threads[thread][start]['end'] - start
|
elapsed = Threads[thread][start]['end'] - start
|
||||||
if cpu not in Global['cpus']:
|
if cpu not in Global['cpus']:
|
||||||
|
Loading…
Reference in New Issue
Block a user