Skip to content

Uses a newer websockets version #48

Uses a newer websockets version

Uses a newer websockets version #48

Workflow file for this run

name: Python package
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt install -y libnanomsg-dev
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8 and pydocstyle
run: |
pip install flake8 pydocstyle
flake8 gateway_addon --exclude schema --count --max-line-length=79 --statistics
pydocstyle --match-dir '^($!schama).*' gateway_addon