Hugo Osvaldo Barrera
ddaeccb2ee
Merge pull request #940 from pimutils/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-09-27 22:00:46 +02:00
pre-commit-ci[bot]
63ef204835
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-09-27 18:57:05 +00:00
pre-commit-ci[bot]
7d61cd3e2e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.26.0 → v2.28.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.28.0 )
2021-09-27 18:56:47 +00:00
Hugo Osvaldo Barrera
db6da70c26
Merge pull request #939 from pimutils/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-09-22 21:02:10 +02:00
pre-commit-ci[bot]
bf95bf2941
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.8b0 → 21.9b0](https://github.com/psf/black/compare/21.8b0...21.9b0 )
2021-09-20 19:07:52 +00:00
Hugo Osvaldo Barrera
b3c9df1b1d
Merge pull request #937 from pimutils/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-09-13 21:42:01 +02:00
Hugo Osvaldo Barrera
87574be547
Stop running pre-commit twice
2021-09-13 21:27:11 +02:00
Hugo Osvaldo Barrera
2e35214421
Remove unused import
2021-09-13 21:27:06 +02:00
pre-commit-ci[bot]
f5c2026dcf
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-09-13 18:57:16 +00:00
pre-commit-ci[bot]
acf29cf659
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.26.0](https://github.com/asottile/pyupgrade/compare/v2.25.0...v2.26.0 )
2021-09-13 18:56:33 +00:00
Hugo Osvaldo Barrera
fbd5ff88d5
Merge pull request #935 from pimutils/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-08-30 22:23:53 +02:00
pre-commit-ci[bot]
7605416054
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.7b0 → 21.8b0](https://github.com/psf/black/compare/21.7b0...21.8b0 )
- [github.com/asottile/pyupgrade: v2.24.0 → v2.25.0](https://github.com/asottile/pyupgrade/compare/v2.24.0...v2.25.0 )
2021-08-30 18:41:20 +00:00
Hugo Osvaldo Barrera
7a12e6028c
Merge pull request #933 from pimutils/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-08-23 20:39:58 +02:00
pre-commit-ci[bot]
d6876c6bad
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.23.3 → v2.24.0](https://github.com/asottile/pyupgrade/compare/v2.23.3...v2.24.0 )
2021-08-23 18:16:49 +00:00
Hugo Osvaldo Barrera
09eb375c5b
Merge pull request #929 from pimutils/fix-918
...
Fix 918
2021-08-21 15:39:05 +02:00
Hugo Osvaldo Barrera
48747463ed
Remove unused code
2021-08-19 20:40:47 +02:00
Hugo Osvaldo Barrera
955f434d9d
Also test syncing with an href with a colon
...
Since this was the actual problematic character.
2021-08-18 18:41:00 +02:00
Hugo Osvaldo Barrera
889183ec89
I think this makes sense
2021-08-18 18:20:04 +02:00
Hugo Osvaldo Barrera
0650cc3bc2
Add test for #918
...
We're doing something wrong with UID/href quoting/unquoting, but I've
yet to figure out what.
2021-08-18 18:20:04 +02:00
Hugo Osvaldo Barrera
6281e7a237
Radicale now passes for this test
2021-08-18 18:20:04 +02:00
Hugo Osvaldo Barrera
dff48f101b
Merge pull request #928 from pimutils/fastmail-recurrence-sorting
...
Work around quirk in Fastmail
2021-08-18 18:19:35 +02:00
Hugo Osvaldo Barrera
1081a15895
Work around quirk in Fastmail
...
They seem to sort the parameters in an RRULE in a specific order, so
just use that by default to avoid any mismatch.
2021-08-16 22:29:16 +02:00
Hugo Osvaldo Barrera
cf1d082628
Use context managers for aio connectors
...
Not sure why we didn't do this initially, but this ensures that we
always close all connectors properly, and also gives much clearer scope
regarding their life-cycles.
2021-08-16 21:40:11 +02:00
Hugo Osvaldo Barrera
54e829262d
Merge pull request #926 from pimutils/python37-tests
...
Run tests CI python 3.7
2021-08-07 23:29:13 +02:00
Hugo Osvaldo Barrera
8830307e38
Drop syntax that won't run on Python 3.7
2021-08-07 17:26:01 +02:00
Hugo Osvaldo Barrera
7a7deffa2c
Run test on Python 3.7
...
Run these on a synthetic environment, since no distribution seems to
currently ship this version.
2021-08-07 17:23:10 +02:00
Hugo Osvaldo Barrera
ecb181d9d7
Merge pull request #925 from pimutils/pyupgrade
...
Set up pyupgrade
2021-08-04 20:43:50 +02:00
Hugo Osvaldo Barrera
fed1ee69c3
Run pyupgrade
2021-08-04 19:58:59 +02:00
Hugo Osvaldo Barrera
48aa4912a2
Add pyupgrade as a pre-commit hook
2021-08-04 19:58:31 +02:00
Hugo Osvaldo Barrera
8886854367
Merge pull request #912 from pimutils/typing
...
Add some typing hints
2021-08-04 15:12:35 +02:00
Hugo Osvaldo Barrera
a910e9f446
Stop marking wheels as universal
...
We don't support Python 2, so they're not universal.
2021-08-04 00:18:22 +02:00
Hugo Osvaldo Barrera
f3714fc493
Add type hints and configure mypy
...
Configure mypy as a pre-commit hook and add all type hints necessary for
mypy to pass.
There's still more work to be done here typing a lot more code, but this
provides a clear starting point.
2021-08-03 19:23:37 +02:00
Hugo Osvaldo Barrera
6af4dd124b
Merge pull request #924 from pimutils/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-08-02 22:09:04 +02:00
pre-commit-ci[bot]
bc5e03630e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pycqa/isort: 5.9.2 → 5.9.3](https://github.com/pycqa/isort/compare/5.9.2...5.9.3 )
2021-08-02 18:06:08 +00:00
Hugo Osvaldo Barrera
6491bc53fb
Merge pull request #923 from pimutils/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-07-27 18:26:21 +02:00
pre-commit-ci[bot]
21eccfc2ef
[pre-commit.ci] pre-commit autoupdate
...
updates:
- https://gitlab.com/pycqa/flake8 → https://github.com/PyCQA/flake8
- [github.com/psf/black: 21.6b0 → 21.7b0](https://github.com/psf/black/compare/21.6b0...21.7b0 )
- [github.com/pycqa/isort: 5.8.0 → 5.9.2](https://github.com/pycqa/isort/compare/5.8.0...5.9.2 )
2021-07-26 17:54:50 +00:00
Hugo Osvaldo Barrera
7b493416f7
Merge pull request #920 from pimutils/meta_delete
...
metasync: use None as no-value and delete missing values on syncing
2021-07-26 13:07:45 +02:00
Hugo Osvaldo Barrera
5b8f00e720
Sort imports
2021-07-25 18:35:47 +02:00
Hugo Osvaldo Barrera
0556e53e0c
Use isort to reorder python imports
...
reorder-python-imports is hard to set up correctly.
isort is a lot simpler to set to set up it locally, and is kinda
becoming the standard in the python world.
The import style remains the same, and is tweaked to minimise conflicts.
2021-07-25 18:35:04 +02:00
Hugo Osvaldo Barrera
7379a96f73
Skip test on unsupported servers
2021-07-23 20:27:34 +02:00
Дилян Палаузов
c0ccb3d1aa
metasync: use None as no-value and delete missing values on syncing
...
- change the interface of Storage.get_meta() and .set_meta()
to use '' as the empty value and None as missing value.
- When a property is missing (e.g calendar-color was removed)
in the filesystem storage delete the 'color' file, and
in the WebDAV storage issue propertyupdate/remove call.
- remove the property from [status]/[pair]/[collection].metadata
I have adjusted, but not run the test suite. On the other side
I tested on real system: source is CalDAV - destination is filesystem;
and source is CalDAV, destination is CalDAV (another account)
2021-07-23 19:07:02 +02:00
Hugo Osvaldo Barrera
98fcd12fa7
Only measure coverage of vdirsyncer/
...
i.e.: Ignore non-application code like contrib/
2021-07-10 17:35:50 +02:00
Hugo Osvaldo Barrera
f2a1afe6d3
Merge pull request #915 from pimutils/formatting
...
Make command bit more readable
2021-07-10 17:33:34 +02:00
Hugo Osvaldo Barrera
e16f83c1c2
Make this bit more readable
2021-07-07 18:46:13 +02:00
Hugo Osvaldo Barrera
55c563ff8c
Merge pull request #893 from Intevation/conflict-resolution-interactive
...
Add contrib script to resolve conflicts
2021-07-07 18:41:54 +02:00
Hugo Osvaldo Barrera
a5731b269e
Merge pull request #913 from pimutils/async-collections
...
Sync pairs asynchronously
2021-07-07 18:21:06 +02:00
Hugo Osvaldo Barrera
459efbf7af
Merge pull request #914 from pimutils/simpler-coverage
...
Simplify coverage submission
2021-07-07 15:10:10 +02:00
Hugo Osvaldo Barrera
58aa0a3a31
Simplify coverage submission
...
We submit separate coverage reports for each group of tests, but codecov
doesn't give us proper tooling to analyse each one separately. When
there's a percentage drop in one, there's no way to pinpoint where -- at
least not without running locally and inspecting results separately.
Treat all coverage as one. Analysis of coverage for each group of tests
can be done offline and manually, but there's little value in keeping it
in codecov.
Should also help us transition a more simplified CI design (e.g.:
running all tests together rather than in groups).
2021-07-06 23:45:35 +02:00
Hugo Osvaldo Barrera
177748d3d1
Sync pairs asynchronously
2021-07-06 23:13:13 +02:00
Bernhard Reiter
61edfc090e
Adjust codestyle
...
running flake8, black and reorder-python-imports.
2021-06-28 16:01:21 +02:00