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

[MISC] Switch to Ruff #130

Merged
merged 3 commits into from
Aug 22, 2023
Merged

[MISC] Switch to Ruff #130

merged 3 commits into from
Aug 22, 2023

Conversation

dragomirp
Copy link
Contributor

Issue

Charmcraft templates default to ruff as a linter and keeping flake8 depends on some packages that appear unmaintained

Solution

Switch to ruff while maintaining compatibility with preexisting checks

┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ relation (id: 2) ┃ pgbouncer-k8s ┃
┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
-----------------------------------------------------------------------------------------------------------------------
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ruff doesn't seem to like the horizontal lines.

@dragomirp dragomirp marked this pull request as ready for review August 18, 2023 10:20
@dragomirp dragomirp merged commit 9698a96 into main Aug 22, 2023
19 checks passed
@dragomirp dragomirp deleted the ruff branch August 22, 2023 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants