Skip to content

Commit

Permalink
pip tools config
Browse files Browse the repository at this point in the history
  • Loading branch information
oraNod committed Sep 19, 2023
1 parent f66c3f2 commit 4c64e4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ line-length = 160
fast = true
skip-string-normalization = true
extend-exclude = "awx_collection"

[tool.pip-tools]
resolver = "backtracking"
allow-unsafe = true
strip-extras = true
quiet = true
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ exclude = awx/ui/node_modules,awx/ui/node_modules,env,awx_collection_build

[testenv:pip-compile-docs]
description = Compile docs build requirements
deps =
# pyproject.toml was introduced in v7
pip-tools >= 7
allowlist_externals = pip-compile
commands =
pip-compile --allow-unsafe --output-file=docs/docsite/requirements.txt --strip-extras docs/docsite/requirements.in
pip-compile --output-file=docs/docsite/requirements.txt --strip-extras docs/docsite/requirements.in

[testenv:docs]
description = Build documentation
Expand Down

0 comments on commit 4c64e4f

Please sign in to comment.