File size: 922 Bytes
cb92864 3e720d0 cb92864 78a2a73 cb92864 3e720d0 cb92864 69ed12e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | # pyproject.toml
[tool.ruff]
line-length = 120
target-version = "py310"
preview = true
[tool.ruff.lint]
select = [
"E", # pycodestyle ๊ธฐ๋ณธ ๊ท์น
"F", # pyflakes (๋ฏธ์ฌ์ฉ ๋ณ์ ๋ฑ)
"I", # isort (import ์ ๋ ฌ)
"N", # ๋ค์ด๋ฐ ๊ท์น
]
ignore = [
"E501", # Line too long (์ค ๊ธธ์ด ์ด๊ณผ๋ ์ง์ ๊ทธ๋ํ/ํ๋กฌํํธ ํน์ฑ์ ํ์ฉ)
"N999", # Invalid module name (camelCase ํ์ผ๋ช
ํ์ฉ)
"E402", # Module level import not at top of file (์คํฌ๋ฆฝํธ ์ค๊ฐ ์ํฌํธ ํ์ฉ)
"E722", # Do not use bare except (ํฌ๋กค๋ฌ์ ํฌ๊ด์ except ํ์ฉ)
]
# ์ ๋ import๋ง ํ์ฉ (์๋ import ๊ธ์ง)
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
# vulture๋ก ์ฌ์ฉํ์ง ์๋ ์ฝ๋ ํ์ธ
[tool.vulture]
min_confidence = 80
paths = ["src/"]
ignore_names = ["test_*", "setUp", "tearDown"]
[tool.pytest.ini_options]
pythonpath = [
"."
] |