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

Lint: add ruff for linting and formatting #1029

Merged
merged 11 commits into from
Dec 17, 2024
Merged

Conversation

almet
Copy link
Contributor

@almet almet commented Dec 12, 2024

Supersedes #1019, in order to have the CI pass (due to #1028). Thanks @jkarasti for the work on this :-)

apyrgio and others added 11 commits December 17, 2024 17:41
Ignore the CVE-2024-11053 vulnerability, since it's a libcurl one, and
the Dangerzone container does not make network calls.

Also, clear the previous vulnerabilities, now that we have a new image
out.
- Use `ruff` instead of `black` and `isort` in the `lint` target for linting and code formatting.

- Add a new target `fix` which applies all suggestions from `ruff check` and `ruff format`.
@almet almet force-pushed the ruff-lint-and-format-almet branch from f10337d to eb34556 Compare December 17, 2024 16:46
@almet almet merged commit eb34556 into main Dec 17, 2024
46 checks passed
@almet almet deleted the ruff-lint-and-format-almet branch December 17, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants