forked from JenspederM/kedro-databricks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (63 loc) · 1.78 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
[project]
name = "kedro-databricks"
version = "0.1.9"
description = "A plugin to run Kedro pipelines on Databricks."
authors = [{ name = "Jens Peder Meldgaard", email = "[email protected]" }]
dependencies = ["kedro>=0.19.0", "mergedeep>=1.3.4", "tomlkit>=0.13.0"]
readme = "README.md"
requires-python = ">= 3.11"
[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.rye]
managed = true
dev-dependencies = [
"pytest>=8.2.2",
"pytest-cov>=5.0.0",
"isort>=5.13.2",
"ipython>=8.26.0",
"notebook>=7.2.1",
"pre-commit>=3.7.1",
]
[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"""
[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"] # Black takes care of line-too-long
[tool.ruff.lint.per-file-ignores]
"{tests,features}/*" = ["T201", "PLR2004", "PLR0915", "PLW1510"]