Cosmetics

This commit is contained in:
Unrud 2021-12-09 19:15:23 +01:00
parent bbaf0ebd8c
commit e38ae96227
2 changed files with 2 additions and 2 deletions

View File

@ -1772,7 +1772,7 @@ class TestCustomStorageSystem(BaseFileSystemTest):
# include tests related to sync token # include tests related to sync token
s: str = "" s: str = ""
for s in dir(BaseRequestsMixIn): for s in dir(BaseRequestsMixIn):
if s.startswith("test_") and ("_sync_" in s or s.endswith("_sync")): if s.startswith("test_") and "sync" in s.split("_"):
locals()[s] = getattr(BaseRequestsMixIn, s) locals()[s] = getattr(BaseRequestsMixIn, s)
del s del s

View File

@ -74,7 +74,7 @@ setup(
platforms="Any", platforms="Any",
packages=find_packages( packages=find_packages(
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_data={"radicale": WEB_FILES + ['py.typed']}, package_data={"radicale": [*WEB_FILES, 'py.typed']},
entry_points={"console_scripts": ["radicale = radicale.__main__:run"]}, entry_points={"console_scripts": ["radicale = radicale.__main__:run"]},
install_requires=["defusedxml", "passlib", "vobject>=0.9.6", install_requires=["defusedxml", "passlib", "vobject>=0.9.6",
"python-dateutil>=2.7.3", "setuptools"], "python-dateutil>=2.7.3", "setuptools"],