Skip to content
Snippets Groups Projects
Commit 1d4fb136 authored by Moul's avatar Moul
Browse files

[dev] #403: Introduce pyupgrade pre-commit hook

Set to Py3.6 checks as minimum
parent d746a423
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,11 @@ repos: ...@@ -8,6 +8,11 @@ repos:
hooks: hooks:
- id: isort - id: isort
args: ["--profile", "black"] args: ["--profile", "black"]
- repo: https://github.com/asottile/pyupgrade
rev: v2.20.0
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://gitlab.com/devopshq/gitlab-ci-linter - repo: https://gitlab.com/devopshq/gitlab-ci-linter
rev: v1.0.3 rev: v1.0.3
hooks: hooks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment