diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 16ec082e..7e8c04fa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.0 + rev: v0.9.3 hooks: - id: ruff diff --git a/docs/reference/Calendar.rst b/docs/reference/Calendar.rst index adb637ac..b240abe9 100644 --- a/docs/reference/Calendar.rst +++ b/docs/reference/Calendar.rst @@ -1,4 +1,4 @@ -.. py:currentmodule:: nc_py_api.calendar +.. py:currentmodule:: nc_py_api.calendar_api Calendar API ============ diff --git a/nc_py_api/calendar.py b/nc_py_api/calendar_api.py similarity index 100% rename from nc_py_api/calendar.py rename to nc_py_api/calendar_api.py diff --git a/nc_py_api/ex_app/__init__.py b/nc_py_api/ex_app/__init__.py index 84104cd4..7ded4d38 100644 --- a/nc_py_api/ex_app/__init__.py +++ b/nc_py_api/ex_app/__init__.py @@ -10,7 +10,7 @@ set_handlers, talk_bot_msg, ) -from .logging import setup_nextcloud_logging +from .logger import setup_nextcloud_logging from .misc import ( get_computation_device, get_model_path, diff --git a/nc_py_api/ex_app/logging.py b/nc_py_api/ex_app/logger.py similarity index 100% rename from nc_py_api/ex_app/logging.py rename to nc_py_api/ex_app/logger.py diff --git a/nc_py_api/nextcloud.py b/nc_py_api/nextcloud.py index 54a46a5f..97eee898 100644 --- a/nc_py_api/nextcloud.py +++ b/nc_py_api/nextcloud.py @@ -29,7 +29,7 @@ from ._theming import ThemingInfo, get_parsed_theme from .activity import _ActivityAPI, _AsyncActivityAPI from .apps import _AppsAPI, _AsyncAppsAPI -from .calendar import _CalendarAPI +from .calendar_api import _CalendarAPI from .ex_app.defs import LogLvl from .ex_app.events_listener import AsyncEventsListenerAPI, EventsListenerAPI from .ex_app.occ_commands import AsyncOccCommandsAPI, OccCommandsAPI