-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (54 loc) · 980 Bytes
/
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
[project]
name = "repository-pattern-python"
version = "0.1.0"
description = "Add your description here"
dependencies = [
"pymongo>=4.8.0",
"psycopg[binary]>=3.2.1",
]
readme = "README.md"
requires-python = "==3.12.*"
[tool.rye]
virtual = true
dev-dependencies = [
"pytest-cov>=5.0.0",
]
[tool.ruff]
line-length = 88
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
".docker"
]
[tool.pytest.ini_options]
pythonpath = "./src"
testpaths = [
"tests",
]
[tool.rye.scripts]
test = 'pytest -s -x --cov-report=term-missing --cov-config=pyproject.toml --cov=src -vv'
test_cov = 'coverage html'