Skip to content

Merge pull request #14 from gunyu1019/develop #29

Merge pull request #14 from gunyu1019/develop

Merge pull request #14 from gunyu1019/develop #29

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