Skip to content

Implement the vast majority of QRZ's APIs & general linting/PEP8 compliance #27

Implement the vast majority of QRZ's APIs & general linting/PEP8 compliance

Implement the vast majority of QRZ's APIs & general linting/PEP8 compliance #27

Workflow file for this run

name: Lint
on: # yamllint disable-line rule:truthy
push: null
pull_request: null
permissions: {}
jobs:
build:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Super-linter
uses: super-linter/super-linter@v7.1.0 # x-release-please-version
env:
LINTER_RULES_PATH: /
VALIDATE_PYTHON_PYLINT: true
PYTHON_PYLINT_CONFIG_FILE: .pylintrc
#VALIDATE_PYTHON_PYINK: true
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}