forked from python-poetry/tomlkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
69 lines (57 loc) · 1.46 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[tool.poetry]
name = "tomlkit"
version = "0.7.0"
description = "Style preserving TOML library"
authors = ["Sébastien Eustace <sebastien@eustace.io>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/sdispater/tomlkit"
repository = "https://github.com/sdispater/tomlkit"
packages = [
{include = "tomlkit"},
{include = "tests", format = "sdist"}
]
[tool.poetry.dependencies]
python = "~2.7 || ^3.5"
# enum34 is needed for Python 2.7
enum34 = { version = "^1.1", python = "~2.7" }
# functools32 is needed for Python 2.7
functools32 = { version = "^3.2.3", python = "~2.7" }
# The typing module is not in the stdlib in Python 2.7 and 3.4
typing = { version = "^3.6", python = "~2.7 || ~3.4" }
[tool.poetry.dev-dependencies]
pytest = "^4.6"
pytest-cov = "^2.5"
black = { version = "^19.3b0", markers = "python_version >= '3.6' and python_version < '4.0' and implementation_name != 'pypy'" }
pre-commit = "^1.10"
tox = "^3.1"
codecov = "^2.0"
pyyaml = "~5.3.1"
isort = {version = "^5.2.0", python = "^3.6"}
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
| tests/toml-test
)/
'''
[tool.isort]
profile = "black"
force_single_line = true
atomic = true
lines_after_imports = 2
lines_between_types = 1
known_first_party = ["tomlkit"]
known_third_party = ["pytest"]
[build-system]
requires = ["poetry-core>=1.0.0a9"]
build-backend = "poetry.core.masonry.api"