Compare commits

...

2 commits

Author SHA1 Message Date
d703cd0032 fix constraints file path 2024-10-30 19:39:54 +00:00
pre-commit-ci[bot]
7e4a6da750 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.0 → v0.7.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.0...v0.7.1)
- [github.com/tox-dev/pyproject-fmt: 2.4.3 → v2.4.3](https://github.com/tox-dev/pyproject-fmt/compare/2.4.3...v2.4.3)
2024-10-30 19:39:54 +00:00
4 changed files with 5 additions and 6 deletions

View file

@ -40,7 +40,7 @@ repos:
hooks:
- id: djhtml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.0
rev: v0.7.1
hooks:
- id: ruff
args: [--fix]
@ -59,7 +59,7 @@ repos:
- eslint@8.36.0
- eslint-config-prettier@8.5.0
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 2.4.3
rev: v2.4.3
hooks:
- id: pyproject-fmt
- repo: https://github.com/jazzband/pip-tools
@ -75,5 +75,5 @@ repos:
files: ^requirements\.in|constraints\.txt$
- id: pip-compile
name: pip-compile requirements-dev.txt
args: [-q, --allow-unsafe, --no-strip-extras, requirements-dev.in]
args: [-q, --allow-unsafe, --no-strip-extras, --constraint=constraints.txt, requirements-dev.in]
files: ^requirements-dev\.(in|txt)$

View file

@ -1,4 +1,3 @@
-c constraints.txt
django-debug-toolbar>=3.2
pytest>=6.0
pytest-cov>=3.0.0

View file

@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --allow-unsafe requirements-dev.in
# pip-compile --allow-unsafe --constraint=constraints.txt requirements-dev.in
#
asgiref==3.8.1
# via

View file

@ -31,7 +31,7 @@ def compile_dependencies(ctx: Context, *, update: bool = False, sync: bool = Fal
echo=True,
)
ctx.run(
f"pip-compile {common_args} --no-strip-extras requirements-dev.in",
f"pip-compile {common_args} --no-strip-extras -c constraints.txt requirements-dev.in",
pty=True,
echo=True,
)