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 python linter #1010

Open
IamRezaMousavi opened this issue Sep 5, 2024 · 3 comments
Open

Add python linter #1010

IamRezaMousavi opened this issue Sep 5, 2024 · 3 comments
Labels

Comments

@IamRezaMousavi
Copy link
Contributor

I suggest you use Ruff to lint and format the code.

I would like to work on this :)

@alireza-amirsamimi
Copy link
Member

Hello
We use PEP8.

@IamRezaMousavi
Copy link
Contributor Author

IamRezaMousavi commented Sep 5, 2024

Ruff says:

Ruff can be used to replace Flake8 (plus dozens of plugins), Black, isort, pydocstyle, pyupgrade, autoflake, and more, all while executing tens or hundreds of times faster than any individual tool

It's not just a formatter, it's a powerful linter
(and also supports pep8)

@alireza-amirsamimi
Copy link
Member

Although it is not easy for me to break old habits, but I will try as soon as possible. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants