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

project: automatic formatting&format checking with ruff #80

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

xmkg
Copy link
Contributor

@xmkg xmkg commented Aug 20, 2024

format existing code with ruff, also add "ruff-format" and "ruff-format-check" targets.

Limit "ruff*" tox targets to >=py37 since ruff is not available for py36.

Add "ruff-format-check" to CI pipeline.

Re-enable isolated_build for tox.

Closes: SET-982

@xmkg xmkg force-pushed the enhancement/ruff-format branch 2 times, most recently from aeace52 to 01392a4 Compare August 20, 2024 10:55
format existing code with ruff, also add "ruff-format" and
"ruff-format-check" targets.

Limit "ruff*" tox targets to >=py37 since ruff is not available
for py36.

Add "ruff-format-check" to CI pipeline.

Re-enable isolated_build for tox.

Closes: SET-982
Signed-off-by: Mustafa Kemal Gilor <mustafa.gilor@canonical.com>
@xmkg xmkg force-pushed the enhancement/ruff-format branch from 01392a4 to 7df1d2f Compare August 20, 2024 10:57
@xmkg xmkg merged commit 5a2382a into canonical:main Aug 20, 2024
9 checks passed
@xmkg xmkg deleted the enhancement/ruff-format branch August 20, 2024 12:06
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

Successfully merging this pull request may close these issues.

1 participant