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

PEP8 Enhancement #1

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

PEP8 Enhancement #1

wants to merge 9 commits into from

Conversation

jpcadena
Copy link

@jpcadena jpcadena commented May 24, 2023

Hello dear Camila,

This PR contains several enhancements to the repository as outlined below:

  1. PEP8 Compliance: The Python code in this project has been refactored to comply with PEP8 style guidelines. This will make it easier for other developers to read and understand the code.

  2. Code Comments and Documentation: Additional docstrings with reStructured Text format have been added throughout the codebase to explain what each section of the code is doing. A more detailed explanation has also been provided in the README file on how to manage the GitHub process.

  3. Linter Addition: Pylint has been added to the project to automatically check the code for potential errors and enforce some parts of the PEP8 guideline. I also added its specific GitHub Action in the workflow so the yml file can be used to work in a similar way to the pre-commit hook.

  4. Formatter Addition: Black has been added to the project. This will help maintain the consistency of the code's appearance, making it easier to read and understand.

  5. Pre-commit Hook: As a bonus, a pre-commit hook has been set up to automatically run the linter and formatter before each commit.

  6. MyPy: Another bonus. MyPY has been added, which is an optional static type checker for the type hints/annotations on variables and functions in the project.

I believe these changes will greatly improve the readability and maintainability of the code. I look forward to your feedback.

Best regards,
Juan Pablo Cadena Aguilar

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.

1 participant