Closed bluetech closed 4 years ago
@RonnyPfannschmidt updated to use testpaths
.
Also added a commit "tox: remove junit generation" which changes the command just to pytest
, I don't think anything is using the junitxml stuff here. Can remove it though if it is used by something.
Thanks!
There a couple preparatory commits:
Mark the wheel universal -- The code works on both Python 2 and 3 so the same wheel can be used for both.
Use a package layout, src/ and testing/ directories - needed for the py.typed file
The last commit adds the typing stubs. This is copy/pasted from the stubs of the
py.iniconfig
module in thepy
library, however I removed the_
prefix fromSectionWrapper
type since it's good to be able to refer to it. I marked its__init__
as private (there is unfortunately no programmatic way to mark this).Tested working against pytest's code base (there are a couple legitimate errors I would have to fix there).