Skip to content

Commit

Permalink
Move to pre-commit.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mshriver committed Nov 22, 2022
1 parent 4613304 commit 9cb847a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,5 @@ jobs:
pip install --compile --no-cache-dir pycurl
pip install -U -e .[test]
- name: Pre Commit Checks
uses: pre-commit/[email protected]
with:
extra_args: --show-diff-on-failure

- name: Run Unit Tests
run: py.test tests/ -v --cov wrapanapi
5 changes: 0 additions & 5 deletions .github/workflows/release_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ jobs:
pip install --compile --no-cache-dir pycurl
pip install -U .[test]
- name: Pre Commit Checks
uses: pre-commit/[email protected]
with:
extra_args: --show-diff-on-failure

- name: Run Unit Tests
run: py.test tests/ -v --cov wrapanapi

Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ci:
autofix_prs: false
repos:
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.0.1
Expand Down

0 comments on commit 9cb847a

Please sign in to comment.