|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
closes #797
closes #798
closes #799
closes #800
closes #801
closes #754
Also (no extra issues for that):
removed all experimental markers from docstrings (most of them have been there for a few years already). If they turn out wrong/bad, we just have to deprecate them and remove them in a major release
hookimpl is instantiated twice - mark one of them as deprecated and get rid of it later
moved hookimpl to __init__.py - having a hookimpl object in the hookspecs module is unnecessary and confusing. Access to hookimpl should happen as module attribute of tox (clearer where it comes from) - also kept a deprecated reference there for compatibilty.
removed some redundant rst references in hookspecs. If they are initialized once in any namespace they are defined globally (I don't like it either but that is how it works in restructuredText and ignoring that and defining the same things several times is confusing)
move _dummy object to only class where it is needed and name it like the constant that it is
use six for py2/3 compatibility where noticed it and where it is cheap to do
remove dead code
move exception related code into its own module rather than having it hang around in a class looking like a module in __init__.py
there is no need to have an intermediate run_main - that is used everywhere only under the name tox.cmdline rename function and use it directly, just like client code is using it
add a fixture for working in a clean tmpdir
|