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 #21

Open
SillyInventor opened this issue Feb 21, 2018 · 0 comments
Open

Linting #21

SillyInventor opened this issue Feb 21, 2018 · 0 comments
Assignees

Comments

@SillyInventor
Copy link
Collaborator

Install flake8
Create file setup.cfg, and add the lines:

[flake8]
exclude=migrations, static, collected_static
max-line-length = 119

Add the command flake8 . to the travis.yml script
Run flake8 . locally, go through and eliminate all the errors
Consider using autoflake to remove errors

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

No branches or pull requests

2 participants