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:
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 .

View File

@@ -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