-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
87 lines (76 loc) · 2.06 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
[tool.poetry]
name = "pipelines"
version = "0.1.0"
description = ""
authors = [
"Gabriel Gazola Milan <[email protected]>",
"Pedro Mendes <[email protected]>",
]
[tool.poetry.dependencies]
python = ">=3.10,<3.11"
dbt-bigquery = "^1.6.1"
google-cloud-storage = "^2.10.0"
lxml = "^5.2.2"
pandas = "^2.2.2"
pendulum = "^3.0.0"
prefect = "1.4.1"
pyarrow = "^17.0.0"
pymongo = "^4.8.0"
pymongoarrow = "^1.5.2"
zeep = "^4.2.1"
prefeitura-rio = { git = "https://github.com/prefeitura-rio/prefeitura-rio", rev = "20ad0e18125b211041bc1e586498d6f565671c94", extras = [
"pipelines",
"pipelines-templates",
"actions",
] }
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
basedpyright = "^1.17.2"
ipython = "^8.27.0"
[tool.poetry.group.ci]
optional = true
[tool.poetry.group.ci.dependencies]
loguru = "^0.7.0"
networkx = "^3.1"
pre-commit = "^3.3.3"
ruff = "^0.6.2"
taskipy = "^1.12.0"
typer = "^0.9.0"
[tool.basedpyright]
typeCheckingMode = "standard"
useLibraryCodeForTypes = true
venvPath = "."
venv = ".venv"
[tool.ruff]
target-version = "py310"
line-length = 120
indent-width = 4
include = ["\\.pyi?$"]
exclude = [".git", ".ruff_cache", "__pycache__", ".github"]
[tool.ruff.lint]
select = ["ALL"]
fixable = ["ALL"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
ignore = [
"ANN101", # missing type annotation for self in method
"ARG001", # unused function argument
"D100", # missing docstring in public module
"D103", # missing docstring in public function
"D203", # 1 blank line required before class docstring
"D212", # multiline summary in first line
"PLR0913", # too many arguments in function definition
"S603", # subprocess call - check for execution of untrusted input
"T201", # print statement used in code
]
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = "dynamic"
indent-style = "space"
line-ending = "auto"
quote-style = "double"
[tool.taskipy.tasks]
lint = "ruff check ."
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"