-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (63 loc) · 1.72 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
[tool.poetry]
name = "rdw-ingestion-tools"
version = "1.0.0"
description = "A Python package for integrating third-party data to Reach Digital Health's AWS Data Lake."
authors = ["Schalk1e <schalk@reachdigitalhealth.org>"]
license = "MIT"
readme = "README.md"
packages = [
{include = "api", from = "rdw_ingestion_tools"},
{include = "s3", from = "rdw_ingestion_tools"}
]
[tool.poetry.dependencies]
python = "^3.10"
boto3 = "^1.34.103"
pandas = "^2.2.2"
awswrangler = "^3.7.3"
attrs = "^23.2.0"
httpx = "^0.27.0"
types-tqdm = "^4.66.0.20240417"
[tool.poetry.group.types.dependencies]
pandas-stubs = "^2.2.1.240316"
types-requests = "^2.31.0.20240406"
boto3-stubs = "^1.34.124"
[tool.poetry.group.dev.dependencies]
ruff = "^0.4.7"
black = "^24.4.2"
yamllint = "^1.35.1"
mypy = "^1.10.0"
[tool.poetry.group.examples.dependencies]
tqdm = "^4.66.5"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
[tool.mypy]
# Run mypy . --explicit-package-bases. We use py.typed.
files = "."
follow_imports = "skip"
ignore_missing_imports = false
disallow_untyped_defs = true
warn_unreachable = true
[tool.pytest.ini_options]
addopts = "--cov=src --cov-report=term-missing"
filterwarnings = []
[tool.ruff]
target-version = "py311"
line-length = 79
[tool.ruff.lint]
select = [
"E", "F", "W", # pycodestyle + pyflakes == flake8 - mccabe
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
"S", # flake8-bandit
"C4", # flake8-comprehensions
"PIE", # flake8-pie
"SIM", # flake8-simplify
"PTH", # flake8-use-pathlib
]
ignore = [
"E402", # Example: src/api/flow_results/__init__.py:80:0
]