Pin dependencies #45
Workflow file for this run
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: Quality Assurance | |
on: [push, pull_request] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- uses: pre-commit/[email protected] | |
with: | |
extra_args: --all-files --hook-stage=manual | |
# formatting: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - uses: psf/black@stable | |
# with: | |
# version: "22.10.0" | |
# jupyter: true | |
# | |
# docstrings: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - uses: actions/setup-python@v2 | |
# - name: Install dependencies | |
# run: | | |
# pip install darglint==1.8.1 | |
# - name: Darglint Docstring QA | |
# run: | | |
# cd tests | |
# echo "Checking for the following errors:" | |
# darglint --list-errors | |
# echo "Checking docstrings..." | |
# darglint ../xplt |