X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/489d00ed8f4fb90d5788609a474632ab5a16591f..7bf233a9446a7611b22bc2f73f7e221886632725:/pyproject.toml diff --git a/pyproject.toml b/pyproject.toml index cbb530c..73e1960 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,22 +7,29 @@ [tool.black] line-length = 88 -py36 = true +target-version = ['py36', 'py37', 'py38'] include = '\.pyi?$' -exclude = ''' +extend-exclude = ''' /( - \.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 + | profiling )/ ''' + + +# Build system information below. +# NOTE: You don't need this in your own Black configuration. + +[build-system] +requires = ["setuptools>=45.0", "setuptools_scm[toml]>=6.3.1", "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", +]