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

ci: static code analysis #11

Open
AngryMaciek opened this issue Sep 24, 2021 · 0 comments
Open

ci: static code analysis #11

AngryMaciek opened this issue Sep 24, 2021 · 0 comments

Comments

@AngryMaciek
Copy link

I would suggest to introduce a CI workflow which could run a static code analysis for python scripts; flake8 is a popular linter for python. That way you would ensure that the code inside the repository complies with the community standards. You can find an example here. If you are overzealous like I am you may also use black formatter and introduce CI checks for it too (just like in the exapmle above) but that is not necessary. Remember that the behaviour of both tools you can customize to your liking with configfiles.

Such a CI workflow should, of course, contribute a nice shield to the README file. Black has its own shield too.

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

No branches or pull requests

1 participant