pmem / rpma

Remote Persistent Memory Access Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pylint: disable pylint in failing EOL OSes

ldorau opened this issue · comments

  1. Disable pylint in failing EOL OSes:
  2. Turn on the "len-as-condition" pylint check

See: #1319

Error:
/rpma/tools/perf/lib/figure.py:300:19: C1801: Do not use len(SEQUENCE) to determine if a sequence is empty (len-as-condition)

Failing OSes:
https://github.com/ldorau/rpma/runs/4239593859

This is a bug in Pylint (pylint-dev/pylint#2684), fixed as of Pylint 2.4 (pylint-dev/pylint#2815)