From a5c96807981d76afbf581e4140b789d337c6af9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Sun, 18 Aug 2024 22:31:33 +0200 Subject: [PATCH] test: Add isort check to CI/CD. --- .gitea/workflows/tests.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml index 0c3f0d9..3f15312 100644 --- a/.gitea/workflows/tests.yaml +++ b/.gitea/workflows/tests.yaml @@ -23,7 +23,7 @@ jobs: - run: pip install mypy - run: mypy org_rw --check-untyped-defs - formatting: + style-formatting: runs-on: ubuntu-latest steps: - name: Check out repository code @@ -33,6 +33,16 @@ jobs: - run: pip install black - run: black --check . + style-sorted-imports: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - run: apt-get update && apt-get install -y python3-pip + - run: pip install -e . + - run: pip install isort + - run: isort --check . + stability-extra-test: runs-on: ubuntu-latest steps: