Skip to content

Use proper related query name for user devices in form #31

Use proper related query name for user devices in form

Use proper related query name for user devices in form #31

Workflow file for this run

name: Python Code Style
on:
pull_request:
branches: [main, develop]
paths:
- "**.py"
push:
branches: [main, develop]
paths:
- "**.py"
workflow_dispatch:
jobs:
code-style-checks:
name: Python Code Style Checks
runs-on: ubuntu-latest
steps:
- name: Checkout commit
uses: actions/[email protected]
with:
fetch-depth: 2
# https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#caching-packages
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pipenv"
cache-dependency-path: |
Pipfile.lock
- name: Install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
- name: Install project dependencies
run: pipenv install
- name: Check imports
uses: isort/[email protected]
- name: Check formatting
uses: psf/black@stable
- name: Install flake8
run: pip install -U flake8
- name: Setup flake8 annotations
uses: rbialon/flake8-annotations@v1
- name: Linting (flake8)
uses: py-actions/[email protected]