This repository was archived by the owner on Apr 9, 2024. It is now read-only.
Note that repo is no longer maintained #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: flake8-black-mypy | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install Requirements | |
run: | | |
pip install -r requirements.txt | |
- name: Lint with flake8 | |
run: | | |
pip install flake8 | |
flake8 . --count --statistics | |
- name: Check formatting with black | |
run: | | |
pip install black | |
black --check . | |
- name: Check types with mypy | |
run: | | |
pip install mypy | |
mypy altair_data_server |