Skip to content

Created a config file for read the docs. Added various badges to the … #23

Created a config file for read the docs. Added various badges to the …

Created a config file for read the docs. Added various badges to the … #23

Workflow file for this run

name: Lint
on:
push:
branches:
- main
paths-ignore:
- "docs/**"
- "README.md"
- "HISTORY.md"
- ".gitignore"
- ".readthedocs.yaml"
pull_request:
branches:
- main
paths-ignore:
- "docs/**"
- "README.md"
- "HISTORY.md"
- ".gitignore"
- ".readthedocs.yaml"
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install ruff
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run ruff
run: ruff check .