-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (37 loc) · 1.6 KB
/
Copy pathpyproject.toml
File metadata and controls
45 lines (37 loc) · 1.6 KB
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
[project]
name = "databricks-bundle-template"
version = "1.12.0"
description = "A custom Declarative Automation Bundles template for production-ready, multi-environment data pipeline projects"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
authors = [{name = "Vadym Mariiechko"}]
keywords = ["databricks", "automation-bundles", "dabs", "template", "data-engineering"]
[project.urls]
Homepage = "https://github.com/vmariiechko/databricks-bundle-template"
Issues = "https://github.com/vmariiechko/databricks-bundle-template/issues"
Documentation = "https://github.com/vmariiechko/databricks-bundle-template#readme"
Changelog = "https://github.com/vmariiechko/databricks-bundle-template/blob/main/CHANGELOG.md"
# Ruff settings for the project: https://docs.astral.sh/ruff/settings
[tool.ruff]
builtins = ["spark", "dbutils", "display"]
line-length = 100
src = ["src", "tests", "assets/sdp-quarantine-pattern/template/{{.target_dir}}"]
target-version = "py311"
[tool.ruff.format]
quote-style = "double"
[tool.ruff.lint]
# E/W: pycodestyle, F: pyflakes, I: import sorting, B: bugbear, C4: comprehensions,
# UP: pyupgrade, N: pep8-naming
select = ["E", "W", "F", "I", "B", "C4", "UP", "N"]
ignore = ["N812"]
[tool.ruff.lint.per-file-ignores]
# Apply these ignores ONLY to notebook-style scripts
"sdp_reset_checkpoint_workspace.py" = ["E402", "E501"]
"*/tests/test_expectations.py" = ["E501"]
# PySpark TimestampType monkey-patch mirrors upstream mixedCase API (SPARK-25244).
"**/conftest.py" = ["N802", "N816"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.ruff.lint.pydocstyle]
convention = "google"