Skip to content

Fix diff style

Fix diff style #44

Workflow file for this run

name: merge_proxy-lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Install proj
run: sudo apt-get install -y proj-bin libproj-dev
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Get pip cache dir
id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('.gitub/workflows/lint.yml') }}
restore-keys: ${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install -r merge_proxy/requirements.txt -r merge_proxy/requirements-dev.txt
- uses: psf/[email protected]
- name: Run flake8
run: (cd merge_proxy && python -m flake8 merge_proxy/)
- name: Run mypy
run: (cd merge_proxy && python -m mypy merge_proxy/)