This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
Note that repo is no longer maintained and its functionality is avail… #162
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: Lint with flake8 | |
run: | | |
pip install flake8 | |
flake8 . --statistics | |
- name: Check formatting with black | |
run: | | |
pip install black | |
black --check . | |
- name: Check types with mypy | |
run: | | |
pip install mypy | |
mypy altair_viewer |