-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (45 loc) · 1.04 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (45 loc) · 1.04 KB
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
[tool.poetry]
name = "source"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
readme = "README.md"
packages = [{include = "source"}]
[tool.poetry.dependencies]
python = "^3.11"
psycopg2-binary = "^2.9.9"
[tool.poetry.group.dev.dependencies]
taskipy = "^1.12.2"
ipython = "^8.24.0"
ruff = "^0.4.6"
[tool.poetry.group.test.dependencies]
pytest = "^8.0.2"
pytest-cov = "^4.1.0"
faker = "^25.2.0"
bandit = "^1.7.7"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.5.3"
pymdown-extensions = "^10.7"
mkdocs-material = "^9.5.11"
mkdocstrings = {extras = ["python"], version = "^0.24.0"}
[tool.pytest.ini_options]
pythonpath = "."
addopts = "--doctest-modules"
markers = [
"db: mark a test for database"
]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade,
"I", # isort
]
[tool.taskipy.tasks]
docs = "mkdocs serve -a 0.0.0.0:8000"
test = "pytest -s -x --cov=source -vv"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"