mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-16 18:16:39 +00:00
Refactor lint configuration in pyproject.toml
This commit is contained in:
parent
964ebcddac
commit
f1d2fc9eca
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user