generated from ydataai/opensource-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
83 lines (75 loc) · 1.5 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
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.8.0,<4"]
[project]
name = "ydata-sdk"
authors = [
{name = "YData", email = "[email protected]"},
]
description = "Python package developer's cheat sheet (using pyproject.toml)."
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"License :: OSI Approved :: MIT License",
]
dynamic = [
"version",
]
dependencies = [
]
[project.license]
file = "LICENSE"
[project.urls]
Home = "https://github.com/ydataai/ydata-sdk"
[project.optional-dependencies]
dev = [
"twine",
"flit==3.8.0",
"pylint==2.15.10",
]
doc = [
"mkdocs>=1.4.2,<2.0.0",
"mkdocs-material>=9.0.12,<10.0.0",
"mike>=1.1.2,<2.0.0",
"mkdocstrings >= 0.20.0, <1.0.0"
]
test = [
"pytest==6.2.5",
"pytest-bdd==4.0.*",
"pytest-cov==2.11.*",
"pytest-xdist==2.2.*",
]
[tool.flit.module]
name = "ydata-sdk"
[tool.flit.sdist]
exclude = [
".github/*",
"docs/*",
"examples/*",
"tests/*",
".editorconfig",
".python-version",
".gitignore",
".releaserc.json",
"CODE_OF_CONDUCT.md",
"Makefile",
]
[tool.pytest.ini_options]
mccabe-complexity = 10
[tool.pylint]
max-locals = 15
max-returns = 6
max-branches = 12
max-statements = 50
max-parents = 7
max-attributes = 7
min-public-methods = 2
max-public-methods = 20
max-module-lines = 1000
max-line-length = 120
disable = [
"W0511", # fixme
"W0311", # bad-indentation
"C0330", # bad-continuation
"R0903", # too-few-public-methods
]