X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/489d00ed8f4fb90d5788609a474632ab5a16591f..7c851dfa2c2a8f0bf4c529d7f6faa43798d04325:/pyproject.toml?ds=sidebyside diff --git a/pyproject.toml b/pyproject.toml index cbb530c..4d6777e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,22 +7,28 @@ [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>=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 newline at end of file