From 4e3165e5d74a4c133a507e65c8f89456ec858a45 Mon Sep 17 00:00:00 2001 From: "Shah, Karan" Date: Wed, 10 Jul 2024 04:39:09 +0000 Subject: [PATCH] Update linter requirements Signed-off-by: Shah, Karan --- .github/workflows/lint.yml | 5 ++--- requirements-linters.txt | 15 +-------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 50e3ee3c3d..66941406e5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a single version of Python # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions -name: Lint +name: Check code format on: pull_request: @@ -26,5 +26,4 @@ jobs: python -m pip install --upgrade pip pip install -r requirements-linters.txt - name: Lint using built-in script - run: | - ./shell/lint.sh + run: bash shell/lint.sh diff --git a/requirements-linters.txt b/requirements-linters.txt index 88bd409579..635537644d 100644 --- a/requirements-linters.txt +++ b/requirements-linters.txt @@ -1,16 +1,3 @@ isort black -flake8 -flake8-broken-line -flake8-bugbear -flake8-builtins -flake8-comprehensions -flake8-copyright -flake8-docstrings -flake8-eradicate -flake8-import-order -flake8-import-single -flake8-quotes -flake8-use-fstring -pep8-naming -setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability +flake8 \ No newline at end of file