forked from isl-org/Open3D-ML
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 812 Bytes
/
Copy pathstyle.yml
File metadata and controls
31 lines (29 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Style check
permissions: {}
on:
workflow_dispatch:
push:
branches: [main, dev]
pull_request:
types: [opened, reopened, synchronize]
jobs:
style-check:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up Python version
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install -U clang-format==18.* yapf==0.43.* nbformat==5.10.* 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 .