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 basic static analysis for python files. #4301

Open
jurgenwigg opened this issue Jan 27, 2023 · 0 comments
Open

Add basic static analysis for python files. #4301

jurgenwigg opened this issue Jan 27, 2023 · 0 comments

Comments

@jurgenwigg
Copy link

⚠️ Add basic static analysis for python files.

📝 Description

Basic static analysis for python files could be added as a part of the code review. It would help to introduce some coding standards, i.e. PEP8. There are a lot of tools dedicated to that.

📝 Describe the solution you'd like

I would use pylint for checking if the file is properly formatted for the start. Because at this moment there are a lot of files that don't comply with any python coding guideline mechanism for checking only the newest changes could be also implemented.

Pylint also helps to improve the code itself by proposing changing some expressions to the generator, for example, it detects some unreachable code or variables that are named in not the pythonic way.

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