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

chore: switch to ruff for python formatting/linting #40681

Merged
merged 5 commits into from
Mar 27, 2024

Conversation

barredterra
Copy link
Collaborator

@barredterra barredterra commented Mar 26, 2024

Switch to ruff, in order to stay consistent with the framework. It's a replacement for black, isort and flake8.

Todo (after approval): bulk-format all files (ruff format .) and add commit to .git-ignore-revs.

@barredterra barredterra requested a review from ankush March 26, 2024 11:23
@ankush ankush removed their request for review March 26, 2024 16:13
@ankush
Copy link
Member

ankush commented Mar 26, 2024

@akhilnarang can you look into this too. Lets move ERPNext and later HRMS too to same config. There are some improvements over flake8 (like that variable checking rule!)

barredterra and others added 5 commits March 27, 2024 16:06
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Fixup some tests for py312

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants