diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68ac9b6..64c7454 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: push: branches: - - master + - main pull_request: jobs: @@ -11,7 +11,9 @@ jobs: dist: runs-on: ubuntu-latest steps: - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" - uses: actions/checkout@v3 - run: python -m pip install --upgrade pip build wheel twine - run: python -m build --sdist --wheel @@ -46,14 +48,12 @@ jobs: - isort --check-only --diff . - pydocstyle . steps: - - uses: actions/setup-python@v3 - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/setup-python@v4 with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('linter-requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- + python-version: "3.10" + cache: 'pip' + cache-dependency-path: 'linter-requirements.txt' - run: python -m pip install -r linter-requirements.txt - run: ${{ matrix.lint-command }} @@ -75,7 +75,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a969f0..c43eb28 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" - run: python -m pip install --upgrade pip build wheel twine - uses: actions/setup-node@v3 - name: Install Node dependencies diff --git a/README.md b/README.md index 2e4183a..fe53305 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,9 @@ request limit. [![PyPi Version](https://img.shields.io/pypi/v/django-s3file.svg)](https://pypi.python.org/pypi/django-s3file/) [![Test -Coverage](https://codecov.io/gh/codingjoe/django-s3file/branch/master/graph/badge.svg)](https://codecov.io/gh/codingjoe/django-s3file) +Coverage](https://codecov.io/gh/codingjoe/django-s3file/branch/main/graph/badge.svg)](https://codecov.io/gh/codingjoe/django-s3file) [![GitHub -license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/codingjoe/django-s3file/master/LICENSE) +license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/codingjoe/django-s3file/main/LICENSE) ## Features diff --git a/linter-requirements.txt b/linter-requirements.txt index ccffa5a..616a440 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.4 -black==22.3.0 -flake8==4.0.1 +black==22.6.0 +flake8==5.0.4 isort==5.10.1 pydocstyle[toml]==6.1.1 diff --git a/package-lock.json b/package-lock.json index ee3372c..43d30f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2214,9 +2214,9 @@ } }, "node_modules/uglify-js": { - "version": "3.16.0", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.16.0.tgz", - "integrity": "sha512-FEikl6bR30n0T3amyBh3LoiBdqHRy/f4H80+My34HOesOKyHfOsxAPAxOoqC0JUnC1amnO0IwkYC3sko51caSw==", + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.0.tgz", + "integrity": "sha512-aTeNPVmgIMPpm1cxXr2Q/nEbvkmV8yq66F3om7X3P/cvOXQ0TMQ64Wk63iyT1gPlmdmGzjGpyLh1f3y8MZWXGg==", "dev": true, "bin": { "uglifyjs": "bin/uglifyjs" @@ -3917,9 +3917,9 @@ "dev": true }, "uglify-js": { - "version": "3.16.0", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.16.0.tgz", - "integrity": "sha512-FEikl6bR30n0T3amyBh3LoiBdqHRy/f4H80+My34HOesOKyHfOsxAPAxOoqC0JUnC1amnO0IwkYC3sko51caSw==", + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.0.tgz", + "integrity": "sha512-aTeNPVmgIMPpm1cxXr2Q/nEbvkmV8yq66F3om7X3P/cvOXQ0TMQ64Wk63iyT1gPlmdmGzjGpyLh1f3y8MZWXGg==", "dev": true }, "unbox-primitive": { diff --git a/s3file/static/s3file/js/s3file.js b/s3file/static/s3file/js/s3file.js index bef5abb..e4c573d 100644 --- a/s3file/static/s3file/js/s3file.js +++ b/s3file/static/s3file/js/s3file.js @@ -105,7 +105,7 @@ } function clickSubmit (e) { - var submitButton = e.target + var submitButton = e.currentTarget var form = submitButton.closest('form') var submitInput = document.createElement('input') submitInput.type = 'hidden' pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy