diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 6f849d10..e6552ef1 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -20,24 +20,16 @@ jobs: with: python-version: ${{ matrix.python-version }} - # Step 3: Install dependencies - - name: Install dependencies + # Step 3: Run all code quality checks + - name: Run Code Quality Checks run: | python -m pip install --upgrade pip pip install -r requirements.txt - - # Step 4: Fix imports with Isort - - name: Fix with Isort - run: python -m isort --verbose . - - # Step 5: Format code with Black - - name: Run Black - run: python -m black --verbose . - - # Step 6: Run Flake8 for linting - - name: Run Flake8 - run: python -m flake8 --config=.flake8 --verbose . || true - - # Step 7: Run Pylint for static analysis - - name: Run Pylint - run: python -m pylint --rcfile=.pylintrc --verbose . || true \ No newline at end of file + echo "Fixing imports with Isort..." + python -m isort --verbose . + echo "Formatting code with Black..." + python -m black --verbose . + echo "Running Flake8..." + python -m flake8 --config=.flake8 --verbose . || true + echo "Running Pylint..." + python -m pylint --rcfile=.pylintrc --verbose . || true \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 8cdef897..176d8e60 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,6 +10,7 @@ uvicorn==0.24.0 aiohttp==3.10.5 gunicorn==20.1.0 pydantic-settings==2.2.1 + # Development Tools pylint==2.17.5 autopep8==2.0.2 @@ -18,4 +19,4 @@ isort==5.12.0 flake8==6.0.0 pyment==0.3.3 charset-normalizer==3.3.0 -pycodestyle==2.10.0 +pycodestyle==2.10.0 \ No newline at end of file