Skip to content

Commit

Permalink
Merge pull request #144 from lsst/tickets/DM-23173-obs_decam
Browse files Browse the repository at this point in the history
DM-23173: Change W504 to W503 and fix flake8 warnings
  • Loading branch information
r-owen committed Apr 27, 2020
2 parents 85fbfd3 + 2764922 commit 0afad47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions python/lsst/obs/decam/decamMapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ def __init__(self, inputPolicy=None, **kwargs):
DecamMapper._nbit_tract = 10
DecamMapper._nbit_patch = 10
DecamMapper._nbit_filter = 4
DecamMapper._nbit_id = 64 - (DecamMapper._nbit_tract +
2*DecamMapper._nbit_patch +
DecamMapper._nbit_filter)
DecamMapper._nbit_id = 64 - (DecamMapper._nbit_tract
+ 2*DecamMapper._nbit_patch
+ DecamMapper._nbit_filter)

def _extractDetectorName(self, dataId):
copyId = self._transformId(dataId)
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[flake8]
max-line-length = 110
# TODO: remove E266 when Task documentation is converted to rst in DM-14207.
ignore = E133, E226, E228, E266, N802, N803, N806, N812, N815, N816, W504
ignore = E133, E226, E228, E266, N802, N803, N806, N812, N815, N816, W503
exclude =
__init__.py
config/*
Expand All @@ -12,6 +12,6 @@ exclude =

[tool:pytest]
addopts = --flake8
flake8-ignore = E133 E226 E228 N802 N803 N806 N812 N815 N816 W504
flake8-ignore = E133 E226 E228 N802 N803 N806 N812 N815 N816 W503
# TODO: remove E266 lines when Task documentation is converted to rst in DM-14207.
python/lsst/obs/decam/decamNullIsr.py E266

0 comments on commit 0afad47

Please sign in to comment.