Skip to content

Commit

Permalink
Merge pull request #63 from lsst/tickets/DM-16296-meas_deblender
Browse files Browse the repository at this point in the history
DM-16296: Flake8 fixes
  • Loading branch information
timj committed Oct 24, 2018
2 parents 73415e6 + ff3d4d8 commit 4f78f78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/lsst/meas/deblender/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def buildMultibandTemplates(debResult, log, useWeights=False, usePsf=False,
log.warn(e.args[0])
debResult.failed = True
return False
except np.linalg.LinAlgError as e:
except np.linalg.LinAlgError:
log.warn("Deblend failed catastrophically, most likely due to no signal in the footprint")
debResult.failed = True
return False
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[flake8]
max-line-length = 110
# TODO: remove E266 when Task documentation is converted to rst in DM-14207.
ignore = E133, E226, E228, N802, N803, N806, E266
ignore = E133, E226, E228, N802, N803, N806, E266, W504
exclude = __init__.py

[tool:pytest]
addopts = --flake8
flake8-ignore = E133 E226 E228 N802 N803 N806
flake8-ignore = E133 E226 E228 N802 N803 N806 W504
# TODO: remove E266 lines when Task documentation is converted to rst in DM-14207.
deblend.py E266
deblend.py E266

0 comments on commit 4f78f78

Please sign in to comment.