mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-04 03:00:14 +00:00
Refactor lint configuration in pyproject.toml
This commit is contained in:

committed by
Lonami

parent
964ebcddac
commit
fea2493b98
@@ -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
|
||||
|
Reference in New Issue
Block a user