Skip to content

initial documentation effort #103

initial documentation effort

initial documentation effort #103

Workflow file for this run

name: lint
on:
push:
pull_request:
types: [ opened, synchronize ]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v1
with:
args: 'format --check'
- uses: astral-sh/ruff-action@v1
with:
args: 'check --ignore D --ignore DOC'
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ '3.12' ]
name: check ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install pyright
run: |
npm install -g pyright
- name: Run pyright
run: |
pyright
- name: Verify No CLRF line endings.
run: >
! $(find . ! -path "./.git/*" -not -type d -exec file "{}" ";" |& grep -q " CRLF ")