Commit graph

118 commits

Author SHA1 Message Date
Hugo Osvaldo Barrera
4c2c60402e ci: run ruff and mypy
Fixes: https://github.com/pimutils/vdirsyncer/issues/1194
2025-09-20 13:53:39 +02:00
Hugo Osvaldo Barrera
6354db82c4 make: install check requirements via install-dev 2025-09-20 13:19:41 +02:00
Hugo Osvaldo Barrera
a9b6488dac Merge docs-requirements.txt into pyproject.toml
Keep requirements definitions all in one place.
2025-09-20 13:18:17 +02:00
Hugo Osvaldo Barrera
17e43fd633 Move test dependencies into pyproject.toml 2025-04-07 18:47:44 +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
f45ecf6ad0 Simplify management of documentation dependencies 2023-01-31 01:11:24 +01:00
Hugo Osvaldo Barrera
72bcef282d Remove another unnecessary wrapper 2023-01-31 01:11:24 +01:00
Hugo Osvaldo Barrera
3a56f26d05 Drop unnecessary wrapping 2023-01-31 01:11:24 +01:00
Hugo Osvaldo Barrera
73f2554932 Check typos via pre-commit
So this runs more often (and also in CI).
2023-01-31 01:11:04 +01:00
Hugo Osvaldo Barrera
627f574777 Remove unnecessary param 2023-01-31 01:11:04 +01:00
Hugo Osvaldo Barrera
d2d1532883 Remove indirection 2023-01-31 00:21:04 +01:00
Hugo Osvaldo Barrera
c77d750ef6 Drop etesync
The current [experimental] implementation is stale, and hasn't been
maintained for a long time. Regrettably, not even its tests still work,
and there nobody interested in maintaining it.

If anyone is interested in re-implementing this in a third-party
package, I can consider adding support for pluggable storages.
2021-10-05 22:13:59 +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
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
d95a8264f4 Merge style dependencies into dev dependencies 2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
77d64ddc2c Always check link as part of building docs 2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
86535a9db3 Merge test dependencies into dev dependencies 2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
57d662cba1 Drop make target for development packages
We no longer track compat with unreleased packages. Too many variations
and too much complexity.

`vdirsyncer` only works with released packages.
2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
39ccc168b2 Show a useful help message by default 2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
7b0d6671da Delete unused variable 2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
299c699cb9 Manage test DAV servers as fixtures
Rather than require manually starting them before tests, manage them as
fixtures an initialise/destroy them as needed.
2021-06-12 16:28:24 +02:00
Hugo Osvaldo Barrera
8cd4a44d02 Simplify definition of DAV_SERVERs 2021-06-12 15:01:08 +02:00
Hugo Osvaldo Barrera
9d3ef030fa Remove pointless condition
These tasks are named "ci-*", no point in hiding them in other envs.
2021-06-12 12:41:30 +02:00
Hugo Osvaldo Barrera
bba9d43caf Remove empty install files 2021-06-12 12:06:03 +02:00
Hugo Osvaldo Barrera
0e47775ce3 Remove unused submodules
These submodules were used to bootstrap local test servers for running
integration tests.

We'll be reusing that codebase inside docker containers, but don't want
the containers built for each push to this repo -- that'll happen in a
separate repository.
2021-06-12 10:59:44 +02:00
Hugo Osvaldo Barrera
1f066ca6ca Remove unused Makefile target 2021-04-06 19:53:00 +02:00
Hugo Osvaldo Barrera
ef34d77ab1 Use Sourcehut for CI 2021-04-06 19:52:57 +02:00
Hugo Osvaldo Barrera
47caebe843 Simplify coverage handling
- Always install coverage tools.
- Show coverage if all tests pass.
- Less conditional code.
2020-06-09 14:57:58 +02:00
Hugo Osvaldo Barrera
56b1fc2187 Remove now-unused Makefile target 2020-06-09 14:17:56 +02:00
Hugo Osvaldo Barrera
6e59ee0b5f Add a pre-commit hook to rebuild travis config 2020-06-09 12:37:53 +02:00
Hugo Osvaldo Barrera
cd86ea7a62 Run storage tests for ETESYNC too 2020-06-09 11:29:54 +02:00
Hugo Osvaldo Barrera
50eefa1816 Use pre-commit for CI style checks
Have a single, uniform definition everywhere.
2020-06-09 10:42:14 +02:00
Hugo Osvaldo Barrera
0319035688 Don't run unit/system tests for each storage
The current storage (DAV_SERVER) has no impact on unit tests and system
tests, so rather than run all these tests for each server, just run them
once per python.
2020-06-09 10:42:11 +02:00
Markus Unterwaditzer
6befffcc45 Screw git hooks 2020-06-08 19:58:35 +02:00
Hugo Osvaldo Barrera
e2d3c1add7 Add pre-commit hooks with some basic linting
Mostly to keep an eye on code quality as I move forward.
2020-06-08 18:40:33 +02:00
Hugo Osvaldo Barrera
b4bbc5946a Simplify travis setup a bit 2020-06-08 18:40:33 +02:00
Hugo Osvaldo Barrera
7e4a0be674 Upgrade flake8
Update to the latest flake8, and fix all code warnings related to that.
2020-06-08 18:40:31 +02:00
Hugo Osvaldo Barrera
aafafaa501 Pin dependencies for ete tests 2020-06-08 17:16:28 +02:00
Hugo Osvaldo Barrera
810349eef0 Pin an older flake8 until we get around to linting 2020-06-08 15:00:38 +02:00
Markus Unterwaditzer
19dd9df091 Always upgrade dependencies 2018-02-05 08:36:22 +01:00
Markus Unterwaditzer
9e3c231cc3 Remove Python 3.3 support (#674)
* Remove Python 3.3 support
2017-10-02 14:38:54 +02:00
Markus Unterwaditzer
c507e12e0d Fix small behavioral oddity in makefile 2017-10-01 21:44:14 +02:00
Markus Unterwaditzer
af4cb4624c Remove annoying extra arg again 2017-10-01 21:44:14 +02:00
Markus Unterwaditzer
4e2c5e51f3 Make git hooks optional 2017-09-24 12:00:45 +02:00
Markus Unterwaditzer
9314a93d67 Add autopep8 git commit hook (#671)
* Add autopep git hook

* Fix broken link
2017-09-23 13:55:57 +02:00
Markus Unterwaditzer
131b3d257d Debian packaging (#664) 2017-08-30 21:57:38 +02:00
Markus Unterwaditzer
9bba4bb9fe Actually link to docs 2017-07-20 19:06:04 +02:00
Markus Unterwaditzer
bde00c227a Document makefile options
See #653
2017-07-19 21:40:25 +02:00
Markus Unterwaditzer
37a1eb2fdb Remove remoteStorage (#648)
Fix #647
2017-07-02 18:42:55 +02:00
Markus Unterwaditzer
c0a6fb1b41 Run only tests 2017-07-02 16:16:16 +02:00