-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
81 lines (71 loc) · 2.03 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
75
76
77
78
79
80
81
[tool.poetry]
name = "django-heroku-connect"
# just a dummy version
# will be overwritten from the git tag,
# see https://github.com/mtkennerly/poetry-dynamic-versioning
version = "0.0.0"
description = "Django integration Salesforce using Heroku Connect."
authors = ["thermondo <[email protected]>"]
readme = "README.rst"
repository = "https://github.com/thermondo/django-heroku-connect"
documentation = "https://django-heroku-connect.readthedocs.io/"
license = "Apache-2.0"
keywords = ["heroku", "salesforce", "django"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Framework :: Django",
]
packages = [{ include = "heroku_connect" }]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
django = ">=4.2,<5.2"
django-appconf = "~1"
requests = "~2"
[tool.poetry.group.dev.dependencies]
coverage = "*"
django-health-check = "*"
httpretty = "*"
pre-commit = "*"
psycopg2-binary = "*"
pytest = "*"
pytest-django = "*"
pytz = "*"
ruff = "*"
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.format]
[tool.ruff.lint]
unfixable = ["F841", "F401"]
select = [
"D", # pydocstyle
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"S", # bandit
"UP", # pyupgrade
"W", # pycodestyle
]
ignore = ["D1", "D203", "D205", "D212"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S", "D"]
"*/migrations/*" = ["S", "E", "F", "W"]
"conftest.py" = ["S"]
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = { version = ">=7", python = ">=3.9" }
sphinx_rtd_theme = { version = ">=1", python = ">3.9" }
[tool.poetry-dynamic-versioning]
enable = true
pattern = "^(?P<base>\\d+(\\.\\d+)*)" # tag without `v` prefix
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry.core.masonry.api"