forked from python-pendulum/pendulum
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
71 lines (60 loc) · 1.64 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
70
71
[tool.poetry]
name = "pendulum"
version = "2.1.0"
description = "Python datetimes made easy"
authors = ["Sébastien Eustace <[email protected]>"]
license = "MIT"
readme = 'README.rst'
homepage = "https://pendulum.eustace.io"
repository = "https://github.com/sdispater/pendulum"
documentation = "https://pendulum.eustace.io/docs"
keywords = ['datetime', 'date', 'time']
build = "build.py"
packages = [
{include = "pendulum"},
#{include = "tests", format = "sdist"},
]
include = ["pendulum/py.typed"]
[tool.poetry.dependencies]
python = "~2.7 || ^3.5"
python-dateutil = "^2.6"
pytzdata = ">=2018.3"
# typing is needed for Python < 3.5
typing = { version = "^3.6", python = "<3.5" }
[tool.poetry.dev-dependencies]
pytest = "^4.6"
pytest-cov = "^2.5"
pytz = ">=2018.3"
babel = "^2.5"
cleo = "^0.7.5"
tox = "^3.0"
black = { version = "^19.3b0", markers = "python_version >= '3.6' and python_version < '4.0' and implementation_name != 'pypy'" }
isort = { version = "^4.3.21", markers = "python_version >= '3.6' and python_version < '4.0'" }
pre-commit = "^1.10"
mkdocs = { version = "^1.0", python = "^3.5" }
pymdown-extensions = "^6.0"
pygments = "^2.2"
markdown-include = "^0.5.1"
[tool.isort]
line_length = 88
force_single_line = true
force_grid_wrap = 0
atomic = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 1
multi_line_output = 3
use_parentheses = true
not_skip = "__init__.py"
skip_glob = ["*/setup.py"]
filter_files = true
known_first_party = "pendulum"
known_third_party = [
"babel",
"cleo",
"dateutil",
"pytzdata",
]
[build-system]
requires = ["poetry>=1.0.0b1"]
build-backend = "poetry.masonry.api"