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

Linting #57

Merged
merged 17 commits into from
Apr 17, 2019
Merged

Linting #57

merged 17 commits into from
Apr 17, 2019

Conversation

robpkelly
Copy link
Contributor

  • Using flake8 for linting
  • CI runs linting phase before tests
  • Style errors will fail builds on beta & master branches
  • Syntax errors & undefined names will fail builds on all branches
  • Fixed undefined names (closes Undefined names (low priority) #54)

@robpkelly
Copy link
Contributor Author

@enielse please check each undefined name fix carefully -- I made some educated guesses

@robpkelly robpkelly mentioned this pull request Apr 17, 2019
Copy link
Collaborator

@enielse enielse left a comment

Choose a reason for hiding this comment

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

Everything looks good here. Possible minor changes:

  • add "as _basis_build_vector" to change "from ..construction import basis_build_vector" in cloudnoise.py to avoid having imports in namespace?
  • change loop variable from p to dp in termevaltree.py because this is the derivative of a poly.

Both of these changes are just style, and don't affect functionality, so I'm approving.

@enielse enielse merged commit 130dc76 into develop Apr 17, 2019
@enielse enielse deleted the feature-linting branch April 17, 2019 14:45
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