Skip to content

Update parser.py

Update parser.py #783

Workflow file for this run

name: Code formatting
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install black
run: |
# black = "^21.7b0"
export BLACK_VERSION=$(grep black pyproject.toml | egrep -o '\^[0-9a-z.]+' | sed 's/\^//g')
set -x
pip install black==${BLACK_VERSION}
# https://pypi.org/project/black/
- name: Check code formatting
run: |
black --check .