-
Notifications
You must be signed in to change notification settings - Fork 473
/
pyproject.toml
90 lines (73 loc) · 1.79 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
[project]
name = "modern_data_estate"
version = "0.1.0"
description = "Modern Data Estate"
authors = [
{ name = "Microsoft ISE Data Tech Domain", email = "your.email@example.com" },
]
dependencies = ["pandas", "numpy", "requests"]
[project.optional-dependencies]
code_qa = [
"black",
"isort",
"ruff",
"mypy",
"yamllint",
"nbqa",
"pre-commit",
"types-PyYAML",
]
test = ["pytest", "pytest-cov"]
release = ["build", "twine"]
dev = ["modern_data_estate[code_qa, test, release]", "ipykernel"]
ci = ["modern_data_estate[test]", "pre-commit"]
cd = ["modern_data_estate[release]"]
[tool.isort]
profile = "black"
line_length = 120
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
[tool.black]
line-length = 120
target-version = ['py311']
exclude = '''
/(
\.git
| \.venv
| archive
| e2e_samples/parking_sensors
| single_tech_samples
)/
'''
extend-exclude = ".*/*.ipynb|.*/*.xls"
[tool.ruff]
lint.select = ["E", "F", "B"]
# lint.ignore = ["E501"]
lint.fixable = ["E", "F", "B"]
line-length = 120
target-version = "py311"
exclude = [
"*.ipynb",
"archive/*",
"e2e_samples/parking_sensors/*",
"single_tech_samples/*",
]
builtins = ["notebookutils", "mssparkutils", "spark", "display"]
[tool.nbqa]
# [tool.nbqa.files] # include only below folders
# not supported yet
# [tool.yamllint]
# config-file = "yamllint.yaml"
# not supported yet
# [tool.markdownlint]
# config = "markdownlint.yml"
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
show_error_codes = true
disable_error_code = ["name-defined", "arg-type", "dict-item"]
exclude = [".venv"]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["e2e_samples", "archive", "single_tech_samples"]