Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build v3.19.0 documentation #912

Build v3.19.0 documentation

Build v3.19.0 documentation #912

Workflow file for this run

name: Linting
on:
push:
branches:
- main
pull_request:
# default (from docs) is just on [opened, synchronize, reopened]
types: [opened, reopened, ready_for_review, edited]
branches:
- main
# Note: only running this on Ubuntu (latest) and Python 3.8 as representative,
# since the linting output should be machine dependent and not vary much if
# at all by Python minor version.
jobs:
# Lint against selected pre-commit hooks (see https://pre-commit.com
# and https://github.com/pre-commit/action).
# *The config. applied here is from our .pre-commit-config.yaml*
#
# Note the pre-commit linting includes all of the other linters configured
# to run as pre-commit hooks, namely black, flake8 and docformatter etc.,
# so there is no need to set these up individually!
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: pre-commit/action@v3.0.0