generated from cfpb/open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
63 lines (51 loc) · 1.16 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
[tool.poetry]
name = "regtech-api-commons"
version = "0.1.0"
description = ""
authors = ["CFPB's RegTech Team"]
readme = "README.md"
packages = [{include = "regtech_api_commons", from = "src"}]
[tool.poetry.dependencies]
python = "^3.12"
fastapi = "^0.115.2"
requests = "^2.32.3"
python-jose = "^3.3.0"
python-keycloak = "^4.3.0"
pydantic-settings = "^2.4.0"
uvicorn = "^0.30.6"
regtech-regex = {git = "https://github.com/cfpb/regtech-regex.git"}
[tool.poetry.group.linters.dependencies]
ruff = "^0.7.0"
black = "^24.8.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
pytest-env = "^1.1.3"
pytest-asyncio = "^0.24.0"
[tool.pytest.ini_options]
asyncio_mode = "auto"
pythonpath = ["src"]
addopts = [
"--cov-report=term-missing",
"--cov-branch",
"--cov-report=xml",
"--cov-report=term",
"--cov=src",
"-vv",
"--strict-markers",
"-rfE",
]
testpaths = ["tests"]
[tool.black]
line-length = 120
[tool.ruff]
line-length = 120
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
relative_files = true
source = ["src"]
[tool.coverage.report]
skip_empty = true