Skip to content

lint: freeze & run Black version 24.02 #4967

lint: freeze & run Black version 24.02

lint: freeze & run Black version 24.02 #4967

Workflow file for this run

name: Flake8 & Docformat
on: [push, pull_request]
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies
run: |
pip install ruff
pip install docformatter[tomli]==1.5.0
- name: Ruff (Flake8)
run: |
ruff src
- name: DocFormatter
run: |
docformatter -r src/gluonts