-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
144 lines (129 loc) · 3.09 KB
/
pyproject.toml
File metadata and controls
144 lines (129 loc) · 3.09 KB
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
[tool.poetry]
name = "dynamicio"
version = "0.0.0" # dummy, will be overridden by git tag
description = "Panda's wrapper for IO operations"
authors = [
"Christos Hadjinikolis <christos.hadjinikolis@gmail.com>",
"Radu Ghitescu <radu.ghitescu@gmail.com>"
]
readme = "README.md"
packages = [{ include = "dynamicio" }]
license = "Apache-2.0"
keywords = ["data", "pandas", "io"]
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
awscli = ">=1.22.24"
boto3 = ">=1.20.24"
pyathena = "*"
fastparquet = ">=0.8.0"
fsspec = "==2022.11.0"
confluent-kafka = "~2.4.0"
logzero = ">=1.7.0"
magic-logger = ">=1.0.2"
numpy = ">=1.24.0,<2.0.0"
no_implicit_optional = "==1.4.0"
pandas = ">=1.5.1"
psycopg2-binary = "~2.9.3"
pyarrow = ">=10.0.1"
pydantic = ">=1.9.2,<3"
python-json-logger = "~2.0.1"
PyYAML = ">=5.4.1"
s3fs = "==0.4.2"
simplejson = "~3.17.2"
SQLAlchemy = ">=1.4.11"
tables = ">=3.10.1"
libcst = "==1.5.1"
[tool.poetry.group.dev.dependencies]
black = "*"
flake8-import-order = "*"
flake8-print = "*"
flake8-tidy-imports = "*"
flake8 = "*"
gitlint = "*"
mock = "*"
pandas-stubs = "*"
pre-commit = "*"
pydocstyle = "*"
pylint = "*"
pytest-asyncio = "*"
pytest-cov = "*"
pytest = "*"
tox = "*"
types-PyYAML = "*"
types-setuptools = "*"
types-simplejson = "*"
yamllint = "*"
[tool.poetry.group.docs.dependencies]
mkdocs = "*"
mkdocs-material = "*"
mkdocstrings = { version = "*", extras = ["python"] }
mkdocs-techdocs-core = "*"
[tool.poetry.group.build.dependencies]
setuptools = "==70.0.0"
twine = "==4.0.1"
wheel = "==0.38.4"
[tool.poetry.scripts]
dynamicio = "dynamicio.cli:run"
[build-system]
requires = [
"setuptools>=69.0.3",
"wheel",
"poetry-core>=1.0.0",
"poetry-dynamic-versioning"
]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
fix-shallow-repository = true
[tool.black]
target-version = ['py310']
line-length = 185
include = '\.pyi?$'
exclude = '''
(
/(
\.git
| \.github
| \.venv
| docs
| demo
)/
| tests/conftest.py
)
'''
[tool.isort]
profile = "black"
line_length = 185
known_first_party = ["dynamicio", "tests"]
import_heading_firstparty = "Application Imports"
[tool.pylint.'MASTER']
load-plugins = ["pylint.extensions.docparams"]
extension-pkg-whitelist = "pydantic"
max-line-length = 185
[tool.pylint.'MESSAGES CONTROL']
disable = [
"C0114", # missing-module-docstring
"C0115", # missing-class-docstring
"C0116", # missing-function-docstring
"R0903", # too-few-public-methods
"W0621", # redefined-outer-name
]
[tool.pylint.'FORMAT']
max-line-length = 185
[tool.pytest.ini_options]
markers = [
"unit: mark tests that asses the logic of a functions smaller logical components",
"integration: mark a test concerned with the use of multiple functions",
]
addopts = "-p no:warnings"
log_cli = false
[tool.pydocstyle]
convention = 'google'
add_ignore = 'D103' # Ignore missing docstring in public function