Skip to content

Remove all remaining .md, .txt, .bat files except README.md #8

Remove all remaining .md, .txt, .bat files except README.md

Remove all remaining .md, .txt, .bat files except README.md #8

Workflow file for this run

name: Code Quality
on:
push:
branches: [ main, develop, backup ]
pull_request:
branches: [ main, develop ]
jobs:
python-quality:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install quality tools
run: |
python -m pip install --upgrade pip
pip install black isort flake8 pylint mypy bandit
- name: Run Black (code formatter)
run: |
black --check --diff src/ backend/ santok/ || true
- name: Run isort (import sorter)
run: |
isort --check-only --diff src/ backend/ santok/ || true
- name: Run Flake8 (linter)
run: |
flake8 src/ backend/ santok/ --max-line-length=127 --extend-ignore=E203,W503 || true
- name: Run Pylint
run: |
pylint src/ backend/ santok/ --exit-zero || true
- name: Run MyPy (type checker)
run: |
mypy src/ backend/ santok/ --ignore-missing-imports || true
- name: Run Bandit (security linter)
run: |
bandit -r src/ backend/ santok/ -ll || true
typescript-quality:
runs-on: ubuntu-latest
strategy:
matrix:
frontend-dir: ['frontend', 'frontend_v2']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: ${{ matrix.frontend-dir }}/package-lock.json
- name: Install dependencies
working-directory: ${{ matrix.frontend-dir }}
run: npm ci
- name: Run ESLint
working-directory: ${{ matrix.frontend-dir }}
run: npm run lint || true
- name: Run TypeScript type check
working-directory: ${{ matrix.frontend-dir }}
run: npx tsc --noEmit || true
- name: Check code formatting
working-directory: ${{ matrix.frontend-dir }}
run: |
npx prettier --check "**/*.{ts,tsx,js,jsx,json,css,md}" || true