Remove whip for 7 Labour MPs #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [push] | |
jobs: | |
test: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: setup ruff | |
run: pip install ruff | |
- name: check ruff linter | |
run: | | |
ruff check . --fix-only --output-format=github | |
ruff check . --output-format=github --config 'lint.ignore = ["E501", "E402", "E731", "E722", "F841", "E711", "E712"]' | |
- name: check ruff formatter | |
run: ruff format --check . |