changed workflows

This commit is contained in:
2025-10-05 02:35:35 +02:00
parent 5b0f2b80b9
commit c178e358bb
2 changed files with 11 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
name: Isort name: Code Review
on: on:
push: push:
@@ -24,8 +24,11 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install isort pip install black isort
# 4. Run code format checks # 4. Run code format checks
- name: Check code formatting with Black
run: black --check .
- name: Check import order with isort - name: Check import order with isort
run: isort --check-only . run: isort --check-only .

View File

@@ -24,22 +24,11 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install black isort flake8 pylint pytest python-dotenv pip install flake8 pylint
# 4. Run code format checks # 4. Run linters
- name: Check code formatting with Black - name: Run flake8
run: black --check . run: flake8
#- name: Check import order with isort - name: Run pylint
# run: isort --check-only . run: pylint frontend services utils
# 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