Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Pass `--fix` option to Ruff in pre-commit (#1853)

Mohammad Yasir843b67faf2ea
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0f12317ef..2f3288f2d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -57,6 +57,8 @@ repos:
rev: "v0.0.261"
hooks:
- id: ruff
+ args:
+ - --fix
- repo: https://github.com/ambv/black
rev: 23.3.0