Skip to content

Commit

Permalink
add pre-commit into workflow and requirements-dev.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
hhorii committed Oct 25, 2022
1 parent e9a8fed commit 8ee44e1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ sphinx-automodapi
jupyter-sphinx
reno>=3.4.0
ddt>=1.2.0,!=1.4.0
pre-commit

0 comments on commit 8ee44e1

Please sign in to comment.