Skip to content

Commit

Permalink
pre-commit autoupdate and update black config (marshmallow-code#1889)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Oct 17, 2021
1 parent d2a0cdb commit d6a299d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.23.3
rev: v2.29.0
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/python/black
rev: 20.8b1
rev: 21.9b0
hooks:
- id: black
language_version: python3
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.0
rev: 3.9.2
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear==21.4.3]
additional_dependencies: [flake8-bugbear==21.9.2]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
rev: v0.910-1
hooks:
- id: mypy
additional_dependencies: [types-simplejson, types-pytz]
- repo: https://github.com/asottile/blacken-docs
rev: v1.10.0
rev: v1.11.0
hooks:
- id: blacken-docs
additional_dependencies: [black==20.8b1]
additional_dependencies: [black==21.9b0]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[tool.black]
line-length = 88
target-version = ['py36', 'py37', 'py38']
target-version = ['py36', 'py37', 'py38', 'py39']

0 comments on commit d6a299d

Please sign in to comment.