Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP8, flake8 and sphinx RST fixes #310

Merged
merged 5 commits into from
Sep 22, 2019
Merged

PEP8, flake8 and sphinx RST fixes #310

merged 5 commits into from
Sep 22, 2019

Conversation

taldcroft
Copy link
Member

@taldcroft taldcroft commented Sep 14, 2019

This is the beginning of the end of PEP8 and flake8 violations in Ska3 code. I'm using the following for my ~/.config/pycodestyle file (which also controls autopep8):

[pycodestyle]
max-line-length = 100

I've applied for GitHub actions for the sot org. When we get accepted then we'll start enforcing flake8 compliance for merge. E.g. https://github.com/actions/starter-workflows/blob/master/ci/python-package.yml.

@taldcroft taldcroft changed the title PEP8 and sphinx RST fixes PEP8, flake8 and sphinx RST fixes Sep 14, 2019
@@ -9,7 +9,6 @@
import numpy as np
from scipy import ndimage, stats
from scipy.interpolate import interp1d
from astropy.table import Table
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am assuming that this was imported and not used.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct.

Copy link
Member Author

@taldcroft taldcroft Sep 20, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did run tests, but it isn't a bad idea as reviewer to just independently check out the repo in this branch and run python setup.py test or pytest proseco. Then you will know for sure about the import.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants