Skip to content

ussl: Add support for sign callback on MicroPython. #402

ussl: Add support for sign callback on MicroPython.

ussl: Add support for sign callback on MicroPython. #402

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: '🔎 Python Linter'
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: '⏳ Checkout repository'
uses: actions/checkout@v3
- name: '🐍 Set up Python'
uses: actions/setup-python@v4
with:
cache: 'pip'
python-version: "3.10"
- name: '🛠 Install dependencies'
run: |
python -m pip install --upgrade pip
python -m pip install flake8==6.0.0 pytest==7.4.0
- name: '😾 Lint with flake8'
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --ignore=C901 --max-complexity=15 --max-line-length=120 --statistics