Skip to content

Introduces linting (tox/flake8)#1283

Merged
tshirtman merged 2 commits into
kivy:masterfrom
AndreMiras:feature/tox_flake8_testing
May 21, 2018
Merged

Introduces linting (tox/flake8)#1283
tshirtman merged 2 commits into
kivy:masterfrom
AndreMiras:feature/tox_flake8_testing

Conversation

@AndreMiras

Copy link
Copy Markdown
Member

Makes sure lint checks are ran before docker build so we fail fast.
Currently flake8 errors are ignored except for E101 and W191.
This will demonstrate the fail fast case.
Next commit will fix these two errors in the code base.

Makes sure lint checks are ran before `docker build` so we fail fast.
Currently `flake8` errors are ignored except for `E101` and `W191`.
This will demonstrate the fail fast case.
Next commit will fix these two errors in the code base.
@AndreMiras

Copy link
Copy Markdown
Member Author

Build is failing as expected. Second commit fixes linter errors and (hopefully) the build.

@AndreMiras AndreMiras force-pushed the feature/tox_flake8_testing branch from 8a6924e to 4e13ba7 Compare May 21, 2018 03:15
  - E101 indentation contains mixed spaces and tabs
  - W191 indentation contains tabs
@AndreMiras AndreMiras force-pushed the feature/tox_flake8_testing branch from 4e13ba7 to 1a650de Compare May 21, 2018 06:36
@AndreMiras

Copy link
Copy Markdown
Member Author

Second commit turns the build back green as expected :)
However, I had to retrigger a build because CrystaX download failed.

@tshirtman tshirtman merged commit 54a444b into kivy:master May 21, 2018
@AndreMiras AndreMiras deleted the feature/tox_flake8_testing branch October 6, 2018 17:40
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