pyproject.toml (22 lines of code) (raw):
[tool.ruff]
target-version = "py38"
line-length = 120
[lint.isort]
known-first-party = [
"opentelemetry",
]
[tool.ruff.lint]
# https://docs.astral.sh/ruff/linter/#rule-selection
select = [
"I", # isort
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"PLC", # pylint convention
"PLE", # pylint error
"Q", # flake8-quotes
"A", # flake8-builtins
]
ignore = [
"E501", # line-too-long
]