-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
96 lines (79 loc) · 2.44 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
[project]
name = "streamerate"
authors = [{name = "Andrei Suiu", email = "andrei.suiu@gmail.com"}]
dynamic = ["version", "description"]
[tool.poetry]
name = "streamerate"
version = "1.1.2" # do not edit manually. kept in sync with `tool.commitizen` config via automation
description = "streamerate: a fluent and expressive Python library for chainable iterable processing, inspired by Java 8 streams."
authors = ["Andrei Suiu <andrei.suiu@gmail.com>"]
repository = "https://github.com/asuiu/streamerate"
readme = "README.md"
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.8,<4.0.0"
tqdm = ">=4.62.0"
throttlex = ">=1.0.0"
gevent = ">=21.1.2"
tblib = ">=1.7.0"
pydantic = ">=1.8.2"
[tool.poetry.dev-dependencies]
pandas = ">=2.0.3" # the latest version of pandas that supports Python 3.8
pyxtension = "==1.16.8" # the latest version of pyxtension that supports Python 3.8
pre-commit = ">=3.5.0"
twine = ">=5.1.1"
tomli = "^2.0.1"
[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.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]
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F"]
ignore = ["E501"]
# 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.0.5" # 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"