From 204c49e4222fc6250866d247ac24fc150acc61ce Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Tue, 3 Aug 2021 10:16:19 +0300
Subject: [PATCH] Add pyupgrade pre-commit hook.

I'm targeting pretty recent Python versions (3.6+) so why not enjoy the
latest syntax and features.
---
 .pre-commit-config.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a34e44d..e4b300e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -90,6 +90,11 @@ repos:
         additional_dependencies:
           - toml
 
+  - repo: https://github.com/asottile/pyupgrade
+    rev: v2.23.2
+    hooks:
+      - id: pyupgrade
+
   - repo: local
     hooks:
       - id: poetry check
-- 
GitLab