Skip to content

Pin sphinx to latest version 8.1.3 #272

Pin sphinx to latest version 8.1.3

Pin sphinx to latest version 8.1.3 #272

Workflow file for this run

name: Linting
on:
push:
branches:
- main
tags:
- "*"
pull_request:
workflow_dispatch:
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: bahmutov/npm-install@v1
- run: npm run lint
isort:
name: Check import sorting
runs-on: ubuntu-latest
steps:
- run: |
sudo apt-get update
sudo apt-get install -y libxml2-dev libxmlsec1-dev libxmlsec1-openssl
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.9"
- run: |
pip install isort
- run: |
isort --check --diff djadyen
black:
name: Check code formatting with black
runs-on: ubuntu-latest
steps:
- run: |
sudo apt-get update
sudo apt-get install -y libxml2-dev libxmlsec1-dev libxmlsec1-openssl
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.9"
- run: |
pip install black
- run: |
black --check --diff djadyen