-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
86 lines (72 loc) · 2.69 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
[tool.poetry]
name = "gcp-pilot"
version = "1.29.1"
description = "Google Cloud Platform Friendly Pilot"
authors = ["Joao Daher <[email protected]>"]
repository = "https://github.com/flamingo-run/gcp-pilot"
readme = "README.md"
keywords = ["gcp", "google cloud python", "datastore orm"]
packages = [
{ include = "gcp_pilot" },
]
[tool.poetry.dependencies]
python = "~3.11||~3.12"
pytz = "*"
tenacity = "*"
factory_boy = "*"
google-api-python-client = "*"
google-cloud-tasks = { version = "^2", optional = true}
google-cloud-scheduler = { version = "^2", optional = true}
google-cloud-storage = { version = "^2", optional = true}
google-cloud-build = { version = "^3", optional = true}
google-cloud-bigquery = {version = "^3", optional = true, extras = ["storage"]}
google-cloud-speech = { version = "^2", optional = true}
gspread = { version = "^6", optional = true}
google-cloud-pubsub = { version = "^2", optional = true}
google-cloud-datastore = { version = "^2", optional = true}
google-cloud-iam = { version = "*", optional = true}
pydantic = { version = "*", optional = true}
google-cloud-dns = { version = "^0", optional = true, python = "<3.12"}
google-cloud-logging = { version = "^3", optional = true}
google-cloud-error-reporting = { version = "*", optional = true}
google-cloud-secret-manager = { version = "*", optional = true}
"fhir.resources" = { version = "*", optional = true}
[tool.poetry.extras]
tasks = ["google-cloud-tasks", "google-cloud-scheduler"]
build = ["google-cloud-build"]
storage = ["google-cloud-storage"]
bigquery = ["google-cloud-bigquery", "google-cloud-storage"]
speech = ["google-cloud-speech"]
sheets = ["gspread"]
pubsub = ["google-cloud-pubsub"]
datastore = ["google-cloud-datastore", "pydantic"]
dns = ["google-cloud-dns"]
secret = ["google-cloud-secret-manager"]
monitoring = ["google-cloud-logging", "google-cloud-error-reporting"]
healthcare = ["fhir.resources"]
iam = ["google-cloud-iam"]
[tool.poetry.dev-dependencies]
"fhir.resources" = { version = ">=7.0.2"}
ruff = "*"
pyjwt = "*"
pytest-cov = "*"
pytest-rerunfailures = "*"
pytest-xdist = "*"
pytest-sugar = "*"
pytest-random-order = "*"
pytest-timeout = "*"
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["RUF", "I", "PL", "F", "COM", "UP", "DJ", "T10", "T20", "DTZ", "SIM", "TID", "PTH", "ERA", "TRY"]
ignore = ["COM812","COM819", "PLR2004", "PLR0911", "PLR0912", "PLR0913", "PLR0915", "DJ001", "DJ001", "DJ008", "TRY003", "RUF012"]
[tool.pytest.ini_options]
addopts = "-n auto --reruns 2 --random-order --timeout 100 --cov"
python_files = ["*_test.py"]
[tool.coverage.run]
branch = true
source = ["gcp_pilot"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"