]> git.madduck.net Git - etc/vim.git/blob - pyproject.toml

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

remove --py36 (#724)
[etc/vim.git] / pyproject.toml
1 # Example configuration for Black.
2
3 # NOTE: you have to use single-quoted strings in TOML for regular expressions.
4 # It's the equivalent of r-strings in Python.  Multiline strings are treated as
5 # verbose regular expressions by Black.  Use [ ] to denote a significant space
6 # character.
7
8 [tool.black]
9 line-length = 88
10 target_version = ['cpy36', 'cpy37', 'cpy38']
11 include = '\.pyi?$'
12 exclude = '''
13 /(
14     \.eggs
15   | \.git
16   | \.hg
17   | \.mypy_cache
18   | \.tox
19   | \.venv
20   | _build
21   | buck-out
22   | build
23   | dist
24
25   # The following are specific to Black, you probably don't want those.
26   | blib2to3
27   | tests/data
28   | profiling
29 )/
30 '''
31
32
33 # Poetry package information below.
34 # NOTE: You don't need this in your own Black configuration.
35
36 [tool.poetry]
37 name = "black"
38 version = "18.9b0"
39 description = "The uncompromising code formatter."
40 readme = "README.md"
41 authors = [
42     "Łukasz Langa <lukasz@langa.pl>",
43     "Carol Willing <carolcode@willingconsulting.com>",
44     "Carl Meyer <carl@oddbird.net>",
45     "Jelle Zijlstra <jelle.zijlstra@gmail.com>",
46     "Mika Naylor <mail@autophagy.io>",
47     "Zsolt Dollenstein <zsol.zsol@gmail.com>",
48 ]
49 homepage = "https://github.com/ambv/black/"
50 documentation = "https://black.readthedocs.io/en/stable/"
51 license = "MIT"
52 keywords = ["automation", "formatter", "yapf", "autopep8", "gofmt"]
53 classifiers=[
54     "Development Status :: 4 - Beta",
55     "Environment :: Console",
56     "Intended Audience :: Developers",
57     "Operating System :: OS Independent",
58     "Topic :: Software Development :: Libraries :: Python Modules",
59     "Topic :: Software Development :: Quality Assurance",
60 ]
61
62 packages = [
63     {include = "black.py"},
64     {include = "blib2to3"}
65 ]
66
67 [tool.poetry.scripts]
68 black = "black:main"
69 # blackd = "blackd:main"  # TODO: how to make this only appear on `poetry install -E d`?
70
71 [tool.poetry.dependencies]
72 python = "^3.6"
73 attrs = "^18.1"
74 click = "^6.5"
75 toml = "^0.9.4"
76 appdirs = "^1.4"
77 aiohttp = { version = "^3.4", optional = true }
78
79 [tool.poetry.extras]
80 d = ["aiohttp"]
81
82 [tool.poetry.dev-dependencies]
83 Sphinx = "^1.7"
84 pre-commit = "^1.10"
85 coverage = "^4.5"
86 flake8 = "^3.5"
87 flake8-bugbear = "^18.2"
88 flake8-mypy = "^17.8"
89 mypy = "^0.620"
90 readme_renderer = "^21.0"
91 recommonmark = "^0.4.0"