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

Conditional dependencies are mangled #21

Closed
Julian opened this issue Oct 1, 2020 · 2 comments · Fixed by #39
Closed

Conditional dependencies are mangled #21

Julian opened this issue Oct 1, 2020 · 2 comments · Fixed by #39

Comments

@Julian
Copy link
Contributor

Julian commented Oct 1, 2020

git clone https://github.com/Julian/regret && cd regret && tox-ini-fmt tox.ini turns (subset of tox.ini shown):

deps =
    -r{toxinidir}/test-requirements.txt
    virtue

    codecov,coverage: coverage
    codecov: codecov

into

deps =
  -r{toxinidir}/test-requirements.txt
  codecov,coverage:
  codecov:
  virtue

(where the conditional dependencies are gone)

@gaborbernat
Copy link
Member

Yeah conditionals are not supported yet for dependencies. In my projects I don't use them 😂

@gaborbernat
Copy link
Member

This should now work with https://pypi.org/project/tox-ini-fmt/0.4.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants