Merge branch 'LonamiWebs:v2' into v2

This commit is contained in:
Jahongir Qurbonov 2025-05-31 15:37:11 +05:00 committed by GitHub
commit 13c99d565d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 6 deletions

View File

@ -56,11 +56,9 @@ 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
"ANN101", # Missing type annotation for `self` in method
"ANN102", # Missing type annotation for `cls` in classmethod
"ANN401", # Dynamically typed expressions (typing.Any) are not type checked
]

View File

@ -37,11 +37,9 @@ 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
"ANN101", # Missing type annotation for `self` in method
"ANN102", # Missing type annotation for `cls` in classmethod
"ANN401", # Dynamically typed expressions (typing.Any) are not type checked
]