CoolFace
Apppublic

okidokiz/digital_doppelganger

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
code-quality.yml30 linesDownload Raw Back to workflows
1# ~/digital_doppelganger/.github/workflows/code-quality.yml2#3name: Code Quality4on: [pull_request]                        # only run on pull requests (to ensure quality before merging)5 6jobs:                                     # define jobs7  quality:                                # Job ID8    runs-on: ubuntu-latest                # run on ubuntu9    steps:                                # Job steps10    - uses: actions/checkout@v5           # Check out code11    - uses: actions/setup-python@v5       # Setup Python12      with:                               # Action parameters13        python-version: '3.11'14        15    - name: Install tools16      run: |                              # run commands; installing code quality tools17        pip install black flake8 mypy ruff18 19    - name: Formatting20      run: black --check app/ tests/      # check proper formatting21 22    - name: Linting with flake823      run: flake8 app/ tests/             # linter for code style issues24      25    - name: Type check26      run: mypy app/                      # type checker27 28    - name: Linting with ruff29      run: ruff app/ tests/               # additional faster modern fast linter30