Skip to content

[Deploy] Deploy v1.0.1 #28

[Deploy] Deploy v1.0.1

[Deploy] Deploy v1.0.1 #28

Workflow file for this run

name: Lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "develop" ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[lint]
- name: Analysing the code with pycodestyle
run: python -m pycodestyle ahttp_client --max-line-length=120
- name: Checking the code for formatted in black
run: python -m black --line-length 120 --check ahttp_client example