Skip to content

Added linter_check.yml workflow #6

Added linter_check.yml workflow

Added linter_check.yml workflow #6

Workflow file for this run

name: Lint Check
on:
# Trigger the workflow on push to main or any pull request.
push:
branches:
- main
pull_request:
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Install Python dependencies
run: pip install black flake8
- name: Run linters
uses: wearerequired/lint-action@v2
with:
black: true
flake8: true