X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/489d00ed8f4fb90d5788609a474632ab5a16591f..ced2d656794568517ba9aa28f781f9151d89de54:/pyproject.toml?ds=inline diff --git a/pyproject.toml b/pyproject.toml index cbb530c..aebbc0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,22 +7,32 @@ [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", +] +markers = [ + "incompatible_with_mypyc: run when testing mypyc compiled black" +]