From ea2d441ed6eecf72b3861d0801148cd65f362dd3 Mon Sep 17 00:00:00 2001 From: Samriddhi Singh Date: Thu, 11 Jul 2024 13:11:19 +0530 Subject: [PATCH] Add isort linting to workflows --- .github/workflows/lint.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c759fc0b..4c6541b6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,3 +12,17 @@ jobs: with: options: "--check" src: "." + + isort: + runs-on: ubuntu-latest + name: isort linting + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + - name: Install isort + run: pip install isort + - name: Run isort + run: isort --check-only . \ No newline at end of file