Yda 5942 add user friendly messages csv import #5019
Workflow file for this run
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: "Python 2 lint" | |
on: | |
push: | |
paths-ignore: | |
- 'tests/**' | |
pull_request: | |
paths-ignore: | |
- 'tests/**' | |
jobs: | |
flake8: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [2.7] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
# setup-python stopped supporting Python 2.7, use https://github.com/MatteoH2O1999/setup-python | |
uses: MatteoH2O1999/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-build: info | |
cache-build: true | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install flake8 flake8-import-order codespell | |
- name: Lint with flake8 | |
run: | | |
flake8 --statistics |