From f852e833639caba41256b75007cb4b6ac6250a7e Mon Sep 17 00:00:00 2001 From: Jahongir Qurbonov Date: Sat, 31 May 2025 13:48:20 +0500 Subject: [PATCH] Remove type annotation ignore rules from lint configuration in pyproject.toml --- client/pyproject.toml | 2 -- generator/pyproject.toml | 2 -- 2 files changed, 4 deletions(-) diff --git a/client/pyproject.toml b/client/pyproject.toml index e94d1894..9d559991 100644 --- a/client/pyproject.toml +++ b/client/pyproject.toml @@ -60,7 +60,5 @@ exclude = ["doc"] 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 ] diff --git a/generator/pyproject.toml b/generator/pyproject.toml index 7990b939..5f55302a 100644 --- a/generator/pyproject.toml +++ b/generator/pyproject.toml @@ -41,7 +41,5 @@ version = {attr = "telethon_generator.version.__version__"} 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 ]