nyu-devops-team / customers

The customers resource is a representation of the customer accounts of the eCommerce site
2 stars 1 forks source link

Pylint code #28

Closed nancywen25 closed 4 years ago

nancywen25 commented 4 years ago

As a developer I need make sure that Use my code conforms to the PEP8 Python standard So that the code is readable and in a standard format

Assumptions:

Acceptance Criteria:

Given pylint is run on the directory
At the end of the sprint
Then the pylint score must be above 90%
nancywen25 commented 4 years ago

Prof's suggestion: You can customize PyLint to ignore errors that are false positives using a .pylintrc file. I have one iin my lab-flask-bdd repo that looks like this: .pylintrc

[MESSAGES CONTROL]
disable=E1101

That will silence errors like: service/models.py:53:23: E1101: Instance of 'SQLAlchemy' has no 'Boolean' member (no-member)