Skip to content

Use up to date CI, CodeQL, and lint workflows #127

Use up to date CI, CodeQL, and lint workflows

Use up to date CI, CodeQL, and lint workflows #127

Workflow file for this run

name: Lint Check
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
Check

Check failure on line 16 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mypy black pycodestylChecke pydocstyle
- name: Run linters
run: |
mypy guibot
black --check --diff --color guibot
# only excluded checks are conflicts with black and within pycodestyle
pycodestyle --ignore=E203,E501,W503 guibot
pydocstyle guibot