From 4350b38db5f2384cea71bc45909969be065ecb91 Mon Sep 17 00:00:00 2001 From: aapozd Date: Sat, 25 May 2024 23:06:13 +0000 Subject: [PATCH] Another linting fix Signed-off-by: aapozd --- .github/workflows/pylint.yml | 4 +++- open_pcc_metric/__main__.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index f9433bd..dc0708a 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -17,9 +17,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pylint==3.2.2 + pip install pylint - name: Analysing the code with pylint run: | pylint --rcfile ${{ github.workspace }}/pylintrc \ --disable=import-error \ + --fail-under 5 \ + --fail-on E \ ${{ github.workspace }}/open_pcc_metric diff --git a/open_pcc_metric/__main__.py b/open_pcc_metric/__main__.py index 8bf39b0..52506da 100644 --- a/open_pcc_metric/__main__.py +++ b/open_pcc_metric/__main__.py @@ -1,4 +1,5 @@ from . import handler if __name__ == "__main__": - handler.cli() \ No newline at end of file + # pylint: disable-next=no-value-for-parameter + handler.cli()