Commit Graph

38 Commits

Author SHA1 Message Date
Dmitry Belyaev d2db9f9472
add py.typed 2023-08-20 23:29:38 +03:00
Dmitry Belyaev 545cde2ccc
add docs 2023-08-20 23:08:56 +03:00
Dmitry Belyaev 787e9df642
explicitly exports
to fix (mypy --strict) errors like:
>> error: Module "sync_ics2gcal" does not explicitly export attribute "GoogleCalendarService"; implicit reexport disabled
2022-06-04 18:50:58 +03:00
Dmitry Belyaev 80e15b0622
fix type errors
with mypy --strict
2022-06-04 18:47:54 +03:00
Dmitry Belyaev e5abc3c218
fix test error 2022-06-04 17:12:21 +03:00
Dmitry Belyaev 9ad97a158c
test type error 2022-06-04 17:09:09 +03:00
Dmitry Belyaev 3cbbbb1a1b
remove TypeAlias usage 2022-06-04 01:07:24 +03:00
Dmitry Belyaev edd6c39dcb
more types in sync 2022-06-04 00:40:15 +03:00
Dmitry Belyaev 54146451c7
types: + EventsSearchResults 2022-06-04 00:39:29 +03:00
Dmitry Belyaev 2f3a87f25f
more types in gcal 2022-06-03 23:42:29 +03:00
Dmitry Belyaev dc23acb7d2
type annotations in ical, gcal 2022-06-03 22:07:06 +03:00
Glenn Waters 70278c1542 Format with black. 2022-03-08 10:46:21 -05:00
Dmitry Belyaev f0a7668fcd
fix typo 2022-02-24 12:34:41 +03:00
Dmitry Belyaev 38fe634a9f
fix var names 2022-02-24 12:20:07 +03:00
Dmitry Belyaev 839a3ac0c3
fix parsing config `start_from` (#82) 2022-02-23 13:11:56 +03:00
Dmitry Belyaev 693c6c4359
overwrite events without `updated` field 2022-02-22 10:15:05 +03:00
Dmitry Belyaev 052ba440d0
type aliases 2021-05-19 12:55:54 +03:00
Dmitry Belyaev c3bdd25d5a
cli group for property commands 2021-05-01 17:58:30 +03:00
Dmitry Belyaev 3b0de9d636
fire instead of argparse 2021-05-01 17:31:14 +03:00
Dmitry Belyaev 9dab3c5709
type annotations - scripts 2021-04-30 11:46:10 +03:00
Dmitry Belyaev e5064eeaed
cfg optional 2021-04-30 11:45:05 +03:00
Dmitry Belyaev 19192d1641
fix _tz_aware_datetime return type 2021-04-30 11:08:56 +03:00
Dmitry Belyaev 6c571df7bc
type annotations - sync 2021-04-29 17:10:35 +03:00
Dmitry Belyaev a6474ee984
type annotations - ical 2021-04-29 16:19:41 +03:00
Dmitry Belyaev 8669aefabe
type annotations - gcal 2021-04-29 15:24:23 +03:00
Dmitry Belyaev 6e7c3cb7b2
fmt sync_calendar 2020-03-08 13:10:42 +03:00
Dmitry Belyaev 0f9a8d7a74
lint sync 2020-03-07 18:34:31 +03:00
Dmitry Belyaev 0161d65c16
lint ical 2020-03-07 18:29:35 +03:00
Dmitry Belyaev 9e74772852
lint gcal 2020-03-07 18:26:37 +03:00
Dmitry Belyaev 8d64869f06
lint manage_calendars 2020-03-07 18:14:34 +03:00
Dmitry Belyaev ab00cb09c8
+ manage_calendars: list hidden & deleted 2020-03-07 18:05:51 +03:00
Dmitry Belyaev b0a39a1b8c
manage_calendars: use nextPageToken for list
By default maximum number of entries returned on one result page is 100
2020-03-07 17:54:16 +03:00
Dmitry Belyaev 55b67469be
+ manage_calendars: get\set calendar properties 2020-03-07 17:41:05 +03:00
Dmitry Belyaev c17d3cd0ea
manage_calendars: no config file required 2020-03-07 16:21:48 +03:00
Dmitry Belyaev 9aad7e1910
make service even when config is None 2020-03-07 16:14:47 +03:00
Dmitry Belyaev 5d37aa2a33
disable cache_discovery
to suppress errors in logs:
file_cache is unavailable when using oauth2client >= 4.0.0

https://github.com/googleapis/google-api-python-client/issues/299
https://github.com/googleapis/google-api-python-client/issues/325
2020-02-25 22:43:45 +03:00
Dmitry Belyaev d146eec7ae
+ default credentials support
https://googleapis.dev/python/google-auth/latest/reference/google.auth.html#google.auth.default

https://developers.google.com/identity/protocols/application-default-credentials
2020-02-20 17:37:31 +03:00
Dmitry Belyaev a96050628a
Feature: setup (#15)
* add files for setup

* ! package rename

* move scripts

* + setuptools_scm_git_archive

* + fallback_version

* + setuptools_scm_git_archive to setup.cfg

* bdist_wheel universal

* ignore build/ and .eggs/

* don't use version from setuptools_scm

* Revert "don't use version from setuptools_scm"

This reverts commit 7ad0b4d3d8.

* Revert "bdist_wheel universal"

This reverts commit 5027866b39.

* no-local-version

* +workflow: Upload Python Package
2020-02-19 23:26:28 +03:00