Open dtemir opened 2 years ago
@dtemir, a great suggestion I was thinking about that too. maybe Labgraph can use GitHub pre-commit hook to automate the formating (Black) and linting (Flake8) process.
@dtemir, a great suggestion I was thinking about that too. maybe Labgraph can use GitHub pre-commit hook to automate the formating (Black) and linting (Flake8) process.
Awesome idea. Looking into that right now.
Never built pre-commit hooks before. I was mostly thinking of a Makefile, but automating would good!
🚀 Feature
I think it would be a good idea to use Black https://github.com/psf/black as a code formatter to set a code style.
Motivation
I just think it would be a good idea to set a standard across the entire project.
I ran
black .
on the entire repository and got this. It looks like it would be especially useful to make extensions more readable.