Skip to content

dev -> main to enable Python 3.12 support in main. #1096

dev -> main to enable Python 3.12 support in main.

dev -> main to enable Python 3.12 support in main. #1096

Workflow file for this run

name: Style check
on:
workflow_dispatch:
push:
branches: [main, dev]
pull_request:
types: [opened, reopened, synchronize]
jobs:
style-check:
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python version
uses: actions/setup-python@v4
with:
python-version: 3.6
- name: Install dependencies
run: |
python -m pip install -U clang-format==10.0.1.1 yapf==0.30.0 nbformat pydocstyle==6.0.0
- name: Run style check
run: |
python ci/check_style.py --verbose
- name: Run docstring style check
run: |
pydocstyle --convention=google --add-ignore=D1,D205,D415,D212 .