mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-17 18:46:40 +00:00
Merge branch 'LonamiWebs:v2' into v2
This commit is contained in:
commit
13c99d565d
@ -56,11 +56,9 @@ version = {attr = "telethon.version.__version__"}
|
|||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
exclude = ["doc"]
|
exclude = ["doc"]
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.lint]
|
||||||
select = ["F", "E", "W", "I", "N", "ANN"]
|
select = ["F", "E", "W", "I", "N", "ANN"]
|
||||||
ignore = [
|
ignore = [
|
||||||
"E501", # formatter takes care of lines that are too long besides documentation
|
"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
|
"ANN401", # Dynamically typed expressions (typing.Any) are not type checked
|
||||||
]
|
]
|
||||||
|
@ -37,11 +37,9 @@ build-backend = "setuptools.build_meta"
|
|||||||
[tool.setuptools.dynamic]
|
[tool.setuptools.dynamic]
|
||||||
version = {attr = "telethon_generator.version.__version__"}
|
version = {attr = "telethon_generator.version.__version__"}
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.lint]
|
||||||
select = ["F", "E", "W", "I", "N", "ANN"]
|
select = ["F", "E", "W", "I", "N", "ANN"]
|
||||||
ignore = [
|
ignore = [
|
||||||
"E501", # formatter takes care of lines that are too long besides documentation
|
"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
|
"ANN401", # Dynamically typed expressions (typing.Any) are not type checked
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user