From 7953ba92910f9175eb2332413cbc8a56902058a8 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Thu, 26 Oct 2023 19:06:45 +0200 Subject: [PATCH] Mixed typo fixes (#270) --- .github/workflows/documentation.yaml | 5 +++-- .github/workflows/maintenance.yaml | 3 ++- .../seminararbeiten/Datenspeicherung/Docker_get_started.md | 2 +- .../utils/mongo/sentiment_service.py | 2 +- tests/utils/mongo/ner_service_test.py | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 959ff72..bbc9010 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -12,7 +12,7 @@ jobs: name: Doc-Build runs-on: ubuntu-latest steps: - - name: Install prio to running the process + - name: Install prior to running the process run: | sudo apt install pandoc snapd -y sudo snap install drawio @@ -28,7 +28,8 @@ jobs: with: version: 1.6.1 virtualenvs-create: false - - run: poetry install --with doc --all-extras --without test,lint + - name: Poetry install + run: poetry install --with doc --all-extras --without test,lint - name: Doc-Build run: | cd documentations diff --git a/.github/workflows/maintenance.yaml b/.github/workflows/maintenance.yaml index 7ee429d..b5eef69 100644 --- a/.github/workflows/maintenance.yaml +++ b/.github/workflows/maintenance.yaml @@ -35,7 +35,8 @@ jobs: - run: pre-commit autoupdate shell: bash - - uses: peter-evans/create-pull-request@v5 + - name: Create pull request + uses: peter-evans/create-pull-request@v5 with: token: ${{ secrets.GITHUB_TOKEN }} base: main diff --git a/documentations/seminararbeiten/Datenspeicherung/Docker_get_started.md b/documentations/seminararbeiten/Datenspeicherung/Docker_get_started.md index 6acc725..2a5683d 100644 --- a/documentations/seminararbeiten/Datenspeicherung/Docker_get_started.md +++ b/documentations/seminararbeiten/Datenspeicherung/Docker_get_started.md @@ -48,7 +48,7 @@ einer Anwendung wird nun in einer yml-Datei beschrieben, um die Verwaltung und d | | image | Angabe des zu verwendenden Images | | | restart | Option um Container erneut zu starten, falls dieser gestoppt wird | | | Environment | Umgebungsvariablen: Username und Passwort | -| | Ports | Mapping des Containerports zum Port der Hostmaschine | +| | Ports | Mapping des Containerports zum Port der Hostmaschine | | | Volumes | Angabe eines Volumes zum Persistieren der Containerdaten, damit nach einem Neustart die Daten wieder verfügbar sind | Nun kann der Container mittels Docker-Compose gestartet werden. diff --git a/src/aki_prj23_transparenzregister/utils/mongo/sentiment_service.py b/src/aki_prj23_transparenzregister/utils/mongo/sentiment_service.py index d0fff45..3cc12a2 100644 --- a/src/aki_prj23_transparenzregister/utils/mongo/sentiment_service.py +++ b/src/aki_prj23_transparenzregister/utils/mongo/sentiment_service.py @@ -34,7 +34,7 @@ class SentimentAnalysisService: PATH: Final[ # noqa: N806 str ] = "src/aki_prj23_transparenzregister/utils/mongo/SentiWS/" - # check if vocabulary is existing, otehrwise download it + # check if vocabulary is existing, otherwise download it if not os.path.exists(PATH): URL: Final[ # noqa: N806 str diff --git a/tests/utils/mongo/ner_service_test.py b/tests/utils/mongo/ner_service_test.py index ae52482..45de69a 100644 --- a/tests/utils/mongo/ner_service_test.py +++ b/tests/utils/mongo/ner_service_test.py @@ -22,7 +22,7 @@ def test_ner_spacy() -> None: def test_ner_company_list() -> None: """Mock test_ner_company.""" - # Create instance of NerAnalysisService with use_use_companylist=True + # Create instance of NerAnalysisService with use_companylist=True ner_service = NerAnalysisService( use_spacy=False, use_transformer=False, use_companylist=True )