CI: Integrate pre-commit for style checks

This commit is contained in:
Thaddeus Crews
2024-11-14 14:08:49 -06:00
parent 5338ea5539
commit f70686cdbe
12 changed files with 30 additions and 62 deletions
+8
View File
@@ -0,0 +1,8 @@
[tool.ruff]
line-length = 120
[tool.codespell]
dictionary = ["_tools/codespell-dict.txt", "-"]
ignore-words = "_tools/codespell-ignore.txt"
exclude-file = "_tools/codespell-ignore-lines.txt"
skip = "tutorials/i18n/locales.rst"