Refactor lint configuration in pyproject.toml

This commit is contained in:
Jahongir Qurbonov 2025-05-31 13:48:04 +05:00 committed by Lonami
parent 964ebcddac
commit fea2493b98
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ version = {attr = "telethon.version.__version__"}
[tool.ruff]
exclude = ["doc"]
[tool.ruff.lint]
[tool.lint]
select = ["F", "E", "W", "I", "N", "ANN"]
ignore = [
"E501", # formatter takes care of lines that are too long besides documentation

View File

@ -37,7 +37,7 @@ build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "telethon_generator.version.__version__"}
[tool.ruff.lint]
[tool.lint]
select = ["F", "E", "W", "I", "N", "ANN"]
ignore = [
"E501", # formatter takes care of lines that are too long besides documentation