Skip to content

Use integer math only, dropping use of long double sample rate #135

Use integer math only, dropping use of long double sample rate

Use integer math only, dropping use of long double sample rate #135

Workflow file for this run

name: lint
on: [push, pull_request]
jobs:
flake8-black:
runs-on: ubuntu-latest
name: flake8-black
steps:
- uses: actions/checkout@v2
- name: Set up Python environment
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 python --config python/setup.cfg --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings.
flake8 python --config python/setup.cfg --count --exit-zero --max-complexity=10 --statistics
- name: Check formatting with black
run: |
pip install black
black --check --diff python