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 for linting and formatting #73

Merged
merged 2 commits into from
Sep 23, 2024
Merged

[MISC] Switch to ruff for linting and formatting #73

merged 2 commits into from
Sep 23, 2024

Conversation

dragomirp
Copy link
Contributor

@dragomirp dragomirp commented Sep 20, 2024

Ruff is the default linter in newly generated charms.

@@ -9,6 +9,7 @@ env_list = format, lint, unit
[vars]
src_path = {tox_root}/src
tests_path = {tox_root}/tests
test_charm_libs_path = {[vars]tests_path}/integration/app-charm/lib/
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We shouldn't touch the libs in the test charm.

Copy link
Contributor

@taurus-forever taurus-forever Sep 22, 2024

Choose a reason for hiding this comment

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

Should we release it as data-test-app (at least the separate charm and maybe Git repo...)? :-)

@dragomirp dragomirp marked this pull request as ready for review September 20, 2024 15:25
Copy link
Contributor

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

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

Nice. Thank you!

@welpaolo welpaolo merged commit 05d4fc7 into main Sep 23, 2024
59 checks passed
@welpaolo welpaolo deleted the ruff branch September 23, 2024 08:28
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