mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Both linters are pretty common among modern python code bases. The isort tool provides stable sorting and grouping, as well as pruning of unused imports. Ruff is a modern linter, that is very fast due to being written in rust. It can detect many common issues in a python codebase. Removes the pylint dev requirement, since ruff replaces it.
5 lines
61 B
TOML
5 lines
61 B
TOML
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.ruff]
|
|
ignore = ["E501"] |