• Jean-Noël Grad's avatar
    Refactor and cleanup code with pylint · f5e2b95a
    Jean-Noël Grad authored
    Remove unused variables/arguments and superfluous parentheses,
    merge chained calls to `isinstance()`, merge value checks via
    `in`, make optional argument values immutable, iterate dict keys
    directly, class methods take `cls` instead of `self` as first
    argument, use raw strings in regex patterns, etc. Pylint rules: