β Information
- Ruff (Python Linter & Formatter)
π° Content ->
Install
pip install ruffνλ‘μ νΈμ μ ν©νκ² Ruff μ€μ ꡬμ±
λλ pyproject.toml μ μ¬μ©ν¨
[tool.ruff]
line-length = 80
exclude = [
".git",
"__pycache__",
"tests/*"
]
lint.ignore = ["F401", "E402", "E501"]
lint.select = ["I", "E", "F", "W", "C90"]python μ½λ νμ§ λΆμ
$ ruff check .
$ ruff check . --fix