Skip to content

Merge pull request #21 from ministryofjustice/dependabot/github_actio… #29

Merge pull request #21 from ministryofjustice/dependabot/github_actio…

Merge pull request #21 from ministryofjustice/dependabot/github_actio… #29

Workflow file for this run

name: Lint code
on: push
jobs:
lint:
name: Lint code
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Update setuptools pip and wheel
run: pip install -U setuptools pip wheel
- name: Install linting requirements
run: pip install -r requirements-lint.txt
- name: Lint code
run: flake8 --verbose