From 9ea71718cd08449d8dc546ef0759473e45be00ca Mon Sep 17 00:00:00 2001 From: Alexey Masterov Date: Tue, 9 Jul 2024 19:00:46 +0200 Subject: [PATCH] Add a check for w1203 --- .github/workflows/pylint.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index d458cca74a7d..4acd49d506f6 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -23,6 +23,9 @@ jobs: pip install pylint psycopg2 pytest toml aiohttp backoff requests allure-pytest \ pytest-httpserver prometheus_client asyncpg PyJWT httpx psutil boto3 mypy_boto3_s3 \ zstandard numpy pandas pgvector pytest-lazy-fixture pg8000 websockets - - name: Analyzing code with pylint + - name: Analyzing code for errors with pylint run: | pylint -E --ignored-modules psycopg2 $(git ls-files '*.py') + - name: Analyzing code for fixed warnings + run: | + pylint --disable=all --enable=w1203 $(git ls-files '*.py')