-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
94 lines (82 loc) · 2.19 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
[tool.poetry]
name = "pdpcli"
version = "0.4.1"
description = "PdpCLI is a pandas DataFrame processing CLI tool which enables you to build a pandas pipeline from a configuration file."
authors = ["altescy <altescy@fastmail.com>"]
license = "MIT License"
readme = "README.md"
homepage = "https://github.com/altescy/pdpcli"
keywords=["python", "cli", "pandas", "csv"]
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
]
packages = [
{ include = "pdpcli" }
]
[tool.poetry.dependencies]
python = "^3.8"
pandas = "^1.2.2"
pdpipe = "^0.0.58"
omegaconf = "^2.0.6"
jsonnet = "^0.17.0"
colt = "^0.7.2"
sqlalchemy = "^1.3.23"
nltk = "^3.5"
scikit-learn = "^1.0"
mysqlclient = {version = "^2.0.3", optional = true}
psycopg2 = {version = "^2.8.6", optional = true}
minato = {version = "^0.6.1", extras = ["all"]}
[tool.poetry.dev-dependencies]
pytest = "^5.2"
python-language-server = "^0.36.2"
ipython = "^7.20.0"
pysen = {version = "^0.9.1", extras = ["lint"]}
[tool.poetry.extras]
mysql = ["mysqlclient"]
pgsql = ["psycopg2"]
all = ["mysqlclient", "psycopg2"]
[tool.poetry.scripts]
pdp = "pdpcli.__main__:run"
[tool.pysen]
version = "0.9"
[tool.pysen-cli]
settings_dir = "."
[tool.pysen.lint]
enable_black = true
enable_flake8 = true
enable_isort = true
enable_mypy = true
mypy_preset = "strict"
line_length = 88
py_version = "py38"
[[tool.pysen.lint.mypy_targets]]
paths = ["pdpcli/"]
[tool.pysen.lint.source]
includes = ["pdpcli/"]
excludes = [".venv/"]
[tool.black] # automatically generated by pysen
line-length = 88
target-version = ["py38"]
[tool.isort] # automatically generated by pysen
default_section = "THIRDPARTY"
ensure_newline_before_comments = true
force_grid_wrap = 0
force_single_line = false
include_trailing_comma = true
line_length = 88
multi_line_output = 3
use_parentheses = true
[tool.pytest.ini_options]
testpaths = ["tests/"]
log_format = "%(asctime)s - %(levelname)s - %(name)s - %(message)s"
log_level = "DEBUG"
markers = ["java"]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"