mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
It has different API, so we now have two separate modules. Merge-request: IJ-MR-102673 Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com> GitOrigin-RevId: 0a2dd2f74376662a34e8b782883f6631dc2a42b1
20 lines
448 B
Python
20 lines
448 B
Python
# coding=utf-8
|
|
"""
|
|
Runs tox from current directory.
|
|
It supports any runner, but well-known runners (py.test and unittest) are switched to our internal runners to provide
|
|
better support
|
|
|
|
|
|
There are two different APIs, so it uses either 3 or 4
|
|
"""
|
|
import tox
|
|
|
|
if int(tox.version.__version__.split(".")[0]) >= 4:
|
|
from _jb_tox_runner_4 import run_tox_4
|
|
|
|
exit(run_tox_4())
|
|
else:
|
|
from _jb_tox_runner_3 import run_tox_3
|
|
|
|
exit(run_tox_3())
|