1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-11-25 07:20:56 -05:00
PoetryInstaller/pyproject.toml

30 lines
639 B
TOML
Raw Normal View History

2023-05-14 14:47:14 -04:00
[tool.ruff]
fix = true
unfixable = [
"ERA", # do not autoremove commented out code
]
target-version = "py37"
line-length = 88
extend-select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"ERA", # flake8-eradicate/eradicate
"I", # isort
"N", # pep8-naming
"PIE", # flake8-pie
"PGH", # pygrep
"RUF", # ruff checks
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
]
2023-05-14 14:47:14 -04:00
[tool.ruff.flake8-tidy-imports]
ban-relative-imports = "all"
2023-05-14 14:47:14 -04:00
[tool.ruff.isort]
force-single-line = true
lines-between-types = 1
lines-after-imports = 2