From 4010f82be4af553903541c0d65fca50e37209b5a Mon Sep 17 00:00:00 2001 From: Gang Li Date: Tue, 30 Jan 2024 20:29:32 +0800 Subject: [PATCH 1/2] Upgrade moto version to 3.0.7 --- tests/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index af22ba64..ff6f91ae 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -5,5 +5,5 @@ pytest-cov pytest-html flake8 requests-mock -moto==3.0.2.dev12 +moto==3.0.7 python-gnupg==0.5.0 From 23c94f05ccb079f820a3816d636053af370ffb2a Mon Sep 17 00:00:00 2001 From: Gang Li Date: Wed, 31 Jan 2024 21:44:13 +0800 Subject: [PATCH 2/2] Disable two linters in gh action --- .github/workflows/linters.yaml | 54 +++++++++++++++++----------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index 86293445..92c165f1 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -29,16 +29,16 @@ jobs: - name: Run flake8 on python${{ matrix.python-version }} run: python -m tox -e flake8 - markdownlint: - name: Markdownlint - runs-on: ubuntu-latest + # markdownlint: + # name: Markdownlint + # runs-on: ubuntu-latest - steps: - - name: Check out repo - uses: actions/checkout@v2 + # steps: + # - name: Check out repo + # uses: actions/checkout@v2 - - name: Run markdownlint - uses: containerbuildsystem/actions/markdownlint@master + # - name: Run markdownlint + # uses: containerbuildsystem/actions/markdownlint@master pylint: name: Pylint analyzer for Python ${{ matrix.python-version }} @@ -91,22 +91,22 @@ jobs: # - name: Run mypy on python${{ matrix.python-version }} # run: python -m tox -e mypy - bandit: - name: Bandit analyzer for Python ${{ matrix.python-version }} - runs-on: ubuntu-latest - - strategy: - matrix: - python-version: [ "3.8" ] - - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip setuptools tox - - - name: Run bandit analyzer on python${{ matrix.python-version }} - run: python -m tox -e bandit + # bandit: + # name: Bandit analyzer for Python ${{ matrix.python-version }} + # runs-on: ubuntu-latest + + # strategy: + # matrix: + # python-version: [ "3.8" ] + + # steps: + # - uses: actions/checkout@v1 + # - uses: actions/setup-python@v4 + # with: + # python-version: ${{ matrix.python-version }} + # - name: Install dependencies + # run: | + # python -m pip install --upgrade pip setuptools tox + + # - name: Run bandit analyzer on python${{ matrix.python-version }} + # run: python -m tox -e bandit