Commit Graph
100 Commits
Author SHA1 Message Date
b4tman c9b38cd29e add mypy strict check (not failing) 2022-06-04 20:14:53 +03:00
b4tman c2c3a7a14d fix type errors in tests
with mypy --strict
2022-06-04 18:51:43 +03:00
b4tman 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
b4tman 80e15b0622 fix type errors
with mypy --strict
2022-06-04 18:47:54 +03:00
b4tman ad634e9c6e ignore tmp_bin/ 2022-06-04 17:40:33 +03:00
b4tman 6ba8106f3e version 0.1.4 2022-06-04 17:29:11 +03:00
b4tman e5abc3c218 fix test error 2022-06-04 17:12:21 +03:00
b4tman 9ad97a158c test type error 2022-06-04 17:09:09 +03:00
b4tman 47ac72c1fe fix add-path 2022-06-04 17:01:33 +03:00
b4tman c1c621cbf0 add reviewdog workflow with mypy 2022-06-04 16:54:33 +03:00
b4tman bfdeaa17ff drop python 3.7 support
for TypedDict
2022-06-04 15:56:11 +03:00
b4tman 1eef4114cd ci: fix mypy checks 2022-06-04 15:48:25 +03:00
b4tman e2d5548466 update poetry.lock 2022-06-04 15:46:02 +03:00
b4tman 0778fbe51f ci: check with mypy + upload report 2022-06-04 15:44:01 +03:00
b4tman 7b62e2c583 ignore mypy_report folder + lxml dep 2022-06-04 15:42:19 +03:00
b4tman 3cbbbb1a1b remove TypeAlias usage 2022-06-04 01:07:24 +03:00
b4tman 29275d3f0e more types in test_sync 2022-06-04 00:57:38 +03:00
b4tman edd6c39dcb more types in sync 2022-06-04 00:40:15 +03:00
b4tman 54146451c7 types: + EventsSearchResults 2022-06-04 00:39:29 +03:00
b4tman 5b4dca0ab9 add types-PyYAML, mypy ignore_missing: +fire 2022-06-04 00:11:14 +03:00
b4tman 2f3a87f25f more types in gcal 2022-06-03 23:42:29 +03:00
b4tman 260f168077 mypy ignore_missing_imports 2022-06-03 23:39:11 +03:00
b4tman dc23acb7d2 type annotations in ical, gcal 2022-06-03 22:07:06 +03:00
b4tman 4a85424215 add mypy 2022-06-03 22:07:05 +03:00
b4tman 8eaafc9925 workflows: remove poetry cache 2022-06-03 15:55:50 +03:00
b4tman 7582cba1dd add test_format_datetime_utc 2022-06-03 14:06:36 +03:00
b4tman 8c05b8319c reset poetry cache (github workflows) 2022-04-05 12:40:40 +03:00
b4tman adc61821cf bump actions/checkout to 3 2022-04-05 12:38:17 +03:00
b4tman 25670a61ba bump actions/cache to 3.0.1 2022-04-05 12:37:02 +03:00
b4tman 912754b4c1 Merge pull request #88 from gwww/develop
Format with black
2022-03-08 19:53:22 +03:00
b4tman 3062d4323a Update README.md 2022-03-02 23:08:23 +03:00
b4tman 7f8806e259 Delete .travis.yml 2022-03-02 23:08:03 +03:00
b4tman f0a7668fcd fix typo 2022-02-24 12:34:41 +03:00
b4tman 38fe634a9f fix var names 2022-02-24 12:20:07 +03:00
b4tman 839a3ac0c3 fix parsing config start_from (#82) 2022-02-23 13:11:56 +03:00
b4tman 70a9dac822 update poetry.lock 2022-02-23 12:34:29 +03:00
b4tman e6cc7ad336 Merge pull request #81 from b4tman/filter_no-updated
overwrite events without updated field (#80)
2022-02-22 10:26:17 +03:00
b4tman 693c6c4359 overwrite events without updated field 2022-02-22 10:15:05 +03:00
b4tman b09136747f rewrite test_filter_events_no_updated 2022-02-22 09:52:28 +03:00
b4tman 89877bc6d8 add test_filter_events_to_update_no_updated
#80
2022-02-21 22:40:07 +03:00
b4tman 61d3186522 drop python 3.6 support 2022-02-11 14:29:25 +03:00
b4tman 3fa8334408 remove requirements.txt 2022-02-11 14:19:38 +03:00
b4tman 843ad37066 travis ci: add python 3.10 2022-01-19 12:17:50 +03:00
b4tman a81192b96f add python 3.10 (github actions) (#66) 2021-10-21 10:18:39 +03:00
b4tman 2ab96d1b00 travis ci: dist = focal 2021-10-21 09:52:27 +03:00
b4tman 9603718c83 remove install from requirements.txt 2021-10-15 09:37:57 +03:00
b4tman f7a84cc58c use POETRY_PYPI_TOKEN_PYPI to publish
https://python-poetry.org/docs/repositories/
2021-10-15 09:34:07 +03:00
b4tman 782ab05126 Merge branch 'feature/poetry' into develop 2021-10-09 16:02:59 +03:00
b4tman d08671e722 update README 2021-10-09 15:54:31 +03:00
b4tman df2f3ef483 fix CodeQL
remove git checkout HEAD^2
2021-10-09 15:37:58 +03:00
b4tman 9e40b6fbbd use poetry in ci 2021-10-09 15:27:38 +03:00
b4tman b86ef30397 migrate to poetry 2021-10-09 15:09:07 +03:00
b4tman 052ba440d0 type aliases 2021-05-19 12:55:54 +03:00
b4tman 5e01b6dd01 add fire to setup requires 2021-05-01 18:26:02 +03:00
b4tman c3bdd25d5a cli group for property commands 2021-05-01 17:58:30 +03:00
b4tman 3b0de9d636 fire instead of argparse 2021-05-01 17:31:14 +03:00
b4tman c41b3a4dbd type annotations - tests 2021-05-01 13:49:26 +03:00
b4tman 9dab3c5709 type annotations - scripts 2021-04-30 11:46:10 +03:00
b4tman e5064eeaed cfg optional 2021-04-30 11:45:05 +03:00
b4tman 19192d1641 fix _tz_aware_datetime return type 2021-04-30 11:08:56 +03:00
b4tman 6c571df7bc type annotations - sync 2021-04-29 17:10:35 +03:00
b4tman a6474ee984 type annotations - ical 2021-04-29 16:19:41 +03:00
b4tman 8669aefabe type annotations - gcal 2021-04-29 15:24:23 +03:00
b4tman 77e2cdba36 ignore ide files and virtualenv 2021-04-29 15:22:27 +03:00
b4tman b7cd3847bc remove Dependabot and FOSSA badges 2021-01-01 15:14:24 +03:00
b4tman 3ddc486614 add Python 3.9 support 2021-01-01 13:38:14 +03:00
b4tman e0b4e6c28a drop Python 3.5 support 2021-01-01 13:17:08 +03:00
b4tman 8f56ad426e Enabling code scanning
https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/enabling-code-scanning
2020-08-11 00:22:53 +03:00
b4tman 8712b81a53 + get/set commands in README 2020-03-08 13:29:57 +03:00
b4tman 51005fb29e fmt README 2020-03-08 13:17:54 +03:00
b4tman 6e7c3cb7b2 fmt sync_calendar 2020-03-08 13:10:42 +03:00
b4tman 0f9a8d7a74 lint sync 2020-03-07 18:34:31 +03:00
b4tman 0161d65c16 lint ical 2020-03-07 18:29:35 +03:00
b4tman 9e74772852 lint gcal 2020-03-07 18:26:37 +03:00
b4tman 8d64869f06 lint manage_calendars 2020-03-07 18:14:34 +03:00
b4tman ab00cb09c8 + manage_calendars: list hidden & deleted 2020-03-07 18:05:51 +03:00
b4tman 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
b4tman 55b67469be + manage_calendars: get\set calendar properties 2020-03-07 17:41:05 +03:00
b4tman c17d3cd0ea manage_calendars: no config file required 2020-03-07 16:21:48 +03:00
b4tman 9aad7e1910 make service even when config is None 2020-03-07 16:14:47 +03:00
b4tman 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
b4tman 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
b4tman 3ecd6695cf update README 2020-02-20 12:39:53 +03:00
b4tman 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
b4tman fcba8f07ef add python 3.8 2020-02-01 13:26:13 +03:00
b4tman cff48fba07 add Python package build status 2019-09-04 11:13:02 +03:00
b4tman f06051d06c add GitHub Actions 2019-09-04 10:27:09 +03:00
b4tman b542f80d83 drop python 2.7 build (travis) 2019-07-23 19:53:41 +03:00
b4tman 87ffa78ccc add 'rename' command 2019-07-23 19:49:59 +03:00
b4tman a39e08db12 safe_load instead of load (yaml)
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
2019-07-09 12:30:50 +03:00
b4tman 3320a72942 Dependabot badge 2019-06-07 21:25:35 +03:00
b4tman be8bd70743 Merge branch 'develop' 2019-06-03 22:05:23 +03:00
b4tman f46e5c9345 python 3.7 (travis) 2019-06-03 21:59:36 +03:00
b4tman 9a3799a031 update requirements.txt 2019-06-03 21:56:28 +03:00
b4tman 5ce77fd0f4 update PyYAML 2019-04-09 09:12:03 +03:00
b4tman 770d56acc8 update requirements.txt 2019-03-06 15:56:34 +03:00
b4tman 881abe22f6 Merge branch 'develop'
* develop:
  fix requirements.txt
  migrate to google-auth from oauth2client
  update requirements.txt
  + [how it works] in README
2018-09-25 16:19:35 +03:00
b4tman 969f2ed793 fix requirements.txt 2018-07-12 13:36:47 +03:00
b4tman 5afb97b634 migrate to google-auth from oauth2client 2018-07-12 13:30:37 +03:00
b4tman d11f057381 update requirements.txt 2018-07-10 17:14:28 +03:00