Add type hinting #851
Workflow file for this run
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: Code Style | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Conda w/ Python 3.11 | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-activate-base: false | |
python-version: '3.11' | |
channels: conda-forge | |
- name: Install Dependencies | |
shell: bash -el {0} | |
run: | | |
pip install tox flake8 | |
- name: Check Code Style | |
shell: bash -el {0} | |
run: | | |
tox -e codestyle |