-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (72 loc) · 1.89 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
[tool.ruff]
line-length = 88
select = [
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C4", # comprehensions
"D", # pydocstyle
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"ISC", # flake8-implicit-str-concat
"PGH", # pygrep-hooks
"PLC", # pylint
"PLE", # pylint
"PLR", # pylint import style
"PLW", # pylint
"RET", # flake8-return
"RUF", # ruff-specific rules
"SIM", # flake8-simplify
"T10", # flake8-debugger
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]
respect-gitignore = true
ignore = [
"D100", # public module
"D101", # public class
"D102", # public method
"D103", # public function
"D104", # public package
"D203", # blank line before docstring
"D212", # Start multi-line docstring at the second line.
"E501", # line length handled by black
"ISC001", # Handled by formatter
"PGH003", # specific mypy ignore codes
"PLR0913", # too many arguments
"PLR0912", # too many branches
"RET505", # no-else-return
"RET506", # no-else-raise
]
target-version = "py310"
[tool.mypy]
python_version = "3.10"
allow_untyped_decorators = true # would love to enable this, but airflow decorators are untyped
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
warn_redundant_casts = true
warn_unused_ignores = false
warn_unreachable = true
[tool.poetry]
name = "data-infrastructure"
version = "0.1.0"
description = "\"CalData Data Services and Engineering Infrastructure\""
authors = ["Ian Rose <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
mkdocs-material = "~9.1.3"
dbt-core = "~1.8.0"
dbt-snowflake = "~1.8.0"
awscliv2 = "^2.2.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.1"
sqlfluff = "3.0.7"
sqlfluff-templater-dbt = "3.0.7"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"