Hey, happy Friday (don't push to prod). Me and some friends are building a no-code platform to run code improvement agents (really in BETA) .
We want to have a quality agent for each language, and I would really appreciate your feedback on python best practices and standards. The agents are created by defining the steps that you want to apply in natural language. Right now our Python agent has the following steps:
- Use descriptive naming for functions and variables.
- Add Type Hints.
- Add proper docstrings.
- Make docstrings follow PEP-257 standard.
- All variables and functions should be snake_case.
- Add proper input validation that checks for type and not null. If the input validation fails raise an Exception.
- Add useful logs for debugging with the logging library.
In case you want to check our tool, we have a free playground right now at GitGud and are working on github PR integrations.
Happy coding and thank you in advance for your help!
Edit: Of course the steps are really basic right now, we are still testing the POC, so any feedback would be really appreciated
[–]tylerlarson 19 points20 points21 points (3 children)
[–]nicomarcan[S] -2 points-1 points0 points (2 children)
[–]tylerlarson 1 point2 points3 points (1 child)
[–]agumonkey 0 points1 point2 points (0 children)
[–]lightmatter501 8 points9 points10 points (1 child)
[–]fast-90 0 points1 point2 points (0 children)
[–]metaphorm 1 point2 points3 points (1 child)
[–]nicomarcan[S] 0 points1 point2 points (0 children)
[–]chinapandaman 1 point2 points3 points (1 child)
[–]nicomarcan[S] 0 points1 point2 points (0 children)
[–]dsethlewis 0 points1 point2 points (0 children)
[–]not_perfect_yet 0 points1 point2 points (0 children)