Skip to content

Numpy 2 Updates

Numpy 2 Updates #6

Workflow file for this run

name: Lint
on:
workflow_dispatch:
workflow_call:
pull_request:
branches:
- master
jobs:
lint:
name: Lint UncertainSCI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Python 3.9
uses: actions/setup-python@v6
with:
python-version: 3.9
cache: 'pip' # optional, adds caching for faster builds
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
pip install -r requirements.txt
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --max-complexity=10 --max-line-length=127 --statistics