Hugo Osvaldo Barrera
2e619806a0
Drop support for Python 3.8
...
Note that recent commits introduced syntax unsupported by Python 3.8
already.
2025-09-20 13:05:03 +02:00
samm81
0d741022a9
http: add rate limiting (mainly for google)
...
- google calendar uses the `403` and `429` codes to perform rate limiting [1][2]. this pr adds `tenacity` to perform exponential back off as suggested in google calendar's docs [3].
[1]: https://developers.google.com/workspace/calendar/api/guides/errors#403_rate_limit_exceeded
[2]: https://developers.google.com/workspace/calendar/api/guides/errors#429_too_many_requests
[3]: https://developers.google.com/workspace/calendar/api/guides/quota#backoff
2025-09-12 16:20:44 +07:00
Hugo Osvaldo Barrera
9677cf9812
Simplify some statements
2025-08-29 10:17:44 +02:00
Hugo Osvaldo Barrera
6da84c7881
ruff: sort rules
2025-08-29 10:17:44 +02:00
Hugo Osvaldo Barrera
dceb113334
ruff: fix mix-up in configuration
...
Ruff hasn't been finding errors in a while. Most of them are linting
checks anyway, but there was quite a bit of deprecated usages.
2025-08-29 10:17:44 +02:00
Hugo Osvaldo Barrera
8803d5a086
ruff: use extend-select
...
Ensure that we don't disable any default rules.
2025-08-28 11:40:46 +02:00
Hugo Osvaldo Barrera
96754a3d0a
ruff: enable TID rules
2025-08-28 11:39:06 +02:00
Hugo Osvaldo Barrera
d42707c108
Bump constraint for aiostream
...
There's a newer version available, and it also doesn't have any breaking
changes which could affect us.
2025-08-28 11:37:14 +02:00
Hugo Osvaldo Barrera
ddfe3cc749
Bump constraint for aiostream
...
Fixes: https://github.com/pimutils/vdirsyncer/issues/1111
2025-08-28 11:32:28 +02:00
Hugo Osvaldo Barrera
164559ad7a
Remove references to obsolete event_loop fixture
...
It's gone from the latest pytest-asyncio.
2025-08-25 17:12:21 +02:00
Hugo Osvaldo Barrera
3b9db0e4db
Add support for Python 3.13
...
Fixes: https://github.com/pimutils/vdirsyncer/issues/1180
2025-07-23 23:23:59 +02:00
Hugo Osvaldo Barrera
63d2e6c795
pyproject: squelch warning
2025-04-11 01:59:29 +02:00
Hugo Osvaldo Barrera
03d1c4666d
pyproject: update syntax for licence
2025-04-11 01:59:17 +02:00
Hugo Osvaldo Barrera
17e43fd633
Move test dependencies into pyproject.toml
2025-04-07 18:47:44 +02:00
Hugo Osvaldo Barrera
9a0dbc8cd0
Update ruff configuration syntax
2025-04-07 18:40:34 +02:00
Hugo Osvaldo Barrera
32453cccfc
Drop support for Python 3.7
...
Installing on Python 3.7 no longer works due to lack of support in the
minimal version of setuptools_scm. This commit makes the change
official, but it happened a while ago.
2025-04-07 18:39:52 +02:00
Hugo Osvaldo Barrera
e76d8a5b03
Add two more trove classifiers
2025-04-07 18:09:36 +02:00
Hugo Osvaldo Barrera
d8961232c4
Remove setup.py in favour of pyproject.toml
...
Implements: https://github.com/pimutils/vdirsyncer/issues/1164
2025-04-07 18:06:45 +02:00
Hugo Osvaldo Barrera
8c98992f74
Move setuptools-scm config into pyproject.toml
2024-12-09 14:18:06 +01:00
Hugo Osvaldo Barrera
b50f9def00
Ensure type annotations are backwards compatible
...
Related: https://github.com/pimutils/todoman/issues/544
2023-10-29 16:04:23 +01:00
Hugo Osvaldo Barrera
0f0e5b97d3
Ignore type checking lines in coverage report
2023-09-25 16:24:52 +02:00
Hugo Osvaldo Barrera
5a46c93987
mypy: Drop unnecessary rule exclusion
2023-02-16 16:51:12 +01:00
Hugo Osvaldo Barrera
180f91f0fe
Move mypy config to pyproject.toml
2023-02-16 16:51:12 +01:00
Hugo Osvaldo Barrera
6443d37c97
Move pytest config to pyproject.toml
2023-02-16 16:51:12 +01:00
Hugo Osvaldo Barrera
24cb49f64c
Remove superfluous exception parens
2023-02-10 16:57:39 +01:00
Hugo Osvaldo Barrera
d646357cd3
Use ruff for code checking and linting
...
`isort` is failing in pre-commit.ci right now, so this might be good
timing.
See: https://whynothugo.nl/journal/2023/01/20/notes-on-ruff/
2023-01-31 00:19:14 +01:00