Add assert in unit test for empty SimpleSeq that we can call to_seq a… #161
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: lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: psf/black@stable | |
with: | |
options: "--line-length=120" | |
src: "./src" | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: install libsndfile1 on ubuntu | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt install libsndfile1 | |
- name: install | |
run: | | |
pip install nox | |
pip install '.[dev]' | |
- name: isort lint | |
uses: isort/isort-action@master | |
with: | |
configuration: "./src" | |
- name: flake8 lint | |
uses: py-actions/flake8@v2 | |
with: | |
max-line-length: "120" | |
path: "./src" | |
exclude: "./src/crowsetta/_vendor" |