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

Run syntax checker during travis build #544

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

brarcher
Copy link
Contributor

In addition to running unit tests, these additional checks ensure that
certain failures will not make it into the code base unintentionally.

In addition to running unit tests, these additional checks ensure that
certain failures will not make it into the code base unintentionally.
@brarcher
Copy link
Contributor Author

The pyflakes tool has been useful for me on various python project, so perhaps it may be useful here.

There were only three minor warnings from pyflakes. Two of them are fixed in this pull request. The last I have not resolved, as I am not as familiar enough with the code. If running pyflakes is valuable, is the following issue something that could be resolved or is it a false positive:

lettuce/django/steps/models.py:260: import 'step' from line 19 shadowed by loop variable

@nikolas
Copy link
Contributor

nikolas commented May 17, 2017

great work - i recommend using flake8 which includes pyflakes, among other checks.

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