Bump pre-commit checks

This commit is contained in:
Gabriel Augendre 2022-02-24 20:38:43 +01:00
parent 446ac0208a
commit 77cd677929
4 changed files with 9 additions and 10 deletions

View file

@ -25,11 +25,11 @@ repos:
hooks: hooks:
- id: isort - id: isort
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 21.12b0 rev: 22.1.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.30.0 rev: v2.31.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: args:
@ -40,13 +40,13 @@ repos:
- id: django-upgrade - id: django-upgrade
args: [--target-version, "4.0"] args: [--target-version, "4.0"]
- repo: https://github.com/rtts/djhtml - repo: https://github.com/rtts/djhtml
rev: v1.4.11 rev: v1.5.0
hooks: hooks:
- id: djhtml - id: djhtml
- repo: https://github.com/mcarans/flakehell - repo: https://github.com/flakeheaven/flakeheaven
rev: 1b84f4dd6c16232b5c0c6206511427676ab55f5b rev: 0.11.0
hooks: hooks:
- id: flakehell - id: flakeheaven
additional_dependencies: additional_dependencies:
- flake8-annotations-complexity - flake8-annotations-complexity
- flake8-builtins - flake8-builtins
@ -63,7 +63,7 @@ repos:
- id: prettier - id: prettier
types_or: [javascript, css] types_or: [javascript, css]
- repo: https://github.com/pre-commit/mirrors-eslint - repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.5.0 rev: v8.9.0
hooks: hooks:
- id: eslint - id: eslint
args: [--fix] args: [--fix]

View file

@ -22,4 +22,3 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE. OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org> For more information, please refer to <https://unlicense.org>

View file

@ -44,7 +44,7 @@ types-beautifulsoup4 = "^4.10.7"
types-Pillow = "^8.3.11" types-Pillow = "^8.3.11"
[tool.black] [tool.black]
target-version = ['py38'] target-version = ['py310']
[tool.isort] [tool.isort]
profile = "black" profile = "black"