-
Notifications
You must be signed in to change notification settings - Fork 3
Code Checklist
Anusid W edited this page Nov 13, 2020
·
1 revision
(inspired by https://www.fafadiatech.com/blog/pro-tip-code-review-checklistdjango-covered/)
- Imports are sorted according to convection ( run PEP8 )
- Code conforms to PEP8 ( run
flake8) - Docstring in PEP8
- Code has tests
- Code coverage is high (run
coverage) - Clear READEME.md
- No typos and grammatical errors in code
- No unused variable
- Variables have clear and explicit names
- Classes should be small
- Functions should be small
- Avoid Duplication
- Code is obvious for other programmers
- Styling is working
- All functionality should be working properly
- Have try-except block to handle errors
- Tests cover normal case
- Tests cover border case
- Tests cover extreme case