mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
* Ruff fixes * Ruff fixes * from __future__ import annotations breaks MicroPython * noqa: FURB188 because there is no str.replacesuffix() in MicroPython * Add ruff to pre-commit
10 lines
293 B
TOML
10 lines
293 B
TOML
[tool.codespell]
|
|
ignore-words-list = "afterall"
|
|
skip = "*.js,*.json"
|
|
|
|
[tool.ruff]
|
|
line-length = 114
|
|
lint.select = ["C4", "C90", "E", "EM", "F", "PIE", "PYI", "PLC", "Q", "RET", "W"]
|
|
lint.ignore = ["E402", "E722", "E731", "E741", "F401", "F704", "F811", "F821"]
|
|
lint.mccabe.max-complexity = 27
|