Commit graph

315 commits

Author SHA1 Message Date
2000ceca54
Add flake8-bandit 2026-11-28 03:26:10 +01:00
137b3b1e03
Remove the config of flake8-expression-complexity 2026-11-28 03:26:10 +01:00
b24eb80f70
Remove the config of flake8-string-format 2026-11-28 03:26:10 +01:00
13eedbf699
Remove the config of flake8-rst-docstrings 2026-11-28 03:26:10 +01:00
21d6066086
Remove the config of flake8-isort 2026-11-28 03:26:09 +01:00
785bb99c7d
Remove the config of flake8-eradicate 2026-11-28 03:26:04 +01:00
9fcb3c8c14
Remove all "WPS" codes 2026-11-28 03:25:20 +01:00
8a5a652b3e
Run the local nox hooks serially 2026-11-28 02:00:30 +01:00
7c528d327e
Merge branch 'merge-message-template' into develop
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m40s
Reviewed-on: #4
2026-11-28 01:40:15 +01:00
253a12821e
Name merge commits after the merged branch
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m40s
2026-11-28 01:33:40 +01:00
0dc32da8c1
Merge pull request 'ci-no-merges-in-branches' (#3) from ci-no-merges-in-branches into develop
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m39s
Reviewed-on: #3
2026-11-28 01:28:33 +01:00
30aac8e3c7
Use FORGEJO_... names in CI
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m40s
2026-11-28 01:26:18 +01:00
d158577984
Reject merge commits in feature branches 2026-11-28 01:24:44 +01:00
9e10a0c9aa
Merge pull request 'Run CI only on pushes' (#2) from ci-push-only into develop
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m40s
Reviewed-on: #2
2026-11-28 01:15:37 +01:00
4fb96ee485
Run CI only on pushes
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m40s
2026-11-28 01:05:28 +01:00
c6ea7b13ec
Merge pull request 'Use language: unsupported for the local hooks' (#1) from use-language-unsupported into develop
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m44s
Reviewed-on: #1
2026-11-28 01:01:41 +01:00
8265790d5d
Use language: unsupported for the local hooks
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m40s
CI / Checks (Python 3.13) (pull_request) Successful in 1m41s
2026-11-28 00:57:42 +01:00
5c3a942ad5
Merge branch 'rework-pre-commit' into develop
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m41s
2026-11-27 16:13:53 +01:00
2f0748e059
Rename ci.yml to ci.yaml
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m41s
2026-11-27 16:11:46 +01:00
d8edd58fe6
Reformat the pre-commit config
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m41s
Also, drop the no longer needed stage overrides
2026-11-27 16:05:19 +01:00
792da0507f
Run the pre-commit hooks in CI
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m42s
2026-11-27 15:15:11 +01:00
fbfb79d610
Export requirements.txt with pre-commit 2026-11-27 15:11:39 +01:00
08dd3b8218
Install all hook types with a plain pre-commit install 2026-11-27 14:59:25 +01:00
83007d458c
Add hooks for the "test" and "doctest" sessions 2026-11-27 14:52:05 +01:00
ff53af5001
Run the pre-commit hooks with uv 2026-11-27 14:36:34 +01:00
9adddd7959
Remove trailing whitespace 2026-11-27 14:29:29 +01:00
79f35ae3aa
Add missing newlines 2026-11-27 14:07:03 +01:00
079a9505ff
Update the pre-commit hooks 2026-11-27 13:59:44 +01:00
ed34e05cc7
Migrate the pre-commit config ...
... with `pre-commit migrate-config` to the new stage names
2026-11-27 13:56:09 +01:00
44eef9eafc
Remove the orphaned "fix-branch-references" hook 2026-11-27 13:55:26 +01:00
0ce8840bed
Merge branch 'rework-nox' into develop
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m31s
2026-11-27 13:47:25 +01:00
518811e138
Pin uv to the 0.13 series ...
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m31s
... to make CI more deterministic
2026-11-27 13:41:59 +01:00
b4e22dd0d4
Upgrade actions/checkout to v6
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m31s
2026-11-27 13:32:27 +01:00
6958cc6a58
Run the nox sessions
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m31s
2026-11-27 13:29:56 +01:00
045139a933
Rename the setup steps 2026-11-27 13:29:49 +01:00
aaeb9b1e72
Set UV_PYTHON_PREFERENCE for the whole job 2026-11-27 13:29:36 +01:00
a8c0e17bed
Wait for the database 2026-11-27 13:29:32 +01:00
ad8d43815e
Reorder the nox sessions ...
All checks were successful
CI / Tests (Python 3.13) (push) Successful in 1m6s
... as listed in the module docstring
2026-11-27 12:58:57 +01:00
7c2e21130f
Streamline the names, docstrings, and comments 2026-11-27 12:58:56 +01:00
689c8a8f42
Rewrite the module docstring 2026-11-27 12:58:56 +01:00
32f6540ec3
Add "doctest" session ...
... to run `xdoctest` against the `velofy` package.

Also, install `xdoctest` with only its "colors" extra
as the notebooks do not contain doctests.
2026-11-27 12:58:52 +01:00
110c6f755b
Streamline the "test" session
Rely on pyproject.toml for the `coverage` options,
and shorten the comments.
2026-11-27 12:48:53 +01:00
e7d93a5496
Do not run mypy for now 2026-11-27 12:48:52 +01:00
50d5b885bf
Rename the nox session functions ...
... and add type hints
2026-11-27 12:48:52 +01:00
2147dbf9d0
Replace the "clean-pwd" session with "clean-cwd" 2026-11-27 12:48:52 +01:00
ded4691177
Remove the "fix-branch-references" session ...
... and use relative links in the docs from now on.

Forgejo resolves relative links against the branch being viewed.
So, rewriting absolute links per branch is no longer necessary.
2026-11-27 12:48:51 +01:00
5f73b74d69
Add a "deps-upgrade-check" session ...
... to report the latest version on PyPI and the age of
every release pinned in uv.lock, using a stdlib-only script.
2026-11-27 12:48:51 +01:00
ebad87b0a3
Add a "deps-lock" session ...
... to lock the dependencies
2026-11-27 12:48:51 +01:00
d918063218
Add a "deps-upgrade" session ...
... to upgrade the pinned dependencies
2026-11-27 12:48:50 +01:00
f5f24ea611
Add a "venv" session ...
... to set up the local develop environment
2026-11-27 12:48:50 +01:00