-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
74 lines (62 loc) · 1.31 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
[tool.poetry]
name = "py-project"
version = "0.1.0"
description = ""
authors = ["David Mugisha"]
[tool.poetry.dependencies]
python = ">=3.9,<4"
pandera = "^0.12.0"
fsspec = "^2022.8.2"
adlfs = "^2022.9.1"
psycopg2-binary = "^2.9.3"
azure-functions-durable = "^1.1.6"
azure-functions = "^1.11.2"
psutil = "^5.9.3"
python-decouple = "^3.6"
sqlalchemy = "^2.0.23"
pandas = "^2.1.4"
[tool.poetry.dev-dependencies]
flake8-formatter-junit-xml = "^0.0.6"
[tool.poetry.group.dev.dependencies]
black = "^22.10.0"
bandit = "^1.7.4"
pre-commit = "^2.20.0"
isort = "^5.10.1"
safety = "^2.3.1"
flake8 = "^6.1.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.1.3"
pytest-cov = "^4.0.0"
"testing.postgresql" = "^1.3.0"
[tool.pytest.ini_options]
junit_family = "xunit1"
[tool.coverage.run]
source=["py_project/*"]
omit=["tests/*","venv/*"]
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.isort]
profile = "black"
[tool.bandit]
exclude_dirs = ["tests", "docker", ".venv"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"