mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Add configuration for pre-commit, ruff as a hook and configuration to run ruff whenever a pull request is opened or code is pushed.
10 lines
136 B
TOML
10 lines
136 B
TOML
line-length = 99
|
|
|
|
[lint.isort]
|
|
lines-after-imports = 2
|
|
|
|
[lint.pycodestyle]
|
|
max-doc-length = 72
|
|
|
|
[lint.pydocstyle]
|
|
convention = "pep257"
|