Skip to content

Commit

Permalink
style: Update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
playpauseandstop committed May 13, 2020
1 parent 95ad7eb commit a08421c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
run: "poetry run python -c 'import aiohttp_tus'"

test:
needs: "dev"
name: "Python ${{ matrix.python-version }}"

strategy:
Expand Down
22 changes: 15 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
minimum_pre_commit_version: "1.17.0"
repos:
- repo: "https://github.com/commitizen-tools/commitizen"
rev: "v1.22.0"
hooks:
- id: "commitizen"
language_version: "python3.8"
stages: ["commit-msg"]

- repo: "https://github.com/psf/black"
rev: "19.10b0"
hooks:
Expand All @@ -9,7 +16,7 @@ repos:
exclude: ^docs/.*$

- repo: "https://github.com/asottile/blacken-docs"
rev: "v1.6.0"
rev: "v1.7.0"
hooks:
- id: "blacken-docs"
name: "Format docs (blacken-docs)"
Expand All @@ -28,25 +35,26 @@ repos:
- id: "check-yaml"

- repo: "https://gitlab.com/PyCQA/flake8"
rev: "3.7.9"
rev: "3.8.1"
hooks:
- id: "flake8"
name: "Lint code (flake8)"
language_version: "python3.8"
additional_dependencies:
- "flake8==3.7.9"
- "flake8==3.8.1"
- "flake8-broken-line==0.2.0"
- "flake8-bugbear==20.1.4"
- "flake8-builtins==1.5.0"
- "flake8-builtins==1.5.2"
- "flake8-comprehensions==3.2.2"
- "flake8-eradicate==0.3.0"
- "flake8-import-order==0.18.1"
- "flake8-mutable==1.2.0"
- "flake8-pie==0.5.0"
- "flake8-quotes==2.1.1"
- "flake8-quotes==3.2.0"
- "flake8-string-format==0.3.0"
- "flake8-tidy-imports==4.0.0"
- "pep8-naming==0.9.1"
- "flake8-tidy-imports==4.1.0"
- "flake8-variables-names==0.0.3"
- "pep8-naming==0.10.0"
exclude: ^docs/.*$

- repo: "https://github.com/pre-commit/mirrors-mypy"
Expand Down

0 comments on commit a08421c

Please sign in to comment.