From 41ddbd67c6c1839ea6d3f6e40598ae8d20cd91f7 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Wed, 7 Jul 2021 21:24:06 +0200 Subject: [PATCH] [doc] #403: CONTRIBUTING: Add pyupgrade --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b17bbc9f..5eeb4c60 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -46,7 +46,8 @@ Please read their documentations on how to use them the best possible. ## Pre-commit We are using [`pre-commit`](https://pre-commit.com/) tool to perform checks on staged changes before committing. -We are using it for `black` formatting, `isort` imports sorting, and `gitlab-ci` linting. We will use it for `pylint` code linting, `mypy` typing in the future. +We are using it for `black` formatting, `isort` imports sorting, `pyupgrade`, and `gitlab-ci` linting. +We will use it for `pylint` code linting, `mypy` typing in the future. Install `pre-commit` from your distribution. In case it is an outdated version, install it from `pip`: ```bash -- GitLab