mdolab / .github

0 stars 3 forks source link

Ignore W503 #38

Closed A-CGray closed 2 years ago

A-CGray commented 2 years ago

Purpose

flake8 currently flags code like this as wrong due to a line break before a binary operator (the + symbol):

income = (gross_wages
          + taxable_interest)

However, by flake8's own admission, this is actually considered best practice by PEP.

We should therefore ignore W503 to remove these warnings

Expected time until merged

Type of change

Testing

Checklist

A-CGray commented 2 years ago

Turns out W503 should already be ignored by default, there must be something wrong with my local setup