-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
90 lines (77 loc) · 1.68 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
88
89
90
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "regtech-data-validator"
version = "0.1.0"
description = "RegTech submission data parser and validator"
authors = []
readme = "README.md"
packages = [{ include = "regtech_data_validator", from = "src" }]
[tool.poetry.dependencies]
python = ">=3.12,<4"
pandas = "^2.2.2"
pandera = "^0.21.0"
requests = "^2.32.3"
tabulate = "^0.9.0"
ujson = "^5.9.0"
fsspec = "^2024.6.1"
polars-lts-cpu = "^1.16.0"
pyarrow = "^18.1.0"
boto3 = "~1.34.0"
#pinning due to snyk high vulnerability find
s3fs = { version = "^2024.9.0", extras = ["aiohttp=^3.11.10"] }
[tool.poetry.group.dev.dependencies]
pytest = "8.3.4"
pytest-cov = "6.0.0"
beautifulsoup4 = "^4.12.3"
lxml = "^5.3.0"
[tool.poetry.group.data.dependencies]
openpyxl = "^3.1.5"
[tool.poetry.group.linters.dependencies]
black = "24.8.0"
ruff = "0.8.3"
[tool.poetry.group.cli.dependencies]
typer = "^0.15.1"
[tool.poetry.scripts]
cfpb-val = 'regtech_data_validator.cli:app'
# Black formatting
[tool.black]
preview = true
line-length = 120
skip-string-normalization = true
include = '\.pyi?$'
exclude = '''
/(
| .devcontainer
| .git
| .gitignore
| .github
| data
)/
'''
# Linting
[tool.ruff]
# Same as Black.
line-length = 120
# Testing
[tool.pytest.ini_options]
pythonpath = ["src"]
addopts = [
"--cov-report=term-missing",
"--cov-branch",
"--cov-report=xml",
"--cov-report=term",
"--cov=regtech_data_validator",
"-vv",
"--strict-markers",
"-rfE",
]
testpaths = [
"tests",
]
[tool.coverage.run]
relative_files = true
source = ["regtech_data_validator"]
[tool.coverage.report]
skip_empty = true