-
Notifications
You must be signed in to change notification settings - Fork 55
/
pyproject.toml
98 lines (88 loc) · 1.55 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 = "zenml-projects"
version = "1.0.0"
description = "Explore MLOps production use-cases with ZenML."
authors = ["ZenML CodeMonkey <codemonkey@zenml.io>"]
[tool.poetry.dependencies]
python = ">=3.7.0,<3.9.0"
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
darglint = "1.8.1"
ruff = ">=0.0.254"
pyspelling = "^2.8.2"
mypy = ">=1.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 79
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
".test_durations",
"build",
"dist",
"node_modules",
"venv",
'__init__.py',
]
# use Python 3.8 as the minimum version for autofixing
target-version = "py38"
[tool.ruff.format]
exclude = [
"*.git",
"*.hg",
".mypy_cache",
".tox",
".venv",
"_build",
"buck-out",
"build]",
]
[tool.ruff.lint]
# Disable autofix for unused imports (`F401`).
unfixable = ["F401"]
per-file-ignores = {}
ignore-init-module-imports = true
ignore = [
"E501",
"F401",
"F403",
"D301",
"D401",
"D403",
"D407",
"D213",
"D203",
"S101",
"S104",
"S105",
"S106",
"S107",
]
select = ["D", "E", "F", "I", "I001", "Q"]
[tool.ruff.lint.flake8-import-conventions.aliases]
altair = "alt"
"matplotlib.pyplot" = "plt"
numpy = "np"
pandas = "pd"
seaborn = "sns"
[tool.ruff.lint.mccabe]
max-complexity = 18
[tool.ruff.lint.pydocstyle]
# Use Google-style docstrings.
convention = "google"