Skip to content

Commit

Permalink
Updated pre-commit instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Itom Build Server committed Nov 12, 2024
1 parent aa273c8 commit 9e0611a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Qitom/translation/qitom_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8266,15 +8266,15 @@ or correct the base directory in the preferences dialog of itom.</source>
<source>The home directory of Python is currently set to the non-existing directory &apos;%s&apos;
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.</source>
<translation type="vanished">Das Stammverzeichnis von Python ist aktuell auf ein nicht existierendes Verzeichnis gesetzt (&apos;%s&apos;)
<translation type="obsolete">Das Stammverzeichnis von Python ist aktuell auf ein nicht existierendes Verzeichnis gesetzt (&apos;%s&apos;)
Python kann nicht gestartet werden. Bitte entweder im System die Umgebungsvariable &apos;PYTHONHOME&apos; mit dem Stammverzeichnis von Python setzen
oder in itom unter Optionen das Python-Verzeichnis korrigieren.</translation>
</message>
<message>
<source>The built-in library path of Python could not be found. The current home directory is &apos;%s&apos;
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.</source>
<translation type="vanished">Das Verzeichnis zur &apos;built-in library&apos; von Python wurde nicht gefunden. Der aktuelle Pfad des Python-Stammverzeichnisses lautet &apos;%s&apos;
<translation type="obsolete">Das Verzeichnis zur &apos;built-in library&apos; von Python wurde nicht gefunden. Der aktuelle Pfad des Python-Stammverzeichnisses lautet &apos;%s&apos;
Python kann nicht gestartet werden. Bitte entweder im System die Umgebungsvariable &apos;PYTHONHOME&apos; mit dem Stammverzeichnis von Python setzen
oder in itom unter Optionen das Python-Verzeichnis korrigieren.</translation>
</message>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/userDoc/source/12_contributing/git_pre_commit_hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
4 changes: 2 additions & 2 deletions docs/userDoc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
}
2 changes: 1 addition & 1 deletion docs/userDoc/source/config_html/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
}

0 comments on commit 9e0611a

Please sign in to comment.