-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
116 lines (108 loc) · 2.78 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[tool.poetry]
name = "manabi"
version = "1.5.0"
description = "Provide WebDAV access for documents."
homepage = "https://github.com/projectcaluma/manabi"
repository = "https://github.com/projectcaluma/manabi"
authors = ["Adfinis AG"]
license = "AGPL-3.0-or-later"
readme = "README.md"
classifiers = [
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]
include = ["CHANGELOG.md"]
exclude = [
"manabi/__main__.py",
"manabi/conftest.py",
"manabi/mock.py",
"manabi/*_test.py",
"manabi/data",
]
packages = [
{ include = "manabi" },
{ include = "manabi_migrations", from = "manabi_django" },
]
[tool.poetry.dependencies]
python = "^3.8.1"
WsgiDAV = "^4.3.0"
pybranca = "^0.5.0"
pybase62 = "^1.0.0"
attrs = "^23.1.0"
django = ">=3.0,<5.0"
psycopg2-binary = "^2.9.3"
u-msgpack-python = "^2.8.0"
boto3 = "^1.34.21"
smart-open = {extras = ["s3"], version = ">=6.4,<8.0"}
[tool.poetry.group.dev.dependencies]
black = ">=23.3,<25.0"
cheroot = "^10.0.0"
flake8 = "^6.0.0"
flake8-bugbear = ">=23.5.9,<25.0.0"
flake8-debugger = "^4.1.2"
flake8-docstrings = "^1.7.0"
flake8-isort = "^6.0.0"
flake8-string-format = "^0.3.0"
flake8-tuple = "^0.4.1"
hypothesis = "^6.54.6"
mypy = "^1.3.0"
pdbpp = "^0.10.3"
pytest = ">=7.3.1,<9.0.0"
python-semantic-release = ">=7.32,<10.0"
requests = "^2.28.1"
types-psycopg2 = "^2.9.21"
types-requests = "^2.28.11"
python-lsp-server = "^1.7.3"
python-lsp-black = "^1.3.0"
python-lsp-isort = "^0.1"
flake8-pyproject = "^1.2.3"
requests-mock = "^1.11.0"
urllib3 = "<2" # downpinning needed for resolving dependencies when installing moto: https://github.com/orgs/python-poetry/discussions/7937
pytest-env = "^1.1.3"
moto = {extras = ["s3"], version = "^5.0.0"}
syrupy = "^4.6.0"
[tool.pytest.ini_options]
env = [
"MOTO_S3_CUSTOM_ENDPOINTS=http://127.0.0.1:9000",
]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
line_length = 88
[tool.semantic_release]
version_toml = "pyproject.toml:tool.poetry.version"
branch = "main"
major_on_zero = false
upload_to_repository = true
upload_to_release = true
build_command = "poetry build"
commit_subject = "chore(release): v{version}"
commit_author = "github-actions <[email protected]>"
[tool.mypy]
check_untyped_defs = true
[tool.flake8]
ignore = """
E501,
D100,
D101,
D102,
D103,
D104,
D105,
D106,
D107,
W503
E203,
"""
max_line_length = 88
doctests = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"