Skip to content

chore(deps): bump cryptography from 41.0.6 to 42.0.2 #214

chore(deps): bump cryptography from 41.0.6 to 42.0.2

chore(deps): bump cryptography from 41.0.6 to 42.0.2 #214

Workflow file for this run

name: Lint and check project
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry Action
uses: snok/install-poetry@v1.3.3
with:
version: 1.3.1
- name: Install dependencies
run: |
poetry install
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# check for black format
- name: Format according to Black
run: |
poetry run black --check .