mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-04 19:12:29 +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]
|
[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
|
||||||
|
@@ -37,7 +37,7 @@ 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
|
||||||
|
Reference in New Issue
Block a user