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

Don't mark subtrees as changed that were already marked.
[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 )/
28 '''
29
30
31 # Poetry package information below.
32
33 [tool.poetry]
34 name = "black"
35 version = "18.6b2"
36 description = "The uncompromising code formatter."
37 readme = "README.md"
38 # FIXME: use proper Unicode below when new `pip` comes out with a fix for
39 # https://github.com/pypa/pip/pull/5482.
40 authors = ["Lukasz Langa <lukasz@langa.pl>"]
41 homepage = "https://github.com/ambv/black/"
42 documentation = "https://black.readthedocs.io/en/stable/"
43 license = "MIT"
44 keywords = ["automation", "formatter", "yapf", "autopep8", "gofmt"]
45 classifiers=[
46     "Development Status :: 4 - Beta",
47     "Environment :: Console",
48     "Intended Audience :: Developers",
49     "Operating System :: OS Independent",
50     "Topic :: Software Development :: Libraries :: Python Modules",
51     "Topic :: Software Development :: Quality Assurance",
52 ]
53 # include = ["blib2to3/**/*.py", "blib2to3/*.txt", "blib2to3/LICENSE"]
54
55 [tool.poetry.scripts]
56 black = "black:main"
57
58 [tool.poetry.dependencies]
59 python = "^3.6"
60 attrs = "^17.4"
61 click = "^6.5"
62 toml = "^0.9.4"
63 appdirs = "^1.4"
64
65 [tool.poetry.dev-dependencies]
66 Sphinx = "^1.7"
67 pre-commit = "^1.10"
68 coverage = "^4.5"
69 flake8 = "^3.5"
70 flake8-bugbear = "^18.2"
71 flake8-mypy = "^17.8"
72 mypy = "^0.600"
73 readme_renderer = "^21.0"
74 recommonmark = "^0.4.0"