pytest-dev / iniconfig

MIT License
58 stars 31 forks source link

Add typing stubs #13

Closed bluetech closed 4 years ago

bluetech commented 4 years ago

There a couple preparatory commits:

The last commit adds the typing stubs. This is copy/pasted from the stubs of the py.iniconfig module in the py library, however I removed the _ prefix from SectionWrapper 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).

bluetech commented 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.

RonnyPfannschmidt commented 4 years ago

Thanks!

bluetech commented 4 years ago

Thanks for reviewing and merging @RonnyPfannschmidt.

A release would be great once you have time. It would break pytest linting, I will send this fix then.