From e3cc899966ba69328249c0ed53215dc6eee98e5a Mon Sep 17 00:00:00 2001 From: Nikolai R Kristiansen Date: Mon, 15 Aug 2022 19:21:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Keep=20excluding=20migrations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e6c79ac..f077196 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,7 @@ repos: rev: 22.3.0 hooks: - id: black + exclude: migrations/ - repo: https://github.com/PyCQA/flake8 rev: 4.0.1 hooks: diff --git a/tox.ini b/tox.ini index 677d029..c936a37 100644 --- a/tox.ini +++ b/tox.ini @@ -42,7 +42,7 @@ commands = {posargs:py.test --cov=graphene_django graphene_django examples} basepython = python3.9 deps = -e.[dev] commands = - black graphene_django examples setup.py --check + black --exclude "/migrations/" graphene_django examples setup.py --check [testenv:flake8] basepython = python3.9