Skip to content

Make test users configurable. #4012

Make test users configurable.

Make test users configurable. #4012

Workflow file for this run

name: "Python lint"
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 flake8-import-order darglint codespell
- name: Lint with flake8
run: |
flake8 --statistics
- name: Check code for common misspellings
run: |
codespell -q 3 --skip="*.r,*.xsd,*.json" || true
- name: Check McCabe complexity
run: |
flake8 --max-complexity 10 || true