From 22fbffa97fa23fa7dcf38b69c6aca3780329675b Mon Sep 17 00:00:00 2001 From: GrandMoff100 Date: Wed, 23 Feb 2022 16:08:25 +0000 Subject: [PATCH 1/3] Fixed mega-linter bugs. --- .github/workflows/python-publish.yml | 5 +---- .mega-linter.yml | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index e30af944..70df6eb9 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -24,7 +24,4 @@ jobs: env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: | - poetry publish --build \ - --username $TWINE_USERNAME \ - --password $TWINE_PASSWORD + run: poetry publish --build -u $TWINE_USERNAME -p $TWINE_PASSWORD diff --git a/.mega-linter.yml b/.mega-linter.yml index c50d542c..8e05a761 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -5,6 +5,8 @@ APPLY_FIXES: all # all, none, or list of linter keys DISABLE: - PYTHON - COPYPASTE +DISABLE_LINTERS: + - SPELL_CSPELL SHOW_ELAPSED_TIME: true FILEIO_REPORTER: true RST_FILTER_REGEX_EXCLUDE: "(:resource:`.+`)" From 7f3fd344ff93af3b77a7b44174d41fb4e5ab39d1 Mon Sep 17 00:00:00 2001 From: GrandMoff100 Date: Wed, 23 Feb 2022 16:15:46 +0000 Subject: [PATCH 2/3] Added quotes to prevent word splitting --- .github/workflows/python-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 70df6eb9..1578057b 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -24,4 +24,4 @@ jobs: env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: poetry publish --build -u $TWINE_USERNAME -p $TWINE_PASSWORD + run: poetry publish --build -u "$TWINE_USERNAME" -p "$TWINE_PASSWORD" From 2a6feebdc868cee931c67607b947d40cb53d4839 Mon Sep 17 00:00:00 2001 From: GrandMoff100 Date: Wed, 23 Feb 2022 16:16:40 +0000 Subject: [PATCH 3/3] Enabled fail_on_error --- .mega-linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mega-linter.yml b/.mega-linter.yml index 8e05a761..a4c5da7f 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -10,4 +10,4 @@ DISABLE_LINTERS: SHOW_ELAPSED_TIME: true FILEIO_REPORTER: true RST_FILTER_REGEX_EXCLUDE: "(:resource:`.+`)" -DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass +# DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass