Skip to content

docs: update friction map info for r.walk.html (#3279) #282

docs: update friction map info for r.walk.html (#3279)

docs: update friction map info for r.walk.html (#3279) #282

Workflow file for this run

---
name: Python Black Formatting
on:
push:
branches:
- main
- releasebranch_*
pull_request:
branches:
- main
- releasebranch_*
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
run-black:
name: Black
# Using matrix just to get variables which are not environmental variables
# and also to sync with other workflows which use matrix.
strategy:
matrix:
include:
- os: ubuntu-22.04
python-version: '3.10'
black-version: '23.1.0'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip
pip install black==${{ matrix.black-version }}
- name: Run Black
run: |
black --check --diff .