-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
109 lines (91 loc) · 2.57 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
[tool.poetry]
name = "sparkorm"
version = "1.2.29" # do not edit manually. kept in sync with `tool.commitizen` config via automation
description = "SparkORM: Python Spark SQL & DataFrame schema management and basic Object Relational Mapping."
authors = ["Andrei Suiu <[email protected]>"]
repository = "https://github.com/asuiu/sparkorm"
readme = "README.md"
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.8,<4.0.0"
streamerate = "^1"
StrEnum = ">=0.4.0"
tsx = ">=0.1.16"
[tool.poetry.extras]
pyspark = ["pyspark"]
[tool.poetry.dev-dependencies]
pytest = "~7.2"
invoke = "~2.0"
black = ">=23.1"
pycodestyle = "~2.10"
pydocstyle = "~6.3"
prospector = "~1.10"
pytest-spark = "~0.6"
termcolor = "~2.2.0"
commitizen = "~2.42.1"
tomlkit = "~0.11.6"
pytest-only = "~=2.0.0"
coverage = {extras = ["toml"], version = "~7.2.1"}
pytest-cov = "~4.0.0"
scikit-build = "~0.16.7"
tsx = "^0.1.4"
pre-commit = ">=2.21.0"
pandas = ">=1.0.5" # required by pyspark to run tests
PyArrow = ">=1.0.0" # required by pyspark to run tests
[tool.poetry.scripts]
test = "tasks:test"
reformat = "tasks:reformat"
lint = "tasks:lint"
typecheck = "tasks:typecheck"
verify-all = "tasks:verify_all"
find-releasable-changes = "tasks:find_releasable_changes"
prepare-release = "tasks:prepare_release"
debug-auto-git-tag = "tasks:debug_auto_git_tag"
[tool.black]
line-length = 160
include = '\.pyi?$'
default_language_version = '3.8'
[tool.pylint.master]
#ignore="tests,test_integrations"
ignore-patterns=["test_.*"]
load-plugins=["pylint.extensions.no_self_use"]
[tool.pylint.format]
max-module-lines = 1000
[tool.pylint.messages_control]
max-line-length = 160
disable = ["import-error",
"missing-module-docstring",
"missing-class-docstring",
"invalid-name",
"no-name-in-module",
"missing-function-docstring",
"too-few-public-methods",
"too-many-instance-attributes",
"logging-fstring-interpolation"]
output-format = "colorized"
max-locals=25
max-args=10
enable="useless-suppression"
[tool.ruff]
line-length = 160
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F"]
ignore = []
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["A", "B", "C", "D", "E", "F"]
unfixable = []
[tool.commitizen]
name = "cz_conventional_commits"
version = "1.2.19" # do not edit manually. kept in sync with `tool.poetry` config via automation
tag_format = "v$version"
# Same as Black.
line-length = 160
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:"
]
[build-system]
requires = ["poetry>=1.3"]
build-backend = "poetry.masonry.api"