File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -364,16 +364,6 @@ def test(ctx, match: str = ""):
364364 ctx: The context instance (passed automatically).
365365 match: A pytest expression to filter selected tests.
366366 """
367- try : # noqa: WPS229
368- import sphinx # isort:skip # noqa: F401
369- import docutils # isort:skip # noqa: F401
370- except ImportError :
371- py = f"{ sys .version_info .major } .{ sys .version_info .minor } "
372- ctx .run (
373- f"pip install sphinx docutils --no-deps -t __pypackages__/{ py } /lib" ,
374- title = "Installing additional test dependencies" ,
375- )
376-
377367 py_version = f"{ sys .version_info .major } { sys .version_info .minor } "
378368 os .environ ["COVERAGE_FILE" ] = f".coverage.{ py_version } "
379369 ctx .run (
Original file line number Diff line number Diff line change @@ -94,12 +94,14 @@ quality = [
9494 " curlylint>=0.13" ,
9595]
9696tests = [
97+ " docutils" ,
9798 " pygments>=2.10" , # python 3.6
9899 " pytest>=6.2" ,
99100 " pytest-cov>=3.0" ,
100101 " pytest-randomly>=3.10" ,
101102 " pytest-sugar>=0.9" ,
102103 " pytest-xdist>=2.4" ,
104+ " sphinx" ,
103105]
104106typing = [
105107 " mypy>=0.910" ,
You can’t perform that action at this time.
0 commit comments