Skip to content

[pre-commit.ci] pre-commit autoupdate #157

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #157

Workflow file for this run

name: Pylint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements-dev.txt
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
pip install ruff
- name: black
run: |
black --version
black --check --diff --color $(find . -name "*.py" | xargs)
- name: mypy
continue-on-error: true
run: |
mypy --version
rm -rf .mypy_cache
mypy $(find . -name "*.py" | xargs)
- name: ruff
run: |
ruff check . --line-length=100 --ignore=F841