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

#164243636 Implement pep8 standards on codebase #11

Merged
merged 1 commit into from
Mar 1, 2019

Conversation

ElMonstro
Copy link
Contributor

What does this PR do?

Adds testing of code for PEP8 style guide compliance

Description of Task to be completed?

  • Add PEP8 checking packages
  • Add PEP8 testing script to travis.yml

How should this be manually tested?

  • Clone this repo git clone -b origin/ch-implement-pep8-164243636 https://github.com/andela/ah-legion-backend.git
  • Install dependencies with the command pip install -r requirements.txt from the root folder.
  • Run find ./authors/ -name \*.py -exec flake8 -v {} +

Any background context you want to provide?

PEP8 styled code is highly readable and easier to maintain

What are the relevant pivotal tracker stories?

#164243636

Copy link
Contributor

@Etomovich Etomovich left a comment

Choose a reason for hiding this comment

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

LGTM

@ElMonstro ElMonstro force-pushed the ch-implement-pep8-164243636 branch from da05689 to 43b2368 Compare March 1, 2019 09:27
Copy link
Contributor

@cob04 cob04 left a comment

Choose a reason for hiding this comment

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

0 violations and 0 reported. Looks good

Copy link
Contributor

@MandelaK MandelaK 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 okay

.flake8 Outdated Show resolved Hide resolved
@ElMonstro ElMonstro force-pushed the ch-implement-pep8-164243636 branch from 43b2368 to 8cda689 Compare March 1, 2019 10:52
.travis.yml Outdated Show resolved Hide resolved
 install flake8 and create .flake8 config file
- add flake8 script to .travis.yml
- fix pep8 errors on codebase

[Finishes #164243636]
@ElMonstro ElMonstro force-pushed the ch-implement-pep8-164243636 branch from 8cda689 to 5ce5c6c Compare March 1, 2019 10:59
Copy link
Contributor

@abulojoshua1 abulojoshua1 left a comment

Choose a reason for hiding this comment

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

LGTM

@abulojoshua1 abulojoshua1 merged commit 3348944 into develop Mar 1, 2019
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.

None yet

6 participants