You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code quality pass per #634:
* Remove unused imports (copy, lxml.etree, caldav.compatibility_hints,
CalendarSet, cdav/dav, Optional, timezone, Event/Todo TYPE_CHECKING stubs,
bare `import niquests` availability check)
* Replace bare `except:` with specific types (KeyError, AttributeError,
Exception) across lib/error, lib/debug, lib/vcal, elements/cdav,
calendarobjectresource, collection, compatibility_hints, davobject
* Remove unused local variables (old_id, status, i, path, rv, feat_type,
sup, feature_info, rc) across library modules
* Use `# noqa: F401` for vobject availability checks in calendarobjectresource
Sync _put() now updates self.url from the Location header on a 302 redirect,
matching the existing async _async_put() behaviour.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,11 @@ This project should adhere to [Semantic Versioning](https://semver.org/spec/v2.0
28
28
* async path returned an unawaited coroutine instead of the actual result.
29
29
*`accept_invite()` (and `decline_invite()`, `tentatively_accept_invite()`) now fall back to the client username as the attendee email address when the server does not expose the `calendar-user-address-set` property (RFC6638 §2.4.1). A `NotFoundError` with a descriptive message is raised when the username is also not an email address. Fixes https://github.com/python-caldav/caldav/issues/399
30
30
31
+
### Housekeeping
32
+
33
+
* Code quality: reduced ruff ignore list (https://github.com/python-caldav/caldav/issues/634) — removed unused imports (`copy`, `lxml.etree`, `CalendarSet`, `cdav/dav` re-exports, `Optional`, `timezone`, `Event`/`Todo` type stubs), replaced bare `except:` clauses with specific exception types (`KeyError`, `AttributeError`, `Exception` where broad catching is intentional), and removed unused local variables.
34
+
* Sync `_put()` now updates `self.url` from the `Location` header on a 302 redirect, mirroring the existing async behaviour.
35
+
31
36
### Test framework, compatibility hints, documentation, examples
32
37
33
38
* RFC 6638 scheduling feature-detection infrastructure: new `scheduling`, `scheduling.mailbox`, and `scheduling.calendar-user-address-set` compatibility hints; legacy `no_scheduling` flags migrated. Default scheduling hints set for all the servers tested.
0 commit comments