Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaces '-r docs/requirements.txt' with '-r' #49

Open
hugovk opened this issue Nov 27, 2020 · 0 comments
Open

Replaces '-r docs/requirements.txt' with '-r' #49

hugovk opened this issue Nov 27, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@hugovk
Copy link
Contributor

hugovk commented Nov 27, 2020

tox-ini-fmt==0.5.0

Input

[tox]
envlist =
    py{py3, 39, 38, 37, 36}

[testenv]
extras =
    tests
commands =
    {envpython} -m pytest --cov humanize --cov tests --cov-report xml {posargs}

[testenv:docs]
deps =
    -r docs/requirements.txt
commands =
    mkdocs build

[testenv:lint]
passenv =
    PRE_COMMIT_COLOR
skip_install = true
deps =
    pre-commit
commands =
    pre-commit run --all-files --show-diff-on-failure

[pytest]
addopts = --doctest-modules

Diff

--- tox.ini

+++ tox.ini

@@ -10,7 +10,7 @@


 [testenv:docs]
 deps =
-    -r docs/requirements.txt
+    -r
 commands =
     mkdocs build

Workaround

-    -r docs/requirements.txt
+    -rdocs/requirements.txt
@gaborbernat gaborbernat added the bug Something isn't working label Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants