]> 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:

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