Skip to content

Linter

Linter #418

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Linter
on:
# push:
# branches: ['**']
pull_request:
branches: ['**']
create:
branches: [main]
tags: ['**']
# schedule:
# - cron: "0 4 * * *"
jobs:
lint:
concurrency: lint_job
# cancel-in-progress: true
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: psf/black@stable
- uses: pre-commit/[email protected]