-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
85 lines (72 loc) · 1.88 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
[tool.black]
line-length = 100
skip-magic-trailing-comma = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
"raise ValueError",
"if config.debug_mode",
"if TYPE_CHECKING",
]
omit = ["boostedblob/__main__.py"]
[tool.isort]
profile = "black"
line_length = 100
skip_gitignore = true
[tool.mypy]
strict = true
no_warn_return_any = true
python_version = "3.8"
show_error_codes = true
enable_error_code = ["redundant-expr", "truthy-bool"]
[[tool.mypy.overrides]]
module = "tests.*"
allow_untyped_defs = true
allow_untyped_calls = true
implicit_reexport = true
[[tool.mypy.overrides]]
module = "xmltodict.*"
follow_imports = "skip"
[tool.ruff.lint]
select = ["E", "F", "W", "B", "C4", "PIE", "PLE"]
ignore = ["E2", "E501", "E741", "C408", "PIE790"]
[tool.poetry]
name = "boostedblob"
version = "0.15.4"
description = """
Command line tool and async library to perform basic file operations on local \
paths, Google Cloud Storage paths and Azure Blob Storage paths.\
"""
authors = ["Shantanu Jain <hauntsaninja@gmail.com>"]
license = "MIT"
readme = "README.md"
include = ["boostedblob/py.typed"]
[tool.poetry.dependencies]
python = ">=3.8"
aiohttp = ">=3.7.2"
lxml = ">=4.9.1"
pycryptodomex = ">=3.9"
# uvloop is not strictly necessary
uvloop = { version = ">=0.16.0", markers = "sys_platform != 'win32'" }
[tool.poetry.group.test.dependencies]
pytest = ">=7.2.0"
pytest-asyncio = ">=0.20.1"
pytest-cov = ">=4.0.0"
blobfile = ">=2.0.0"
# poetry fails to resolve blobfile's dependencies
urllib3 = "*"
filelock = "*"
[tool.poetry.group.lint.dependencies]
ipdb = "*"
black = ">=24.2.0,<25"
isort = "^5.11.1"
ruff = "^0.2.2"
[tool.poetry.group.type.dependencies]
mypy = "==1.8.0"
[tool.poetry.scripts]
bbb = 'boostedblob.__main__:main'
[build-system]
requires = ["poetry-core>=1.1"]
build-backend = "poetry.core.masonry.api"