From 9e0611a7e4a4eb8786544f85bb348a53c38091e0 Mon Sep 17 00:00:00 2001 From: Itom Build Server Date: Sat, 9 Nov 2024 14:08:19 +0100 Subject: [PATCH] Updated pre-commit instructions --- Qitom/translation/qitom_de.ts | 4 ++-- README.md | 2 +- docs/userDoc/source/12_contributing/git_pre_commit_hooks.rst | 4 ++-- docs/userDoc/source/conf.py | 4 ++-- docs/userDoc/source/config_html/conf.py | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Qitom/translation/qitom_de.ts b/Qitom/translation/qitom_de.ts index 9d63e4144..179eb115d 100644 --- a/Qitom/translation/qitom_de.ts +++ b/Qitom/translation/qitom_de.ts @@ -8266,7 +8266,7 @@ or correct the base directory in the preferences dialog of itom. The home directory of Python is currently set to the non-existing directory '%s' Python cannot be started. Please set either the environment variable PYTHONHOME to the base directory of python or correct the base directory in the property dialog of itom. - Das Stammverzeichnis von Python ist aktuell auf ein nicht existierendes Verzeichnis gesetzt ('%s') + Das Stammverzeichnis von Python ist aktuell auf ein nicht existierendes Verzeichnis gesetzt ('%s') Python kann nicht gestartet werden. Bitte entweder im System die Umgebungsvariable 'PYTHONHOME' mit dem Stammverzeichnis von Python setzen oder in itom unter Optionen das Python-Verzeichnis korrigieren. @@ -8274,7 +8274,7 @@ oder in itom unter Optionen das Python-Verzeichnis korrigieren. The built-in library path of Python could not be found. The current home directory is '%s' Python cannot be started. Please set either the environment variable PYTHONHOME to the base directory of python or correct the base directory in the preferences dialog of itom. - Das Verzeichnis zur 'built-in library' von Python wurde nicht gefunden. Der aktuelle Pfad des Python-Stammverzeichnisses lautet '%s' + Das Verzeichnis zur 'built-in library' von Python wurde nicht gefunden. Der aktuelle Pfad des Python-Stammverzeichnisses lautet '%s' Python kann nicht gestartet werden. Bitte entweder im System die Umgebungsvariable 'PYTHONHOME' mit dem Stammverzeichnis von Python setzen oder in itom unter Optionen das Python-Verzeichnis korrigieren. diff --git a/README.md b/README.md index cdb54dbbd..eb099bfb9 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ python -m pre_commit install It's usually a good idea to run the hooks against all of the files when adding new hooks (usually ``pre-commit`` will only run on the changed files during git hooks). ```bash -python -m pre_commit run --all-files +python -m pre-commit run --all-files ``` ## Licensing diff --git a/docs/userDoc/source/12_contributing/git_pre_commit_hooks.rst b/docs/userDoc/source/12_contributing/git_pre_commit_hooks.rst index d289eb37d..1f620604f 100644 --- a/docs/userDoc/source/12_contributing/git_pre_commit_hooks.rst +++ b/docs/userDoc/source/12_contributing/git_pre_commit_hooks.rst @@ -26,7 +26,7 @@ Pre_commits can be executed manually: .. code-block:: bash - python -m pre_commit run --all-files + python -m pre-commit run --all-files A practical tip is to also run pre_commits manually to reduce frustration when you want or need to create a commit. Failed hooks ensure that a commit cannot be set. @@ -35,4 +35,4 @@ To execute specific hooks, their names can be passed as an additional argument ( .. code-block:: bash - python -m pre_commit run --all-files codespell + python -m pre-commit run --all-files codespell diff --git a/docs/userDoc/source/conf.py b/docs/userDoc/source/conf.py index bcaa76b46..6e6f788b5 100644 --- a/docs/userDoc/source/conf.py +++ b/docs/userDoc/source/conf.py @@ -417,7 +417,7 @@ intersphinx_mapping = { "python": ("https://docs.python.org/3", (None, "python3.12-inv.txt")), "numpy": ("https://numpy.org/doc/stable", (None, "numpy1.26-inv.txt")), - "scipy": ("https://docs.scipy.org/doc/scipy", (None, "scipy1.13.0-inv.txt")), - "matplotlib": ("https://matplotlib.org", (None, "matplotlib3.8.4-inv.txt")), + "scipy": ("https://docs.scipy.org/doc/scipy", (None, "scipy1.14.0-inv.txt")), + "matplotlib": ("https://matplotlib.org", (None, "matplotlib3.9.2-inv.txt")), "pandas": ("https://pandas.pydata.org/docs/", (None, "pandas2.2.2-inv.txt")), } diff --git a/docs/userDoc/source/config_html/conf.py b/docs/userDoc/source/config_html/conf.py index d27f3a333..c83243964 100644 --- a/docs/userDoc/source/config_html/conf.py +++ b/docs/userDoc/source/config_html/conf.py @@ -310,7 +310,7 @@ intersphinx_mapping = { "python": ("https://docs.python.org/3", (None, "python3.8-inv.txt")), "numpy": ("https://numpy.org/doc/stable", (None, "numpy1.22-inv.txt")), - "scipy": ("https://docs.scipy.org/doc/scipy", (None, "scipy1.13.0-inv.txt")), + "scipy": ("https://docs.scipy.org/doc/scipy", (None, "scipy1.14.0-inv.txt")), "matplotlib": ("https://matplotlib.org", (None, "matplotlib3.8.4-inv.txt")), "pandas": ("https://pandas.pydata.org/docs/", (None, "pandas2.2.2-inv.txt")), }