Skip to content

Change status filter of unpublished_drafts view #823

Change status filter of unpublished_drafts view

Change status filter of unpublished_drafts view #823

Workflow file for this run

name: Lint
on:
- pull_request
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11.8
cache: pip
- name: Install Python dependencies
run: pip install black flake8
- name: Run linters
uses: wearerequired/lint-action@v2
with:
auto_fix: true
black: true
black_auto_fix: true
flake8: true
flake8_auto_fix: false # flake8 doesn't support auto_fix
flake8_args: "--ignore E1,E2,E3,E5,W1,W2,W3,W5" # black already handles formatting, this prevents conflicts