forked from EntilZha/PyFunctional
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
98 lines (88 loc) · 2.32 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
[tool.poetry]
name = "PyFunctional"
version = "1.5.0"
description = "Package for creating data pipelines with chain functional programming"
authors = ["Pedro Rodriguez <me@pedro.ai>"]
maintainers = ["Pedro Rodriguez <me@pedro.ai>"]
readme = "README.md"
homepage = "https://github.com/EntilZha/PyFunctional"
repository = "https://github.com/EntilZha/PyFunctional"
documentation = "https://docs.pyfunctional.pedro.ai/en/master/"
keywords = ["functional", "pipeline", "collection", "chain", "linq", "parallel"]
license = "MIT"
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
]
packages = [{ include = "functional" }]
[tool.poetry.dependencies]
python = "^3.8.0"
dill = ">=0.2.5"
tabulate = "<=1.0.0"
pandas = { version = ">=1.0.3", optional = true }
[tool.poetry.extras]
all = ["pandas"]
[tool.poetry.dev-dependencies]
black = "^23.1"
pytest = "^7.3.1"
pylint = "^2.17.4"
pytest-cov = "^4.0.0"
coverage = "^7.2.5"
[tool.poetry.group.dev.dependencies]
mypy = "^1.1.1"
types-tabulate = "^0.9.0.3"
pandas-stubs = "^2.0.3.230814"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
# COMMON SETTINGS BELOW
[tool.pyright]
pythonVersion = "3.8"
[tool.mypy]
python_version = "3.8"
check_untyped_defs = false
disallow_any_generics = false
disallow_incomplete_defs = false
disallow_untyped_defs = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = false
[tool.ruff.lint]
select = [
"F",
"FA",
"TCH",
"UP",
"PL",
]
ignore = [
"UP008",
"UP028",
"PLR0913",
"PLR2004",
"PLR5501",
]
# https://github.com/astral-sh/ruff/issues/4368
[tool.ruff.lint.per-file-ignores]
"**/test/*.py" = [
"ALL",
]
"docs/**/*.py" = [
"ALL",
]