forked from 0ad/0ad
Dunedan
d055090dd2
Add configuration for pre-commit, ruff as a hook and configuration to run ruff whenever a pull request is opened or code is pushed.
11 lines
136 B
TOML
11 lines
136 B
TOML
line-length = 99
|
|
|
|
[lint.isort]
|
|
lines-after-imports = 2
|
|
|
|
[lint.pycodestyle]
|
|
max-doc-length = 72
|
|
|
|
[lint.pydocstyle]
|
|
convention = "pep257"
|