Skip to content

Commit

Permalink
Merge pull request #92 from pllim/fix-jenkins
Browse files Browse the repository at this point in the history
TST: Change Jenkins container
  • Loading branch information
pllim committed Jun 13, 2019
2 parents bbf8dd0 + 514f0cc commit d969df6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if (utils.scm_checkout()) return

// Define each build configuration, copying and overriding values as necessary.
bc0 = new BuildConfig()
bc0.nodetype = "linux-stable"
bc0.nodetype = "linux"
bc0.name = "egg"
bc0.build_cmds = ["python setup.py egg_info"]

Expand Down
2 changes: 1 addition & 1 deletion acstools/acs_destripe_plus.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def _read_DQ_arrays(flt_name):

def _get_mask(scimask, n):
if isinstance(scimask, str):
if scimask.strip() is '':
if scimask.strip() == '':
mask = None
else:
mask = fits.getdata(scimask)
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ junit_family=xunit2
# E265: block comment should start with '#'
# E501: line too long
# E704: multiple statements on one line (def)
ignore = E221,E226,E262,E265,E501,E704
# W504: line break after binary operator
ignore = E221,E226,E262,E265,E501,E704,W504
exclude = setup.py,__init__.py

0 comments on commit d969df6

Please sign in to comment.