From c9cf11b94172b9cf851e29c535def8667891b65c Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Fri, 26 Jan 2024 21:08:53 +0100 Subject: [PATCH] Pin versions of black, isort, ruff --- pyproject.toml | 1 + requirements/requirements-style.txt | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 requirements/requirements-style.txt diff --git a/pyproject.toml b/pyproject.toml index edae0c91..9a7a560c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -166,6 +166,7 @@ dependencies = [ check = "mypy mkdocs" [tool.hatch.envs.style] +type = "pip-compile" detached = true dependencies = [ "black", diff --git a/requirements/requirements-style.txt b/requirements/requirements-style.txt new file mode 100644 index 00000000..596540f5 --- /dev/null +++ b/requirements/requirements-style.txt @@ -0,0 +1,24 @@ +# +# This file is autogenerated by hatch-pip-compile with Python 3.11 +# +# - black +# - isort +# - ruff +# + +black==23.12.1 + # via hatch.envs.style +click==8.1.7 + # via black +isort==5.13.2 + # via hatch.envs.style +mypy-extensions==1.0.0 + # via black +packaging==23.2 + # via black +pathspec==0.12.1 + # via black +platformdirs==4.1.0 + # via black +ruff==0.1.14 + # via hatch.envs.style