Skip to content

Commit b97f20a

Browse files
pre-commit autoupdate, renaming of internal files
This is not a breaking change, although it will be for those who imported these files directly. These files are internal, and these functions are exported from __init__.py ruff's rule [A005](https://docs.astral.sh/ruff/rules/stdlib-module-shadowing/)
1 parent 34e4d0e commit b97f20a

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ repos:
4141
- id: pyproject-fmt
4242

4343
- repo: https://github.com/astral-sh/ruff-pre-commit
44-
rev: v0.8.0
44+
rev: v0.9.3
4545
hooks:
4646
- id: ruff
4747

docs/reference/Calendar.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. py:currentmodule:: nc_py_api.calendar
1+
.. py:currentmodule:: nc_py_api.calendar_api
22
33
Calendar API
44
============
File renamed without changes.

nc_py_api/ex_app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
set_handlers,
1111
talk_bot_msg,
1212
)
13-
from .logging import setup_nextcloud_logging
13+
from .logger import setup_nextcloud_logging
1414
from .misc import (
1515
get_computation_device,
1616
get_model_path,
File renamed without changes.

nc_py_api/nextcloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from ._theming import ThemingInfo, get_parsed_theme
3030
from .activity import _ActivityAPI, _AsyncActivityAPI
3131
from .apps import _AppsAPI, _AsyncAppsAPI
32-
from .calendar import _CalendarAPI
32+
from .calendar_api import _CalendarAPI
3333
from .ex_app.defs import LogLvl
3434
from .ex_app.events_listener import AsyncEventsListenerAPI, EventsListenerAPI
3535
from .ex_app.occ_commands import AsyncOccCommandsAPI, OccCommandsAPI

0 commit comments

Comments
 (0)