Skip to content

Added gradient function to JAX frontend #30963

Added gradient function to JAX frontend

Added gradient function to JAX frontend #30963

name: test-numpy-style-docstrings
on:
push:
pull_request:
types: [labeled, opened, synchronize, reopened, review_requested]
workflow_dispatch:
jobs:
run-docstring-tests:
if: ${{(github.event_name == 'push') || contains(github.event.pull_request.labels.*.name, 'Exhaustive CI') || contains(github.event.pull_request.labels.*.name, 'Function Reformatting')}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Install dependencies
run: |
pip install pydocstyle
- name: Analyse docstrings with pydocstyle
run: |
pydocstyle --add-ignore=D100,D101,D102,D103,D104,D105,D205,D400,D401 --convention=numpy $(git ls-files '*.py')