-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
87 lines (74 loc) · 1.99 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
[project]
name = "kedro-databricks"
version = "0.7.0"
description = "A plugin to run Kedro pipelines on Databricks."
authors = [{ name = "Jens Peder Meldgaard", email = "jenspederm@gmail.com" }]
readme = "README.md"
requires-python = ">= 3.9"
dependencies = [
"kedro>=0.19.8",
"mergedeep>=1.3.4",
"tomlkit>=0.13.0",
"databricks-sdk>=0.36.0",
]
[dependency-groups]
dev = [
"pytest>=8.3.3",
"pytest-cov>=6.0.0",
"pre-commit>=4.0.1",
"ruff>=0.7.2",
"commitizen>=3.30.0",
]
[project.urls]
Homepage = "https://github.com/jenspederm/kedro-databricks"
Issues = "https://github.com/jenspederm/kedro-databricks/issues"
[project.entry-points."kedro.project_commands"]
databricks = "kedro_databricks.plugin:commands"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/kedro_databricks"]
[tool.pytest.ini_options]
addopts = """
--log-format="%(asctime)s %(levelname)s %(message)s"
--log-date-format="%Y-%m-%d %H:%M:%S"
--cov-report=xml:coverage.xml
--cov-report=term-missing
--cov=kedro_databricks
--no-cov-on-fail
--cov-fail-under=70
--ignore-glob="develop-eggs/*"
-ra
-vv"""
[tool.black]
exclude = ".*template.py"
[tool.coverage.report]
fail_under = 100
show_missing = true
omit = ["tests/*"]
exclude_also = ["raise NotImplementedError"]
[tool.ruff]
line-length = 88
show-fixes = true
lint.select = [
"F", # Pyflakes
"W", # pycodestyle
"E", # pycodestyle
"I", # isort
"UP", # pyupgrade
"PL", # Pylint
"T201", # Print Statement
]
lint.ignore = ["E501", "PLR0913"] # Black takes care of line-too-long
[tool.ruff.lint.per-file-ignores]
"{tests,features}/*" = ["T201", "PLR2004", "PLR0915", "PLW1510"]
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "pep440"
version_provider = "pep621"
update_changelog_on_bump = true
major_version_zero = true