TST: fix ton of warnings (#627) #1304
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: rstcheck | |
# Run this workflow every time a new commit pushed to your repository | |
on: [push, pull_request] | |
jobs: | |
rstcheck: | |
name: Doc Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install jinja2==3.0.3 sphinx==3.2.1 rstcheck==3.3.1 | |
- name: Run rstcheck | |
run: | | |
rstcheck -r --ignore-directives autofunction . |