Automate the basic review process to the bot #8578
dhruvmanila
started this conversation in
Team Posts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been using the
fixitframework which is itself based onlibcstto create custom rules and lint all the Python files. The modulefixitprovides built-in rules with the package. Here's a link to the documentation forfixitand on the left side you will see the Rules section.I am thinking of integrating some of the useful ones in the bot. It's as simple as importing the rule class in the
__init__.pyof thealgorithms.parser.rulespackage, the rest will be taken care of by the code. A lot of them are taken directly from the PEP8 style guide.Some of the useful ones:
We can define any arbitrary rule, so if there is something that you have in mind, please do share.
Beta Was this translation helpful? Give feedback.
All reactions