-[tool.poetry]
-name = "black"
-version = "19.3b0"
-description = "The uncompromising code formatter."
-readme = "README.md"
-authors = [
- "Łukasz Langa <lukasz@langa.pl>",
- "Carol Willing <carolcode@willingconsulting.com>",
- "Carl Meyer <carl@oddbird.net>",
- "Jelle Zijlstra <jelle.zijlstra@gmail.com>",
- "Mika Naylor <mail@autophagy.io>",
- "Zsolt Dollenstein <zsol.zsol@gmail.com>",
-]
-homepage = "https://github.com/psf/black/"
-documentation = "https://black.readthedocs.io/en/stable/"
-license = "MIT"
-keywords = ["automation", "formatter", "yapf", "autopep8", "gofmt"]
-classifiers=[
- "Development Status :: 4 - Beta",
- "Environment :: Console",
- "Intended Audience :: Developers",
- "Operating System :: OS Independent",
- "Topic :: Software Development :: Libraries :: Python Modules",
- "Topic :: Software Development :: Quality Assurance",
-]
-
-packages = [
- {include = "black.py"},
- {include = "blib2to3"}
+[build-system]
+# We're pinning setuptools-scm to bugfix versions only because for build-time
+# deps having them work on install by default is really important. Especially
+# since it's hard for users to work-around the specified build requirements.
+requires = ["setuptools>=41.0", "setuptools_scm~=6.0.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",