From c178e358bb7e9981281646194cf31f16850e64fd Mon Sep 17 00:00:00 2001 From: Florian Uhlig Date: Sun, 5 Oct 2025 02:35:35 +0200 Subject: [PATCH] changed workflows --- .../workflows/{isort.yml => code-review.yml} | 7 ++++-- .github/workflows/{black.yml => linters.yml} | 23 +++++-------------- 2 files changed, 11 insertions(+), 19 deletions(-) rename .github/workflows/{isort.yml => code-review.yml} (82%) rename .github/workflows/{black.yml => linters.yml} (50%) diff --git a/.github/workflows/isort.yml b/.github/workflows/code-review.yml similarity index 82% rename from .github/workflows/isort.yml rename to .github/workflows/code-review.yml index 5bcd4c4..419bfb9 100644 --- a/.github/workflows/isort.yml +++ b/.github/workflows/code-review.yml @@ -1,4 +1,4 @@ -name: Isort +name: Code Review on: push: @@ -24,8 +24,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install isort + pip install black isort # 4. Run code format checks + - name: Check code formatting with Black + run: black --check . + - name: Check import order with isort run: isort --check-only . diff --git a/.github/workflows/black.yml b/.github/workflows/linters.yml similarity index 50% rename from .github/workflows/black.yml rename to .github/workflows/linters.yml index 2b50b2c..47e7e13 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/linters.yml @@ -24,22 +24,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install black isort flake8 pylint pytest python-dotenv + pip install flake8 pylint - # 4. Run code format checks - - name: Check code formatting with Black - run: black --check . + # 4. Run linters + - name: Run flake8 + run: flake8 - #- name: Check import order with isort - # run: isort --check-only . - - # 5. Run linters - #- name: Run flake8 - # run: flake8 - - #- name: Run pylint - # run: pylint frontend services utils - - # 6. Run unit tests - #- name: Run pytest - # run: pytest + - name: Run pylint + run: pylint frontend services utils