mirror of
https://github.com/LonamiWebs/Telethon
synced 2025-08-22 01:49:45 +00:00
Compare commits
2 Commits
964ebcddac
...
f852e83363
Author | SHA1 | Date | |
---|---|---|---|
|
f852e83363 | ||
|
fea2493b98 |
@ -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
|
||||
]
|
||||
|
@ -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
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user