-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
72 lines (61 loc) · 1.74 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
[tool.poetry]
name = "replit.object_storage"
version = "1.0.0"
description = "A library for interacting with Object Storage on Replit"
authors = ["Repl.it <[email protected]>"]
license = "ISC"
readme = "README.md"
repository = "https://github.com/replit/replit-object-storage-python"
homepage = "https://github.com/replit/replit-object-storage-python"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: ISC License (ISCL)",
"Operating System :: OS Independent",
]
packages = [
{ include = "replit", from = "src" },
]
exclude = ["tests"]
[tool.poetry.dependencies]
python = ">=3.8.0,<3.13"
google-cloud-storage = "^2.14.0"
requests = "^2.31.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.1.15"
pytest = "^8.0.0"
twine = "*"
pytest-cov = "^4.1.0"
tox = "^4.13.0"
pydoc-markdown = "^4.8.2"
[[tool.pydoc-markdown.loaders]]
type = "python"
search_path = [ "src" ]
[tool.pydoc-markdown.renderer]
docs_base_path = "docs"
relative_output_path = "."
type = "docusaurus"
[tool.pydoc-markdown.renderer.markdown]
data_code_block = true
descriptive_class_title = "Class "
insert_header_anchors = false
render_page_title = false
render_module_header_template = ""
signature_with_decorators = false
[tool.pyright]
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md
useLibraryCodeForTypes = true
exclude = [".cache"]
[tool.ruff]
# https://beta.ruff.rs/docs/configuration/
indent-width = 4
line-length = 88
select = ['E', 'W', 'F', 'I', 'B', 'D', 'C4', 'ARG', 'SIM']
ignore = ['W291', 'W292', 'W293']
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"tests/**/*" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"