-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
147 lines (122 loc) · 4.59 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
[metadata]
description-file = "README.md"
[build-system]
# virtualenv 20.0.34 partly breaks pre-commit under conda
# https://github.com/ContinuumIO/anaconda-issues/issues/12094
# Poetry uses pip and setuptools (although they're not included as dependencies)
# We don't need to list wheel here, but setting a min vr can avoid generating inferior wheels
requires = ["poetry>=1.1,<2", "virtualenv==20.0.33", "wheel>=0.36,<1.0"]
build-backend = "poetry.masonry.api"
#########################################################################################
# Poetry metadata
#########################################################################################
[tool.poetry]
name = "typeddfs"
version = "0.6.0"
description = "Pandas DataFrame subclasses that enforce structure and can self-organize."
authors = ["Douglas Myers-Turnbull"]
maintainers = ["dmyersturnbull"]
license = "Apache-2.0"
readme = "README.md"
keywords = ["pandas", "typing", "columns", "structured"]
homepage = "https://github.com/dmyersturnbull/typed-dfs"
repository = "https://github.com/dmyersturnbull/typed-dfs"
documentation = "https://typed-dfs.readthedocs.io"
classifiers = [
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Environment :: Console",
"Topic :: Software Development :: Libraries :: Python Modules",
]
include = []
[tool.poetry.urls]
CI = "https://github.com/dmyersturnbull/typed-dfs/actions"
Issues = "https://github.com/dmyersturnbull/typed-dfs/issues"
Download = "https://pypi.org/project/typeddfs/"
#########################################################################################
# Tyrannosaurus
#########################################################################################
[tool.tyrannosaurus.options]
align = true
sort = true
[tool.tyrannosaurus.sources]
status = "'Development'"
date = "'${today}'"
copyright = "'Copyright 2016–2021'"
version = "tool.poetry.version"
release = "tool.poetry.version"
pyversions = "tool.poetry.dependencies"
devdeps = "tool.poetry.dev-dependencies"
linelength = "tool.black.line-length"
authors = [
"Douglas Myers-Turnbull <github:dmyersturnbull,orcid:0000-0003-3610-4808>"
]
maintainers = "tool.tyrannosaurus.sources.authors"
contributors = [
]
[tool.tyrannosuarus.paths]
recipe = "'recipes/${name}/meta.yml'"
environment = "'environment.yml'"
[tool.tyrannosaurus.targets]
pyproject = true
init = true
tox = true
docs = true
recipes = true
license = true
authors = true
github = true
dockerfile = true
readme = true
changelog = true
codemeta = true
environment = false
#########################################################################################
# Poetry build & dependencies
#########################################################################################
[tool.poetry.dependencies]
python = ">=3.8, <4"
# natsort has major version bumps often
natsort = ">=7"
pandas = ">=1.2, <2.0"
pyarrow = {version=">=3.0, <4.0", optional=true}
#fastparquet = {version=">=0.5, <1.0", optional=true}
#tables = {version=">=3.6, <4.0", optional=true}
[tool.poetry.dev-dependencies]
pre-commit = ">=2.11, <3.0"
pre-commit-hooks = ">=3.4, <4.0"
bandit = ">=1.7, <2.0"
pytest = ">=6.2, <7.0"
coverage = {extras = ["toml"], version = ">=5.5, <6.0"}
pytest-cov = ">=2.11, <3.0"
sphinx = ">=3.5, <4.0"
sphinx-autoapi = ">=1.7, <2.0"
sphinx-rtd-theme = ">=0.5, <1.0"
flake8 = ">=3.9, <4.0"
flake8-docstrings = ">=1.5, <2.0"
flake8-bugbear = ">=21"
tomlkit = ">=0.7, <1.0"
[tool.poetry.extras]
#hdf5 = ["tables"]
feather = ["pyarrow"]
#parquet = ["fastparquet", "pyarrow"]
#########################################################################################
# Style checking
#########################################################################################
[tool.coverage.paths]
source = ["typeddfs"]
[tool.coverage.run]
source = ["typeddfs"]
[tool.coverage.report]
show_missing = true
[tool.black]
line-length = 100
target-version = ["py38"]
[mypy]
check_untyped_defs = true
strict_optional = true