Skip to content

Commit

Permalink
ci: Upgrade tools and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jabesq committed May 17, 2021
1 parent 75ce81c commit 364d3e7
Show file tree
Hide file tree
Showing 4 changed files with 377 additions and 400 deletions.
18 changes: 6 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,22 @@
default_stages: [commit, push]
exclude: ^(fixtures/)
repos:
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
args: [--application-directories,./src]

- repo: https://github.com/asottile/pyupgrade
rev: v2.7.4
rev: v2.16.0
hooks:
- id: pyupgrade
args: [--py37-plus]
exclude: 'external_src/int-tools'

- repo: https://github.com/asottile/add-trailing-comma
rev: v2.0.1
rev: v2.1.0
hooks:
- id: add-trailing-comma
args: [ --py36-plus ]
exclude: 'external_src/int-tools'

- repo: https://github.com/asottile/yesqa
rev: v1.2.2
rev: v1.2.3
hooks:
- id: yesqa
- repo: local
Expand Down Expand Up @@ -56,7 +50,7 @@ repos:
exclude: tests/

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0 # Use the ref you want to point at
rev: v4.0.1 # Use the ref you want to point at
hooks:
- id: check-ast
- id: no-commit-to-branch
Expand All @@ -72,13 +66,13 @@ repos:
- id: check-toml

- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4 # pick a git hash / tag to point to
rev: 3.9.2 # pick a git hash / tag to point to
hooks:
- id: flake8
exclude: (otp)
additional_dependencies: [flake8-typing-imports==1.10.0]

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.16.0
rev: v1.17.0
hooks:
- id: setup-cfg-fmt
Loading

0 comments on commit 364d3e7

Please sign in to comment.