Closed leycec closed 7 months ago
Sure thing. Let me check.
OMG. You're... sooooo blazing fast. I beg you to also sleep, eat food, and play many video games.
So the following will work:
[pytest]
beartype_packages='my_project'
Once the linked PR is merged. I think that's good. (If you use a pyproject.toml
anywhere, you could also see if putting [tool.pytest]
in that works. I'm an old-school no-toml guy.)
Ooh, I missed the suggestion of concatenating the two package lists from ini
and option
. I'll push that as well.
Update: Should be good now.
Thanks so much for all this awesome devtooling, @tusharsadhwani. My eyes have painfully turned into stars. :star_struck:
I have an itsy-bitsy feature request that will surely
consume your entire social and work life, destroying quality of sleep and happiness levels for monthsbe possible for a genius-tier intellect such as yours. When you find a free moment over the next several lifetimes, would you mind adding support for a parallelpytest.ini
-style configuration item namedbeartype_packages
?Pretend this makes sense:
In theory, adding the following one-liner i totally lied. it's alot of lines, actually. to
src/pytest_beartype/__init__.py
should suffice. In practice, my eyeballs are still stars and I can barely see anything:For unknown reasons,
OptionGroup
doesn't seem to have anaddini()
method. So the abovegroup.addini()
call should probably beparser.addini()
instead, I guess?pytest
: it just don't make sense.And... that escalated fast. This was supposed to be easy,
pytest
. This is why my eyes hurt tonight. It's not just the stinging cold. :star_struck: