| 1 |
[project] |
| 2 |
name = "aiowebdav2" |
| 3 |
version = "0.0.0" |
| 4 |
description = "Async Python 3 client for WebDAV, based on aiowebdav and https://github.com/ezhov-evgeny/webdav-client-python-3" |
| 5 |
readme = "README.md" |
| 6 |
license = { text = "MIT License" } |
| 7 |
requires-python = ">=3.11" |
| 8 |
authors = [ |
| 9 |
{ name = "Jan-Philipp Benecke", email = "[email protected]" } |
| 10 |
] |
| 11 |
classifiers = [ |
| 12 |
"Development Status :: 5 - Production/Stable", |
| 13 |
"Framework :: AsyncIO", |
| 14 |
"Intended Audience :: Developers", |
| 15 |
"Natural Language :: English", |
| 16 |
"Programming Language :: Python :: 3.11", |
| 17 |
"Programming Language :: Python :: 3.12", |
| 18 |
"Programming Language :: Python :: 3.13", |
| 19 |
"Programming Language :: Python :: 3", |
| 20 |
"Topic :: Software Development :: Libraries :: Python Modules", |
| 21 |
] |
| 22 |
|
| 23 |
dependencies = [ |
| 24 |
"aiohttp>=3.8.0", |
| 25 |
"aiofiles>=0.7.0", |
| 26 |
"lxml>=5.3.0", |
| 27 |
"python-dateutil>=2.9.0.post0", |
| 28 |
"yarl>=1.18.3", |
| 29 |
] |
| 30 |
|
| 31 |
[dependency-groups] |
| 32 |
dev = [ |
| 33 |
"codespell==2.4.2", |
| 34 |
"covdefaults==2.3.0", |
| 35 |
"coverage[toml]==7.13.4", |
| 36 |
"pylint==4.0.5", |
| 37 |
"pytest==9.0.2", |
| 38 |
"pytest-asyncio==1.3.0", |
| 39 |
"pytest-cov==7.0.0", |
| 40 |
"prek>=0.1.0", |
| 41 |
"pre-commit-hooks==6.0.0", |
| 42 |
"mypy==1.19.1", |
| 43 |
"ruff==0.15.5", |
| 44 |
"syrupy==5.1.0", |
| 45 |
"yamllint==1.38.0", |
| 46 |
"aioresponses==0.7.8", |
| 47 |
"types-aiofiles>=24.1.0.20241221", |
| 48 |
"types-python-dateutil>=2.9.0.20241206", |
| 49 |
] |
| 50 |
|
| 51 |
[project.urls] |
| 52 |
"Bug Tracker" = "https://github.com/jpbede/aiowebdav2/issues" |
| 53 |
Changelog = "https://github.com/jpbede/aiowebdav2/releases" |
| 54 |
"Repository" = "https://github.com/jpbede/aiowebdav2" |
| 55 |
|
| 56 |
[build-system] |
| 57 |
requires = ["hatchling"] |
| 58 |
build-backend = "hatchling.build" |
| 59 |
|
| 60 |
[tool.hatch.build.targets.wheel] |
| 61 |
packages = ["aiowebdav2"] |
| 62 |
|
| 63 |
[tool.coverage.report] |
| 64 |
show_missing = true |
| 65 |
fail_under = 50 |
| 66 |
|
| 67 |
[tool.coverage.run] |
| 68 |
plugins = ["covdefaults"] |
| 69 |
source = ["aiowebdav2"] |
| 70 |
|
| 71 |
[tool.mypy] |
| 72 |
platform = "linux" |
| 73 |
python_version = "3.11" |
| 74 |
follow_imports = "normal" |
| 75 |
ignore_missing_imports = true |
| 76 |
check_untyped_defs = true |
| 77 |
disallow_any_generics = true |
| 78 |
disallow_incomplete_defs = true |
| 79 |
disallow_subclassing_any = true |
| 80 |
disallow_untyped_calls = true |
| 81 |
disallow_untyped_decorators = true |
| 82 |
disallow_untyped_defs = true |
| 83 |
no_implicit_optional = true |
| 84 |
strict_optional = true |
| 85 |
warn_incomplete_stub = true |
| 86 |
warn_no_return = true |
| 87 |
warn_redundant_casts = true |
| 88 |
warn_return_any = true |
| 89 |
warn_unused_configs = true |
| 90 |
warn_unused_ignores = true |
| 91 |
|
| 92 |
[tool.pylint.MASTER] |
| 93 |
ignore = ["tests"] |
| 94 |
|
| 95 |
[tool.pylint.BASIC] |
| 96 |
good-names = ["_", "ex", "fp", "i", "id", "j", "k", "on", "Run", "T"] |
| 97 |
|
| 98 |
[tool.pylint.DESIGN] |
| 99 |
max-attributes = 8 |
| 100 |
|
| 101 |
[tool.pylint."MESSAGES CONTROL"] |
| 102 |
disable = [ |
| 103 |
"duplicate-code", |
| 104 |
"format", |
| 105 |
"unsubscriptable-object", |
| 106 |
"too-many-instance-attributes", |
| 107 |
"too-many-arguments", |
| 108 |
"too-many-public-methods", |
| 109 |
"too-few-public-methods", |
| 110 |
"wrong-import-order", |
| 111 |
"protected-access" |
| 112 |
] |
| 113 |
|
| 114 |
[tool.pylint.SIMILARITIES] |
| 115 |
ignore-imports = true |
| 116 |
|
| 117 |
[tool.pylint.FORMAT] |
| 118 |
max-line-length = 120 |
| 119 |
extension-pkg-allow-list = "lxml" |
| 120 |
|
| 121 |
[tool.pytest.ini_options] |
| 122 |
addopts = "--cov" |
| 123 |
asyncio_mode = "auto" |
| 124 |
|
| 125 |
[tool.ruff] |
| 126 |
line-length = 88 |
| 127 |
target-version = "py311" |
| 128 |
|
| 129 |
[tool.ruff.lint.pycodestyle] |
| 130 |
max-doc-length = 120 |
| 131 |
max-line-length = 120 |
| 132 |
|
| 133 |
[tool.ruff.lint] |
| 134 |
ignore = [ |
| 135 |
"ANN401", |
| 136 |
"D203", |
| 137 |
"D213", |
| 138 |
"D417", |
| 139 |
"PLR2004", |
| 140 |
"PLR0913", |
| 141 |
"COM812", |
| 142 |
"COM819", |
| 143 |
"ISC001", |
| 144 |
"ISC002", |
| 145 |
"DTZ007", |
| 146 |
"ASYNC109", |
| 147 |
"ASYNC240", |
| 148 |
] |
| 149 |
select = ["ALL"] |
| 150 |
|
| 151 |
[tool.ruff.lint.flake8-pytest-style] |
| 152 |
fixture-parentheses = false |
| 153 |
mark-parentheses = false |
| 154 |
|
| 155 |
[tool.ruff.lint.isort] |
| 156 |
known-first-party = ["aiowebdav2"] |
| 157 |
force-sort-within-sections = true |
| 158 |
split-on-trailing-comma = false |
| 159 |
combine-as-imports = true |
| 160 |
|
| 161 |
[tool.ruff.lint.mccabe] |
| 162 |
max-complexity = 25 |