Merge pull request #1 from hkwang/main #7
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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- uses: psf/black@stable | |
with: | |
args: ". --check --line-length=100" | |
- name: docstrings | |
run: | | |
pip install flit | |
pushd $(mktemp -d) | |
git clone https://github.com/Carreau/velin.git --single-branch --depth 1 | |
cd velin | |
flit install | |
popd | |
velin . --check |