Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: coadd_utils, display_ds9
-
Labels:
-
Story Points:0.5
-
Epic Link:
-
Sprint:AP F18-1
-
Team:Alert Production
Description
We are still using the old `file` class in some Python code, even though it is not available in Python 3. It should be replaced with `open`.
Also, pep8 catches this so I suggest making the packages pep8 compliant, enabling automatic checking and removing python 2 support (all of which should be trivial).
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Risk Score | 0 |
Assignee | Russell Owen [ rowen ] |
Reviewers | Tim Jenness [ tjenness ] | |
Status | To Do [ 10001 ] | In Review [ 10004 ] |
Epic Link |
|
Sprint | AP F18-1 [ 746 ] | |
Story Points | 0.5 | |
Team | Alert Production [ 10300 ] | |
Labels | SciencePipelines |
Description |
We are still using the old `file` class in some Python code, even though it is not available in Python 3. It should be replaced with `open`.
Also, pep8 catches this so I suggest that the packages in question be made pep8 compliant and automatic checking enabled. |
We are still using the old `file` class in some Python code, even though it is not available in Python 3. It should be replaced with `open`.
Also, pep8 catches this so I suggest making the packages pep8 compliant, enabling automatic checking and removing python 2 support (all of which should be trivial). |
Status | In Review [ 10004 ] | Reviewed [ 10101 ] |
Resolution | Done [ 10000 ] | |
Status | Reviewed [ 10101 ] | Done [ 10002 ] |
Please have a look. I did not work on doc string or comment length (except in a few cases where it was trivial, in passing).
Once this is merged one of us make travis checking required for merging to master for both packages.