When trying to update the used linter versions in the pre-commit configuration file, I found out that some of the existing files are not properly linted. I am not sure how this was introduced in the first place because of the pre-commit hooks.
$ make lint
.venv/bin/pre-commit run --all-files
trim trailing whitespace.................................................Failed
- hook id: trailing-whitespace
- exit code: 1
- files were modified by this hook
Fixing source/guide_gotosocial.rst
Fixing source/guide_freshrss.rst
Fixing source/guide_gotify.rst
Fixing source/guide_mongodb.rst
Fixing source/guide_volkszaehler.rst
Fixing source/guide_vaultwarden.rst
Fixing source/howto_upgrade_node_apps.rst
Fixing source/guide_pretix.rst
Fixing source/guide_homeassistant.rst
Fixing source/guide_wiki-js.rst
Fixing source/guide_msmtp.rst
Fixing source/guide_bookstack.rst
Fixing source/guide_shiori.rst
Fixing source/guide_eturnal.rst
Fixing source/guide_goatcounter.rst
Fixing source/howto_migrate-mails.rst
Fixing source/guide_privatebin.rst
Fixing source/guide_gitea.rst
mixed line ending........................................................Failed
- hook id: mixed-line-ending
- exit code: 1
- files were modified by this hook
.gitignore: fixed mixed line endings
fix end of files.........................................................Failed
- hook id: end-of-file-fixer
- exit code: 1
- files were modified by this hook
Fixing source/guide_gotosocial.rst
Fixing source/howto_upgrade_node_apps.rst
Fixing source/guide_msmtp.rst
check for merge conflicts................................................Passed
check yaml...............................................................Passed
debug statements (python)................................................Passed
fix requirements.txt.....................................................Passed
prettier.................................................................Passed
yamllint.................................................................Passed
flake8...................................................................Passed
Reorder python imports...................................................Passed
black....................................................................Passed
check guide syntax.......................................................Failed
- hook id: guide-syntax
- exit code: 5
source/guide_mosh.rst : ERROR : error-structure-tested : no `Tested on Uberspace` part
source/guide_babybuddy.rst : ERROR : error-structure-tested : no `Tested on Uberspace` part
source/guide_fastapi.rst : ERROR : error-structure-tested : no `Tested on Uberspace` part
source/guide_ezmlm.rst : ERROR : error-structure-tested : no `Tested on Uberspace` part
source/guide_autossh.rst : ERROR : error-structure-tested : no `Tested on Uberspace` part
source/guide_jenkins.rst : ERROR : error-structure-tested : no `Tested on Uberspace` part
source/guide_mailman.rst : ERROR : error-structure-tested : no `Tested on Uberspace` part
source/guide_buildbot.rst : ERROR : error-structure-tested : no `Tested on Uberspace` part
source/guide_minio.rst : ERROR : error-structure-tested : no `Tested on Uberspace` part
make: *** [lint] Error 1
$ git commit -v -a
trim trailing whitespace.................................................Passed
mixed line ending........................................................Passed
fix end of files.........................................................Passed
check for merge conflicts................................................Passed
check yaml...........................................(no files to check)Skipped
debug statements (python)............................(no files to check)Skipped
fix requirements.txt.................................(no files to check)Skipped
prettier.................................................................Passed
yamllint.............................................(no files to check)Skipped
flake8...............................................(no files to check)Skipped
Reorder python imports...............................(no files to check)Skipped
black................................................(no files to check)Skipped
check guide syntax.......................................................Passed
[lint bc87645] Lint files
19 files changed, 201 insertions(+), 206 deletions(-)
When trying to update the used linter versions in the pre-commit configuration file, I found out that some of the existing files are not properly linted. I am not sure how this was introduced in the first place because of the pre-commit hooks.