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

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