-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
131 lines (121 loc) · 3.37 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
[tool]
[tool.poetry]
name = "dremio-arrow"
version = "1.0.3"
homepage = "https://github.com/jaysnm/dremio-arrow"
description = "Dremio SQL Lakehouse Arrow Flight Client."
authors = ["Jason Kinyua <jaysnmury@gmail.com>"]
readme = "README.md"
license = "Apache-2.0"
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
packages = [
{ include = "dremioarrow" },
{ include = "tests", format = "sdist" },
]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
pyarrow = ">=12.0.1,<15.0.0"
pandas = "^2.0.3"
black = "^23.3.0"
isort = { version = "^5.12.0", optional = true }
flake8 = "5.0.4"
flake8-docstrings = { version = "^1.7.0", optional = true }
mypy = { version = "^1.4.1", optional = true }
pytest = { version = "^7.4.0", optional = true }
pytest-cov = { version = "^4.1.0", optional = true }
pre-commit = { version = "^3.3.3", optional = true }
bump2version = { version = "^1.0.1", optional = true }
virtualenv = { version = "20.13.2", optional = true }
requests = { version = "^2.31.0", optional = true }
types-requests = { version = "^2.31.0.1", optional = true }
mkdocs = { version = "^1.4.3", optional = true }
mkdocs-material = { version = "^9.1.18", optional = true }
mkdocstrings = { version = "^0.22.0", optional = true }
mkdocs-material-extensions = { version = "^1.1.1", optional = true }
mkdocs-git-revision-date-localized-plugin = { version = "^1.2.0", optional = true }
mkdocs-autorefs = { version = "^0.4.1", optional = true }
ipython = { version = "^8.14.0", optional = true }
jupyterlab = { version = "^4.0.2", optional = true }
tornado = "^6.3.2"
mkdocs-include-markdown-plugin = "^4.0.4"
mkdocstrings-python = "^1.1.2"
[tool.poetry.extras]
test = [
"black",
"isort",
"flake8",
"flake8-docstrings",
"mypy",
"pytest",
"pytest-cov",
]
dev = [
"pre-commit",
"bump2version",
"virtualenv",
"tox",
"requests",
"types-requests",
]
doc = [
"mkdocs",
"mkdocs-material",
"mkdocstrings",
"mkdocs-material-extension",
"mkdocs-include-markdown-plugin",
"mkdocs-git-revision-date-localized-plugin",
"mkdocs-autorefs",
]
toy = ["ipython", "jupyterlab"]
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ['py310', 'py311']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
skip_gitignore = true
# you can skip files as below
#skip_glob = docs/conf.py
[tool.pyright]
# please consider this a temporary fix for my M1 incompatibility issues with pyarrow package
reportGeneralTypeIssues = false
reportUnknownMemberType = false
reportUnknownVariableType = false
reportUnknownArgumentType = false
reportMissingTypeStubs = false
reportUnknownLambdaType = false
reportUnknownParameterType = false
reportMissingTypeArgument = false
reportUntypedBaseClass = false
reportMissingImports = false
reportMissingParameterType = false
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"