Closed A-CGray closed 2 years ago
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
W503
flake8
black
Turns out W503 should already be ignored by default, there must be something wrong with my local setup
Purpose
flake8 currently flags code like this as wrong due to a line break before a binary operator (the + symbol):
However, by flake8's own admission, this is actually considered best practice by PEP.
We should therefore ignore
W503
to remove these warningsExpected time until merged
Type of change
Testing
Checklist
flake8
andblack
to make sure the code adheres to PEP-8 and is consistently formatted