Skip to content

Switch out deprecated code for updated equivalents #90

Switch out deprecated code for updated equivalents

Switch out deprecated code for updated equivalents #90

Workflow file for this run

name: flake8 Lint
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
flake8-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@v6
- name: Set up Python environment
uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Lint src/
uses: py-actions/flake8@v2
with:
plugins: "flake8-pyproject flake8-docstrings flake8-warnings flake8-builtins"
path: "src"
- name: Lint tests/
uses: py-actions/flake8@v2
with:
plugins: "flake8-pyproject flake8-docstrings flake8-warnings flake8-builtins"
path: "tests"