Hi, is there a reason why the `config` option is n...
# general
r
Hi, is there a reason why the
config
option is not supported under
[pytest]
like most other tools?
b
Pytest does support providing it specifically using
-c
so probably an oversight, or that
config
was added to a subsystem after
pytest
was supported, and we never thought to go back and add it.
👍 1
Wanna file an issue? And wanna fix it? We're happy to help if you need it 🙂
f
Pants will auto-discover
pytest.ini
in your repository. https://www.pantsbuild.org/docs/python-test-goal#config-files. Is that sufficient for your purposes?
r
@bitter-ability-32190 Thx. I would be happy to help. I'll open an issue and try to fix it.
1
🙌 1
@fast-nail-55400 Yes, it's just that I would prefer to have all my configuration files in one place.
h
oh yeah, when we added this, I thought they only supported auto-discovery and didn't have a
-c
option. It would be great to support it 🙂 I'm happy to add some instructions on the ticket