1. 03 Apr, 2019 1 commit
  2. 15 Jan, 2019 1 commit
    • Alicia Boya García's avatar
      pre-commit-python: Allow line breaks between binary operators · 43839329
      Alicia Boya García authored
      pre-commit-python overrides the list of ignored Python style errors.
      Unfortunately, before this patch the list did not exclude W503 and
      W504 (which are otherwise ignored by default).
      
      The consequence of having those two warnings enabled at the same time is
      that it's not possible to break lines on binary operators, which is an
      unreasonable unintentional restriction:
      
        'validateflow': "validateflow, expectations-dir=\"" +
                        expectations_dir + "\", actual-results-dir=\"" +
                        actual_results_dir + "\"",
      
      W504 line break after binary operator
      
        'validateflow': "validateflow, expectations-dir=\""
                        + expectations_dir + "\", actual-results-dir=\""
                        + actual_results_dir + "\"",
      
      W503 line break before binary operator
      
      This patch excludes W503 so that there is a valid style for breaking
      lines on binary operators.
      43839329
  3. 15 Apr, 2018 1 commit
  4. 13 Apr, 2018 1 commit
  5. 09 Nov, 2016 1 commit
  6. 30 Sep, 2016 1 commit