Systers, an AnitaB.org community
[Part 1 of 2] Pylint Check: Add pylint check in Travis file (Backend)
Intro
Pylint is a tool that checks for errors in Python code, tries to enforce a coding standard and looks for code smells. It can also look for certain type errors, it can recommend suggestions about how particular blocks can be refactored and can offer you details about the code's complexity.Travis CI is a hosted continuous integration service used to build and test software projects hosted at GitHub.The task requires you to add pylint check in the Travis script for continuous integration thus ensuring all the pull requests follow proper pep8 standards.
Prerequisite:
- Fork and clone Mentorship-Backend
- Run the project.
Steps:
- Modify the travis.yml file to install pylint.
- Add pylint check under the script section in travis.yml file.
Resources:
- Run pylint for Mentorship Backend (https://codein.withgoogle.com/dashboard/tasks/6264331625299968/)
- Learn more about travis
- Learn more about pylint
- Learn more about different coding styles like flake8, pep8, pylint
- If you need help or get lost, post a "New topic" in the quality-assurance-tasks stream.
Work Submission:
Create a pull request in Mentorship-Backend attached in pull request description.
Task tags
Students who completed this task
_daksha_, asawesome07, HardikJH