1
0
mirror of https://github.com/b4tman/sync_ics2gcal synced 2026-07-27 12:12:54 +03:00

19 Commits

Author SHA1 Message Date
dependabot[bot] d409c8687e Bump httplib2 from 0.22.0 to 0.32.0
Bumps [httplib2](https://github.com/httplib2/httplib2) from 0.22.0 to 0.32.0.
- [Changelog](https://github.com/httplib2/httplib2/blob/master/CHANGELOG)
- [Commits](https://github.com/httplib2/httplib2/compare/v0.22.0...v0.32.0)

---
updated-dependencies:
- dependency-name: httplib2
  dependency-version: 0.32.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-26 17:49:43 +03:00
dependabot[bot] 3e84f26c47 Bump pyasn1 from 0.6.3 to 0.6.4
Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/pyasn1/pyasn1/releases)
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst)
- [Commits](https://github.com/pyasn1/pyasn1/compare/v0.6.3...v0.6.4)

---
updated-dependencies:
- dependency-name: pyasn1
  dependency-version: 0.6.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-25 12:08:18 +03:00
dependabot[bot] c53b783a06 Bump the pypi-updates group with 4 updates
Bumps the pypi-updates group with 4 updates: [google-auth](https://github.com/googleapis/google-cloud-python), [google-api-python-client](https://github.com/googleapis/google-api-python-client), [icalendar](https://github.com/collective/icalendar) and [pytest](https://github.com/pytest-dev/pytest).


Updates `google-auth` from 2.53.0 to 2.55.1
- [Release notes](https://github.com/googleapis/google-cloud-python/releases)
- [Changelog](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-documentai/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-cloud-python/compare/google-auth-v2.53.0...google-auth-v2.55.1)

Updates `google-api-python-client` from 2.197.0 to 2.198.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.197.0...v2.198.0)

Updates `icalendar` from 7.1.2 to 7.2.0
- [Release notes](https://github.com/collective/icalendar/releases)
- [Changelog](https://github.com/collective/icalendar/blob/main/CHANGES.rst)
- [Commits](https://github.com/collective/icalendar/compare/v7.1.2...v7.2.0)

Updates `pytest` from 9.0.3 to 9.1.1
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/9.0.3...9.1.1)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-version: 2.55.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: google-api-python-client
  dependency-version: 2.198.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: icalendar
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: pytest
  dependency-version: 9.1.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-04 16:01:02 +03:00
dependabot[bot] 77dfe921bf Bump cryptography from 46.0.7 to 48.0.1
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.7 to 48.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.7...48.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 48.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-20 09:51:00 +03:00
b4tman f83eaf1f2c fix mypy issues 2026-06-03 13:45:43 +03:00
dependabot[bot] e059f33e1c Bump the pypi-updates group with 11 updates
Bumps the pypi-updates group with 11 updates:

| Package | From | To |
| --- | --- | --- |
| [google-auth](https://github.com/googleapis/google-auth-library-python) | `2.50.0` | `2.53.0` |
| [google-api-python-client](https://github.com/googleapis/google-api-python-client) | `2.195.0` | `2.197.0` |
| [icalendar](https://github.com/collective/icalendar) | `7.0.3` | `7.1.2` |
| [pytz](https://github.com/stub42/pytz) | `2026.1.post1` | `2026.2` |
| [black](https://github.com/psf/black) | `26.3.1` | `26.5.1` |
| [mypy](https://github.com/python/mypy) | `1.20.2` | `2.1.0` |
| [types-python-dateutil](https://github.com/python/typeshed) | `2.9.0.20260408` | `2.9.0.20260518` |
| [types-pytz](https://github.com/python/typeshed) | `2026.1.1.20260408` | `2026.2.0.20260518` |
| [types-pyyaml](https://github.com/python/typeshed) | `6.0.12.20260408` | `6.0.12.20260518` |
| [lxml](https://github.com/lxml/lxml) | `6.1.0` | `6.1.1` |
| [myst-parser](https://github.com/executablebooks/MyST-Parser) | `5.0.0` | `5.1.0` |


Updates `google-auth` from 2.50.0 to 2.53.0
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-python/commits)

Updates `google-api-python-client` from 2.195.0 to 2.197.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.195.0...v2.197.0)

Updates `icalendar` from 7.0.3 to 7.1.2
- [Release notes](https://github.com/collective/icalendar/releases)
- [Changelog](https://github.com/collective/icalendar/blob/main/CHANGES.rst)
- [Commits](https://github.com/collective/icalendar/compare/v7.0.3...v7.1.2)

Updates `pytz` from 2026.1.post1 to 2026.2
- [Release notes](https://github.com/stub42/pytz/releases)
- [Commits](https://github.com/stub42/pytz/compare/release_2026.1.post1...release_2026.2)

Updates `black` from 26.3.1 to 26.5.1
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/26.3.1...26.5.1)

Updates `mypy` from 1.20.2 to 2.1.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.20.2...v2.1.0)

Updates `types-python-dateutil` from 2.9.0.20260408 to 2.9.0.20260518
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-pytz` from 2026.1.1.20260408 to 2026.2.0.20260518
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-pyyaml` from 6.0.12.20260408 to 6.0.12.20260518
- [Commits](https://github.com/python/typeshed/commits)

Updates `lxml` from 6.1.0 to 6.1.1
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-6.1.0...lxml-6.1.1)

Updates `myst-parser` from 5.0.0 to 5.1.0
- [Release notes](https://github.com/executablebooks/MyST-Parser/releases)
- [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/MyST-Parser/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-version: 2.53.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: google-api-python-client
  dependency-version: 2.197.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: icalendar
  dependency-version: 7.1.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: pytz
  dependency-version: '2026.2'
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: black
  dependency-version: 26.5.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: mypy
  dependency-version: 2.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: pypi-updates
- dependency-name: types-python-dateutil
  dependency-version: 2.9.0.20260518
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: types-pytz
  dependency-version: 2026.2.0.20260518
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: types-pyyaml
  dependency-version: 6.0.12.20260518
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: lxml
  dependency-version: 6.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: myst-parser
  dependency-version: 5.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-03 13:45:43 +03:00
dependabot[bot] 8bdce1b5f5 Bump idna from 3.10 to 3.15
Bumps [idna](https://github.com/kjd/idna) from 3.10 to 3.15.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md)
- [Commits](https://github.com/kjd/idna/compare/v3.10...v3.15)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.15'
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-24 11:58:15 +03:00
dependabot[bot] 092911262c Bump urllib3 from 2.6.3 to 2.7.0
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.6.3...2.7.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.7.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 09:15:36 +03:00
dependabot[bot] 3f7bd864c9 Bump the pypi-updates group with 6 updates
Bumps the pypi-updates group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [google-auth](https://github.com/googleapis/google-auth-library-python) | `2.49.1` | `2.50.0` |
| [google-api-python-client](https://github.com/googleapis/google-api-python-client) | `2.193.0` | `2.195.0` |
| [mypy](https://github.com/python/mypy) | `1.20.0` | `1.20.2` |
| [types-python-dateutil](https://github.com/python/typeshed) | `2.9.0.20260323` | `2.9.0.20260408` |
| [types-pytz](https://github.com/python/typeshed) | `2026.1.1.20260304` | `2026.1.1.20260408` |
| [types-pyyaml](https://github.com/python/typeshed) | `6.0.12.20250915` | `6.0.12.20260408` |


Updates `google-auth` from 2.49.1 to 2.50.0
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-python/commits)

Updates `google-api-python-client` from 2.193.0 to 2.195.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.193.0...v2.195.0)

Updates `mypy` from 1.20.0 to 1.20.2
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.20.0...v1.20.2)

Updates `types-python-dateutil` from 2.9.0.20260323 to 2.9.0.20260408
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-pytz` from 2026.1.1.20260304 to 2026.1.1.20260408
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-pyyaml` from 6.0.12.20250915 to 6.0.12.20260408
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-version: 2.50.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: google-api-python-client
  dependency-version: 2.195.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: mypy
  dependency-version: 1.20.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: types-python-dateutil
  dependency-version: 2.9.0.20260408
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: types-pytz
  dependency-version: 2026.1.1.20260408
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: types-pyyaml
  dependency-version: 6.0.12.20260408
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-02 14:59:18 +03:00
dependabot[bot] b9a0bac78e Bump lxml from 6.0.2 to 6.1.0
Bumps [lxml](https://github.com/lxml/lxml) from 6.0.2 to 6.1.0.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-6.0.2...lxml-6.1.0)

---
updated-dependencies:
- dependency-name: lxml
  dependency-version: 6.1.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-22 15:16:59 +03:00
dependabot[bot] c31c7ed7a9 Bump pytest from 9.0.2 to 9.0.3
Bumps [pytest](https://github.com/pytest-dev/pytest) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/9.0.2...9.0.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.3
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-14 16:26:57 +03:00
dependabot[bot] 0cb54571ee Bump cryptography from 46.0.6 to 46.0.7
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.6 to 46.0.7.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.6...46.0.7)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-09 14:55:06 +03:00
dependabot[bot] 53694d8754 Bump the pypi-updates group with 7 updates
Bumps the pypi-updates group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [google-auth](https://github.com/googleapis/google-auth-library-python) | `2.48.0` | `2.49.1` |
| [google-api-python-client](https://github.com/googleapis/google-api-python-client) | `2.190.0` | `2.193.0` |
| [icalendar](https://github.com/collective/icalendar) | `7.0.2` | `7.0.3` |
| [pytz](https://github.com/stub42/pytz) | `2025.2` | `2026.1.post1` |
| [mypy](https://github.com/python/mypy) | `1.19.1` | `1.20.0` |
| [types-python-dateutil](https://github.com/python/typeshed) | `2.9.0.20260124` | `2.9.0.20260323` |
| [types-pytz](https://github.com/python/typeshed) | `2025.2.0.20251108` | `2026.1.1.20260304` |


Updates `google-auth` from 2.48.0 to 2.49.1
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-python/commits)

Updates `google-api-python-client` from 2.190.0 to 2.193.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.190.0...v2.193.0)

Updates `icalendar` from 7.0.2 to 7.0.3
- [Release notes](https://github.com/collective/icalendar/releases)
- [Changelog](https://github.com/collective/icalendar/blob/main/CHANGES.rst)
- [Commits](https://github.com/collective/icalendar/compare/v7.0.2...v7.0.3)

Updates `pytz` from 2025.2 to 2026.1.post1
- [Release notes](https://github.com/stub42/pytz/releases)
- [Commits](https://github.com/stub42/pytz/compare/release_2025.2...release_2026.1.post1)

Updates `mypy` from 1.19.1 to 1.20.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.19.1...v1.20.0)

Updates `types-python-dateutil` from 2.9.0.20260124 to 2.9.0.20260323
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-pytz` from 2025.2.0.20251108 to 2026.1.1.20260304
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-version: 2.49.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: google-api-python-client
  dependency-version: 2.193.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: icalendar
  dependency-version: 7.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: pytz
  dependency-version: 2026.1.post1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pypi-updates
- dependency-name: mypy
  dependency-version: 1.20.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: types-python-dateutil
  dependency-version: 2.9.0.20260323
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: types-pytz
  dependency-version: 2026.1.1.20260304
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-02 12:42:46 +03:00
dependabot[bot] 7d51ebcc44 Bump pygments from 2.19.1 to 2.20.0
Bumps [pygments](https://github.com/pygments/pygments) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.19.1...2.20.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-version: 2.20.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 23:14:45 +03:00
dependabot[bot] 81ee36bc57 Bump cryptography from 46.0.5 to 46.0.6
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.5 to 46.0.6.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.5...46.0.6)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-29 18:18:26 +03:00
dependabot[bot] 64baa3cbb9 Bump requests from 2.32.4 to 2.33.0
Bumps [requests](https://github.com/psf/requests) from 2.32.4 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.4...v2.33.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-27 09:04:26 +03:00
dependabot[bot] b9dd093ca5 Bump pyasn1 from 0.6.2 to 0.6.3
Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/pyasn1/pyasn1/releases)
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst)
- [Commits](https://github.com/pyasn1/pyasn1/compare/v0.6.2...v0.6.3)

---
updated-dependencies:
- dependency-name: pyasn1
  dependency-version: 0.6.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-18 10:22:29 +03:00
Dmitry Belyaev 98cd8428d6 chore: add dalink sponsorship link first [skip ci] 2026-03-13 13:00:41 +03:00
dependabot[bot] 0497fbfb90 Bump black from 26.1.0 to 26.3.1
Bumps [black](https://github.com/psf/black) from 26.1.0 to 26.3.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/26.1.0...26.3.1)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 26.3.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-13 12:19:22 +03:00
5 changed files with 537 additions and 454 deletions
+1 -1
View File
@@ -1 +1 @@
custom: ['https://boosty.to/0xffff']
custom: ['https://dalink.to/b4tman1', 'https://boosty.to/0xffff']
Generated
+524 -444
View File
File diff suppressed because it is too large Load Diff
+7 -4
View File
@@ -19,10 +19,10 @@ classifiers = [
[tool.poetry.dependencies]
python = "^3.11"
google-auth = "2.48.0"
google-api-python-client = "2.190.0"
icalendar = "7.0.2"
pytz = "2025.2"
google-auth = "2.55.1"
google-api-python-client = "2.198.0"
icalendar = "7.2.0"
pytz = "2026.2"
PyYAML = "6.0.3"
fire = "0.7.1"
@@ -57,6 +57,9 @@ manage-ics2gcal = "sync_ics2gcal.manage_calendars:main"
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
disable_error_code = "unused-ignore"
[[tool.mypy.overrides]]
module = [
'icalendar',
+1 -1
View File
@@ -120,7 +120,7 @@ class GoogleCalendarService:
scopes = ["https://www.googleapis.com/auth/calendar"]
credentials = service_account.Credentials.from_service_account_file(
service_account_file
)
) # type: ignore[no-untyped-call]
scoped_credentials = credentials.with_scopes(scopes)
service = discovery.build(
"calendar", "v3", credentials=scoped_credentials, cache_discovery=False
+4 -4
View File
@@ -182,12 +182,12 @@ class CalendarConverter:
def load(self, filename: str) -> None:
"""load calendar from ics file"""
with open(filename, "r", encoding="utf-8") as f:
self.calendar = Calendar.from_ical(f.read())
self.calendar = cast(Calendar, Calendar.from_ical(f.read())) # type: ignore[redundant-cast]
self.logger.info("%s loaded", filename)
def loads(self, string: str) -> None:
"""load calendar from ics string"""
self.calendar = Calendar.from_ical(string)
self.calendar = cast(Calendar, Calendar.from_ical(string)) # type: ignore[redundant-cast]
def events_to_gcal(self) -> EventList:
"""Convert events to google calendar resources"""
@@ -195,10 +195,10 @@ class CalendarConverter:
if self.calendar is None:
raise ValueError("calendar not set")
calendar: Calendar = cast(Calendar, self.calendar)
calendar: Calendar = cast(Calendar, self.calendar) # type: ignore[redundant-cast]
ics_events = calendar.walk(name="VEVENT")
self.logger.info("%d events read", len(ics_events))
result = list(map(lambda event: EventConverter(event).convert(), ics_events))
result = list(map(lambda event: EventConverter(event).convert(), ics_events)) # type: ignore[no-untyped-call]
self.logger.info("%d events converted", len(result))
return result