From a3eec51e6085454d71e5b7ca2d24c2717e535f1a Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Tue, 9 Jul 2024 17:01:30 -0400 Subject: [PATCH] build: Add pre-commit --- requirements_dev.in | 1 + requirements_dev.txt | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/requirements_dev.in b/requirements_dev.in index ca8cfd18..b96aa991 100644 --- a/requirements_dev.in +++ b/requirements_dev.in @@ -5,6 +5,7 @@ flattentool>=0.14.0 hypothesis libsass pip-tools +pre-commit pytest pytest-cov pytest-django diff --git a/requirements_dev.txt b/requirements_dev.txt index e5dfdba0..c6f06229 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -48,6 +48,8 @@ cffi==1.14.5 # via # -r requirements.txt # persistent +cfgv==3.4.0 + # via pre-commit charset-normalizer==3.1.0 # via # -r requirements.txt @@ -71,6 +73,8 @@ defusedxml==0.7.1 # via # -r requirements.txt # odfpy +distlib==0.3.8 + # via virtualenv django==3.2.25 # via # -r requirements.txt @@ -95,6 +99,8 @@ exceptiongroup==1.1.3 # pytest # trio # trio-websocket +filelock==3.15.4 + # via virtualenv flake8==3.9.2 # via -r requirements_dev.in flattentool==0.25.0 @@ -107,6 +113,8 @@ h11==0.14.0 # via wsproto hypothesis==6.72.4 # via -r requirements_dev.in +identify==2.6.0 + # via pre-commit idna==3.7 # via # -r requirements.txt @@ -167,6 +175,8 @@ mdurl==0.1.2 # via # -r requirements.txt # markdown-it-py +nodeenv==1.9.1 + # via pre-commit ocdsextensionregistry==0.3.4 # via # -r requirements.txt @@ -200,8 +210,11 @@ platformdirs==3.8.1 # via # -r requirements.txt # requests-cache + # virtualenv pluggy==0.13.1 # via pytest +pre-commit==3.7.1 + # via -r requirements_dev.in pycodestyle==2.7.0 # via flake8 pycparser==2.20 @@ -232,6 +245,8 @@ pytz==2021.1 # -r requirements.txt # django # flattentool +pyyaml==6.0.1 + # via pre-commit referencing==0.29.1 # via # -r requirements.txt @@ -326,6 +341,8 @@ urllib3[socks]==2.2.2 # requests-cache # selenium # sentry-sdk +virtualenv==20.24.1 + # via pre-commit webencodings==0.5.1 # via # -r requirements.txt