summarylogtreecommitdiffstats
path: root/strip-formatter-deps.patch
blob: b9557b0206cd93386434cbc86dcfc2894d5081d2 (plain)
1
2
3
4
5
6
7
8
9
 Remove dependency on dev-python/black used to format the generated hooks.py
file as it's not relevant in a packaging use case.
--- a/pylib/tools/hookslib.py
+++ b/pylib/tools/hookslib.py
@@ -205,4 +205,3 @@

     with open(path, "wb") as file:
         file.write(code.encode("utf8"))
-    subprocess.run([sys.executable, "-m", "ruff", "format", "-q", path], check=True)