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

Add additional python linters pre-commit config #137

Merged
merged 4 commits into from Oct 23, 2021
Merged

Add additional python linters pre-commit config #137

merged 4 commits into from Oct 23, 2021

Conversation

Kineolyan
Copy link
Contributor

The documentation mentions that files should be formatted according to black conventions.
At the same time, in recent PRs, it was pointed that imports should be sorted according to PEP8 conventions.

Not to bother reviewers with such basic checks, I propose adding them to the list of checks performed by pre-commit.

Because it is the standard method to lint the code, we could refer to it in the documentation for CLI users. I checked but I haven't found a default way to bind it to save in VS code.

While this is currently working, I would like to find one other pre-commit plugin, in order to check that all functions have types. I will keep looking.

@aaryanrr
Copy link
Collaborator

Hey @Kineolyan , thanks again for your continued contribution to the library. We'll review the PR soon and you'll be updated accordingly.

@aaryanrr aaryanrr added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 21, 2021
@Ankit404butfound Ankit404butfound merged commit 0642d5a into Ankit404butfound:master Oct 23, 2021
@aaryanrr
Copy link
Collaborator

Hey @Kineolyan , thanks for your contribution. We have merged this PR to the master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants