Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Update pre-commit to local for reading setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Anselmoo committed Feb 3, 2021
1 parent 0a8d594 commit ff724d4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r dev-requirements.txt
- uses: pre-commit/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
17 changes: 9 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ repos:
rev: v3.4.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-pylint
rev: 'v2.6.0' # Use the sha / tag you want to point at
- id: check-yaml
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint mkdocstrings_sourcelink
- repo: https://github.com/pycqa/pydocstyle
rev: 5.1.1 # pick a git hash / tag to point to
hooks:
- id: pydocstyle
name: pydocstyle
entry: pydocstyle mkdocstrings_sourcelink
language: system
pass_filenames: false
- id: pydocstyle
name: pydocstyle
entry: pydocstyle mkdocstrings_sourcelink
language: system
pass_filenames: false

0 comments on commit ff724d4

Please sign in to comment.