pyerrors/.github/workflows/flake8.yml

27 lines
547 B
YAML
Raw Permalink Normal View History

2021-10-21 11:53:50 +01:00
name: flake8
2021-10-11 13:41:56 +01:00
2021-10-12 14:48:37 +01:00
on:
push:
branches:
- master
- develop
pull_request:
2021-10-11 13:41:56 +01:00
jobs:
flake8-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@v4
2021-10-11 13:41:56 +01:00
- name: Set up Python environment
uses: actions/setup-python@v5
2021-10-11 13:41:56 +01:00
with:
python-version: "3.10"
2021-10-11 13:41:56 +01:00
- name: flake8 Lint
2022-11-30 17:50:57 +00:00
uses: py-actions/flake8@v2
2021-10-11 13:41:56 +01:00
with:
ignore: "E501,W503"
2021-10-11 14:01:57 +01:00
exclude: "__init__.py, input/__init__.py"
2021-10-11 13:41:56 +01:00
path: "pyerrors"