fix(deps): update dependency comtypes to v1.4.8 #402
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python package | |
on: [pull_request] | |
jobs: | |
python-check: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 3 | |
matrix: | |
python-version: ["3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip poetry | |
poetry --version | |
poetry install | |
- name: Run tests and linters | |
run: | | |
#!/bin/sh -e | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Action" | |
export PREFIX="poetry run python -m " | |
if [ -d 'venv' ] ; then | |
export PREFIX="venv/bin/" | |
fi | |
${PREFIX}black photoshop --check | |
${PREFIX}isort --check-only photoshop | |
${PREFIX}flake8 photoshop --max-line-length 120 |