-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (70 loc) · 1.96 KB
/
pyproject.toml
File metadata and controls
77 lines (70 loc) · 1.96 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[project]
name = "database-sync"
dynamic = ["version"]
description = "Syncs databases between different environments"
authors = [
{ name = "Franco Colombino", email = "franco.c.colombino@gmail.com" },
{ name = "Felipe Rios", email = "rios0rios0@outlook.com" },
]
dependencies = [
"PyYAML>=6.0.1",
"python-dotenv>=1.0.0",
"psycopg2>=2.9.9",
]
requires-python = ">=3.13.12"
[project.urls]
Homepage = "https://github.com/fnk0c/database-sync"
[tool.pdm.version]
source = "file"
path = "database_sync/__init__.py"
[tool.pdm.scripts]
start = { call = "database_sync.main:main" }
safety-scan = { shell = "pdm export -o requirements.txt && safety check -r requirements.txt --policy-file=.safety-policy.yaml" }
test = { shell = "pytest -n 2 --cov-report xml:build/reports/coverage.xml --cov=database_sync tests/" }
type-check = { shell = "mypy database_sync" }
sbom = { shell = "cyclonedx-py environment \"$(pdm info --python)\" --of JSON -o build/reports/bom.json" }
[tool.pdm.dev-dependencies]
utils = [
"types-PyYAML>=6.0.12.20240311",
"types-dateparser>=1.1.4.20240106",
"types-python-dateutil>=2.8.19.20240106",
"types-requests>=2.31.0.20240125",
"jinja2>=3.1.6",
"cryptography>=44.0.1",
]
quality = [
"black>=24.4.2",
"flake8>=7.0.0",
"flake8-annotations>=3.0.1",
"flake8-isort>=6.1.1",
"flake8-polyfill>=1.0.2",
"flake8-quotes>=3.3.2",
"isort>=5.13.2",
"mccabe>=0.7.0",
"mypy>=1.8.0",
"pep8-naming>=0.13.3",
"pycodestyle>=2.11.1",
"pyflakes>=3.2.0",
"pylint>=3.0.3",
]
security = [
"cyclonedx-bom>=4.0.0",
"safety>=3.5.1",
]
test = [
"faker>=23.1.0",
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"pytest-xdist>=3.5.0",
]
[tool.isort]
profile = "black"
balanced_wrapping = true
include_trailing_comma = true
no_lines_before = ["LOCALFOLDER"]
src_paths = ["database_sync", "tests"]
[tool.mypy]
ignore_missing_imports = true
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"