X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/6bedb5c58a7d8c25aa9509f8217bc24e9797e90d..d249f2d8380893f051b63140e3768cef599f49f3:/pyproject.toml diff --git a/pyproject.toml b/pyproject.toml index 9d4da0b..d085c0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,19 +9,8 @@ line-length = 88 target-version = ['py36', 'py37', 'py38'] include = '\.pyi?$' -exclude = ''' +extend-exclude = ''' /( - \.eggs - | \.git - | \.hg - | \.mypy_cache - | \.tox - | \.venv - | _build - | buck-out - | build - | dist - # The following are specific to Black, you probably don't want those. | blib2to3 | tests/data @@ -36,3 +25,11 @@ exclude = ''' [build-system] requires = ["setuptools>=41.0", "setuptools-scm", "wheel"] build-backend = "setuptools.build_meta" + +[tool.pytest.ini_options] +# Option below requires `tests/optional.py` +optional-tests = [ + "no_python2: run when `python2` extra NOT installed", + "no_blackd: run when `d` extra NOT installed", + "no_jupyter: run when `jupyter` extra NOT installed", +]