diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e3794e9..00ca355 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,19 +8,19 @@ on: jobs: main-windows: - uses: asottile/workflows/.github/workflows/tox.yml@v1.4.2 + uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0 with: env: '["py38"]' os: windows-latest wheel-tags: true main-macos: - uses: asottile/workflows/.github/workflows/tox.yml@v1.4.2 + uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0 with: env: '["py38"]' os: macos-latest wheel-tags: true main-linux: - uses: asottile/workflows/.github/workflows/tox.yml@v1.4.2 + uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0 with: env: '["py38"]' os: ubuntu-latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cf630b8..912a5eb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,29 +10,28 @@ repos: - id: name-tests-test - id: requirements-txt-fixer - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.2.0 + rev: v2.4.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/reorder-python-imports - rev: v3.9.0 + rev: v3.11.0 hooks: - id: reorder-python-imports - args: [--py37-plus, --add-import, 'from __future__ import annotations'] + args: [--py38-plus, --add-import, 'from __future__ import annotations'] - repo: https://github.com/asottile/add-trailing-comma - rev: v2.4.0 + rev: v3.1.0 hooks: - id: add-trailing-comma - args: [--py36-plus] - repo: https://github.com/asottile/pyupgrade - rev: v3.4.0 + rev: v3.13.0 hooks: - id: pyupgrade - args: [--py37-plus] -- repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v2.0.2 + args: [--py38-plus] +- repo: https://github.com/hhatto/autopep8 + rev: v2.0.4 hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 6.1.0 hooks: - id: flake8 diff --git a/README.md b/README.md index a802306..5155bf6 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Sample `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.9.0.5 + rev: v0.9.0.6 hooks: - id: shellcheck ``` diff --git a/setup.cfg b/setup.cfg index b8b3555..a6f9305 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ url = https://github.com/ryanrhee/shellcheck-py author = Ryan Rhee author_email = pypi@rhee.io license = MIT -license_file = LICENSE +license_files = LICENSE classifiers = License :: OSI Approved :: MIT License Programming Language :: Python :: 3 @@ -16,4 +16,4 @@ classifiers = Programming Language :: Python :: Implementation :: PyPy [options] -python_requires = >=3.7 +python_requires = >=3.8 diff --git a/setup.py b/setup.py index e9428bd..78a1400 100644 --- a/setup.py +++ b/setup.py @@ -41,9 +41,10 @@ ), } POSTFIX_SHA256[('cygwin', 'x86_64')] = POSTFIX_SHA256[('win32', 'AMD64')] +POSTFIX_SHA256[('win32', 'ARM64')] = POSTFIX_SHA256[('win32', 'AMD64')] POSTFIX_SHA256[('darwin', 'arm64')] = POSTFIX_SHA256[('darwin', 'x86_64')] POSTFIX_SHA256[('linux', 'armv7l')] = POSTFIX_SHA256[('linux', 'armv6hf')] -PY_VERSION = '5' +PY_VERSION = '6' def get_download_url() -> tuple[str, str]: diff --git a/tox.ini b/tox.ini index e13b944..0403be0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38,pre-commit +envlist = py,pre-commit [testenv] commands =