mirror of
https://github.com/searxng/searxng.git
synced 2026-06-11 04:17:50 +02:00
41c98b3b41
The default Helix configuration for Python is different, so the pylint warnings aren't shown and the formatter re-formats files by accident when you edit an existing file. Therefore, this commit adds `python` language configuration to ease developing SearXNG with Helix Editor [^1]. [^1]: https://helix-editor.com
11 lines
224 B
TOML
11 lines
224 B
TOML
[[language]]
|
|
name = "python"
|
|
language-servers = ["basedpyright", "pylsp"]
|
|
formatter = { command = "black", args = [
|
|
"--target-version",
|
|
"py311",
|
|
"--line-length",
|
|
"120",
|
|
"--skip-string-normalization",
|
|
] }
|