-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
61 lines (54 loc) · 1.37 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
[project]
name = "data-platform"
version = "0.1.0"
requires-python = ">3.7"
readme = "README.md"
authors = [{ name = "Data Team", email = "[email protected]" }]
dependencies = [
# Formatting
"black",
# Type checking
"mypy",
# Linting
"ruff",
# phidata
"phidata==2.0.0.dev29",
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
# Exclude secrets from the package
# https://setuptools.pypa.io/en/latest/userguide/datafiles.html#exclude-package-data
[tool.setuptools.exclude-package-data]
workspace = ["secrets"]
# Change this value to use a different directory for the phidata workspace.
# [tool.phidata]
# workspace = "workspace"
[tool.ruff]
line-length = 110
exclude = [
"dpenv*",
"workspace/dev/airflow/config/*",
"workspace/prd/airflow/config/*",
"workspace/dev/jupyter/config/*",
"workspace/prd/jupyter/config/*",
"workspace/prd/superset/config/*",
]
[tool.mypy]
pretty = true
check_untyped_defs = true
no_implicit_optional = true
warn_unused_configs = true
plugins = ["pydantic.mypy"]
exclude = [
"dpenv*",
"workspace/dev/airflow/config/*",
"workspace/prd/airflow/config/*",
"workspace/dev/jupyter/config/*",
"workspace/prd/jupyter/config/*",
"workspace/prd/superset/config/*",
]
[[tool.mypy.overrides]]
module = ["airflow.*", "phi.*", "pyarrow.*", "setuptools.*"]
ignore_missing_imports = true