Skip to content
Snippets Groups Projects
  1. Jun 08, 2020
    • Georges Racinet's avatar
      Ignoring PEP8 rule about line breaks before binary operators · ba173edd962c
      Georges Racinet authored
      I was glad not to see the stupidest of all rules any more, turns
      out that was only because we were running an old version of flake8.
      
      In a nutshell, this rule is harmful, line breaks before binary
      *boolean* operators are useful for clarity.
      
      I've grumpily tolerated this rule in the past on new codebases.
      Won't waste time on it for an existing code base because of a linter
      version change.
      ba173edd962c
    • Georges Racinet's avatar
      Ignoring pep8 ambiguous identifier error (E741) · dd3b2594f868
      Georges Racinet authored
      We're using 'l' as identifier only when there's no ambiguity
      (very short-lived loop where it essentially doesn't matter and
      can't be confused with '1' in context)
      dd3b2594f868
Loading