From 773105c20985853220a440b46f5b0b84c6aa83f6 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 6 Jan 2024 13:22:19 -0500 Subject: [PATCH 01/32] update libsass to 3.6.6 --- libsass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsass b/libsass index f6afdbb9..7037f03f 160000 --- a/libsass +++ b/libsass @@ -1 +1 @@ -Subproject commit f6afdbb9288d20d1257122e71d88e53348a53af3 +Subproject commit 7037f03fabeb2b18b5efa84403f5a6d7a990f460 From 73d9fe0cda3ef2afacec0cc96db112bd6b89746f Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 6 Jan 2024 13:35:59 -0500 Subject: [PATCH 02/32] use setup-cfg-fmt to format package metadata --- .pre-commit-config.yaml | 6 +++- setup.cfg | 48 ++++++++++++++++++++++++++++-- setup.py | 66 ----------------------------------------- 3 files changed, 50 insertions(+), 70 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 791adf5f..b92620c9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,6 +9,10 @@ repos: - id: double-quote-string-fixer - id: name-tests-test - id: requirements-txt-fixer +- repo: https://github.com/asottile/setup-cfg-fmt + rev: v2.5.0 + hooks: + - id: setup-cfg-fmt - repo: https://github.com/asottile/reorder-python-imports rev: v3.12.0 hooks: @@ -28,7 +32,7 @@ repos: hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 exclude: ^docs/conf.py diff --git a/setup.cfg b/setup.cfg index 8d0ca2bb..86a67018 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +1,51 @@ +[metadata] +name = libsass +version = attr: sass.__version__ +description = Sass for Python: A straightforward binding of libsass for Python. +long_description = file: README.rst +long_description_content_type = text/x-rst +url = https://sass.github.io/libsass-python/ +author = Hong Minhee +author_email = minhee@dahlia.kr +license = MIT +license_files = LICENSE +classifiers = + Development Status :: 5 - Production/Stable + Environment :: Web Environment + Intended Audience :: Developers + License :: OSI Approved :: MIT License + Operating System :: OS Independent + Programming Language :: C + Programming Language :: C++ + Programming Language :: Python :: 3 + Programming Language :: Python :: 3 :: Only + Programming Language :: Python :: Implementation :: CPython + Programming Language :: Python :: Implementation :: PyPy + Programming Language :: Python :: Implementation :: Stackless + Topic :: Internet :: WWW/HTTP + Topic :: Internet :: WWW/HTTP :: Dynamic Content + Topic :: Software Development :: Code Generators + Topic :: Software Development :: Compilers + +[options] +packages = sassutils +py_modules = + pysassc + sass + sasstests +python_requires = >=3.8 + +[options.entry_points] +console_scripts = + pysassc = pysassc:main +distutils.commands = + build_sass = sassutils.distutils:build_sass +distutils.setup_keywords = + sass_manifests = sassutils.distutils:validate_manifests + [aliases] upload_doc = build_sphinx upload_doc release = sdist upload build_sphinx upload_doc [flake8] exclude = .tox,build,dist,docs,ez_setup.py - -[metadata] -license_file = LICENSE diff --git a/setup.py b/setup.py index fe9743e8..b78fa05f 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,3 @@ -import ast import atexit import os.path import platform @@ -169,24 +168,6 @@ def restore_cencode(): ) -def version(sass_filename='sass.py'): - with open(sass_filename) as f: - tree = ast.parse(f.read(), sass_filename) - for node in tree.body: - if isinstance(node, ast.Assign) and len(node.targets) == 1: - target, = node.targets - if isinstance(target, ast.Name) and target.id == '__version__': - return node.value.s - - -def readme(): - try: - with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: - return f.read() - except OSError: - pass - - class upload_doc(distutils.cmd.Command): """Uploads the documentation to GitHub pages.""" @@ -237,53 +218,6 @@ def finalize_options(self): setup( - name='libsass', - description='Sass for Python: ' - 'A straightforward binding of libsass for Python.', - long_description=readme(), - version=version(), ext_modules=[sass_extension], - packages=['sassutils'], - py_modules=['pysassc', 'sass', 'sasstests'], - package_data={ - '': [ - 'README.rst', - 'test/*.sass', - ], - }, - license='MIT License', - author='Hong Minhee', - author_email='minhee' '@' 'dahlia.kr', - url='https://sass.github.io/libsass-python/', - download_url='https://github.com/sass/libsass-python/releases', - entry_points={ - 'distutils.commands': [ - 'build_sass = sassutils.distutils:build_sass', - ], - 'distutils.setup_keywords': [ - 'sass_manifests = sassutils.distutils:validate_manifests', - ], - 'console_scripts': [ - ['pysassc = pysassc:main'], - ], - }, - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Web Environment', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', - 'Operating System :: OS Independent', - 'Programming Language :: C', - 'Programming Language :: C++', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: Implementation :: CPython', - 'Programming Language :: Python :: Implementation :: PyPy', - 'Programming Language :: Python :: Implementation :: Stackless', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', - 'Topic :: Software Development :: Code Generators', - 'Topic :: Software Development :: Compilers', - ], - python_requires='>=3.8', cmdclass=cmdclass, ) From af3c4bf4ab0b852447fc2b2f46001e499c615011 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 6 Jan 2024 13:49:15 -0500 Subject: [PATCH 03/32] 0.23.0 --- docs/changes.rst | 10 ++++++++++ sass.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/changes.rst b/docs/changes.rst index 0cc472e9..cf4b4b8e 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -1,6 +1,16 @@ Changelog ========= +Version 0.23.0 +-------------- + +Released on January 6, 2024. + +- Follow up the libsass upstream: 3.6.6 --- See the release notes of LibSass + 3.6.6__. [:issue:`452` by Anthony Sottile] + +__ https://github.com/sass/libsass/releases/tag/3.6.6 + Version 0.22.0 -------------- diff --git a/sass.py b/sass.py index 4e660883..055221fb 100644 --- a/sass.py +++ b/sass.py @@ -24,7 +24,7 @@ 'SassError', 'SassFunction', 'SassList', 'SassMap', 'SassNumber', 'SassWarning', 'and_join', 'compile', 'libsass_version', ) -__version__ = '0.22.0' +__version__ = '0.23.0' libsass_version = _sass.libsass_version From 7c02aa633440349eca56b0679d3e03881d8b7959 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 6 Jan 2024 14:08:46 -0500 Subject: [PATCH 04/32] delete download-windows-wheels -- not on azure pipelines any more --- bin/download-windows-wheels | 59 ------------------------------------- 1 file changed, 59 deletions(-) delete mode 100755 bin/download-windows-wheels diff --git a/bin/download-windows-wheels b/bin/download-windows-wheels deleted file mode 100755 index dee25a26..00000000 --- a/bin/download-windows-wheels +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/env python3 -import argparse -import io -import json -import os.path -import re -import urllib.request -import zipfile - -DEFINITION_RE = re.compile( - r'https://dev.azure.com/(?P[^/]+)/(?P[^/]+)' - r'/_build/latest\?definitionId=(?P\d+)', -) -BUILDS = 'https://dev.azure.com/{org}/{project}/_apis/build/builds?api-version=5.0&definitions={definition}&$top=5' # noqa: E501 -ARTIFACTS = 'https://dev.azure.com/{org}/{project}/_apis/build/builds/{build}/artifacts?api-version=5.0' # noqa: E501 - - -def main() -> int: - parser = argparse.ArgumentParser() - parser.add_argument('tag') - parser.add_argument('--dest', default='dist') - args = parser.parse_args() - - with open('README.rst') as f: - match = DEFINITION_RE.search(f.read()) - assert match - - builds_resp = urllib.request.urlopen(BUILDS.format(**match.groupdict())) - builds_json = json.load(builds_resp) - - build_id = next( - iter([ - build['id'] for build in builds_json['value'] - if build['status'] == 'completed' - if build['result'] == 'succeeded' - if build['sourceBranch'] == f'refs/tags/{args.tag}' - ]), - ) - - artifacts_url = ARTIFACTS.format(build=build_id, **match.groupdict()) - artifacts_resp = urllib.request.urlopen(artifacts_url) - artifacts_json = json.load(artifacts_resp) - - os.makedirs(args.dest, exist_ok=True) - for artifact in artifacts_json['value']: - if artifact['name'].startswith('wheel_'): - print(f'artifact: {artifact["name"]}') - resp = urllib.request.urlopen(artifact['resource']['downloadUrl']) - bio = io.BytesIO(resp.read()) - with zipfile.ZipFile(bio) as zipf: - for info in zipf.infolist(): - if info.filename.endswith('.whl'): - info.filename = os.path.basename(info.filename) - zipf.extract(info, path=args.dest) - return 0 - - -if __name__ == '__main__': - raise SystemExit(main()) From f0dc392782754e0f5632190c2e9940cc282eef53 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 6 Jan 2024 14:09:04 -0500 Subject: [PATCH 05/32] fix sphinx extlinks format --- docs/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index ca7e3906..46964c23 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -267,11 +267,11 @@ extlinks = { - 'issue': ('https://github.com/sass/libsass-python/issues/%s', '#'), + 'issue': ('https://github.com/sass/libsass-python/issues/%s', '#%s'), 'branch': ( 'https://github.com/sass/libsass-python/compare/main...%s', - '', + '%s', ), - 'commit': ('https://github.com/sass/libsass-python/commit/%s', ''), - 'upcommit': ('https://github.com/sass/libsass/commit/%s', ''), + 'commit': ('https://github.com/sass/libsass-python/commit/%s', '%s'), + 'upcommit': ('https://github.com/sass/libsass/commit/%s', '%s'), } From b041ef3343bf24c6aadb8286d4179427ec4e6d84 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 6 Jan 2024 14:09:16 -0500 Subject: [PATCH 06/32] update minimum python version for linux wheel building --- bin/build-manylinux-wheels | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build-manylinux-wheels b/bin/build-manylinux-wheels index 65e05355..6c091a29 100755 --- a/bin/build-manylinux-wheels +++ b/bin/build-manylinux-wheels @@ -22,7 +22,7 @@ def check_call(*cmd): def main(): os.makedirs('dist', exist_ok=True) with tempfile.TemporaryDirectory() as work: - pip = '/opt/python/cp37-cp37m/bin/pip' + pip = '/opt/python/cp38-cp38/bin/pip' check_call( 'docker', 'run', '-ti', # Use this so the files are not owned by root From 41f072db30a47ae5e60fb4bd49a94aa913374e04 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 6 Jan 2024 14:09:35 -0500 Subject: [PATCH 07/32] update releasing notes --- CONTRIBUTING.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 101beec7..37c4e077 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -23,10 +23,10 @@ Tests - All code patches should contain one or more unit tests or regression tests. - All code patches have to successfully run tests on every Python version we aim to support. tox_ would help. -- All commits will be tested by `Azure Pipelines`_ (Linux and Windows). +- All commits will be tested by `GitHub Actions`_ (Linux and Windows). .. _tox: https://tox.readthedocs.io/ -.. _`Azure Pipelines`: https://dev.azure.com/asottile/asottile/_build/latest?definitionId=22&branchName=main +.. _`GitHub Actions`: https://github.com/sass/libsass-python/actions Maintainer's guide @@ -50,10 +50,9 @@ Here's a brief check list for releasing a new version: - Make a source distribution and upload it to PyPI (``python3 setup.py sdist upload``). If it's successful the new version must appear on PyPI_. -- `Azure Pipelines`_ automatically makes binary wheels for Windows, but each +- `GitHub Actions`_ automatically makes binary wheels for Windows, but each CI build takes a while. These wheels are not automatically uploaded, - but there's ``./bin/download-windows-wheels`` script that downloads built - wheels. Then upload them with ``twine``. + you can retreive them from the build's artifacts. - Run ``./bin/build-manylinux-wheels`` to build linux wheels and upload them to PyPI (takes ~5 minutes). - The `docs website`__ also has to be updated. From 30456de5d9fd774fb7e8309ec8ffe40613111ddc Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 6 Jan 2024 14:16:26 -0500 Subject: [PATCH 08/32] remove python version in docs -- it's always out of date anyway --- README.rst | 2 -- docs/index.rst | 2 -- 2 files changed, 4 deletions(-) diff --git a/README.rst b/README.rst index de214895..593c78f1 100644 --- a/README.rst +++ b/README.rst @@ -20,8 +20,6 @@ distribution/deployment. That means you can add just ``libsass`` into your ``setup.py``'s ``install_requires`` list or ``requirements.txt`` file. No need for Ruby nor Node.js. -It currently supports CPython 3.7+, and PyPy 3! - .. _Sass: https://sass-lang.com/ .. _LibSass: https://github.com/sass/libsass diff --git a/docs/index.rst b/docs/index.rst index dafa5845..be2ee3f0 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -8,8 +8,6 @@ distribution/deployment. That means you can add just ``libsass`` into your :file:`setup.py`'s ``install_requires`` list or :file:`requirements.txt` file. -It currently supports CPython 3.7+ and PyPy 3! - .. _Sass: https://sass-lang.com/ .. _LibSass: https://github.com/sass/libsass From bb6c728b141a827991d451436040b950e80ebe2f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 01:13:58 +0000 Subject: [PATCH 09/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v3.15.0 → v3.15.1](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.15.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b92620c9..78e12eb0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.15.1 hooks: - id: pyupgrade args: [--py38-plus] From 7cb4e1a44ba7674069b4f348169dabd20a01925e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:05:32 +0000 Subject: [PATCH 10/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/hhatto/autopep8: v2.0.4 → v2.1.0](https://github.com/hhatto/autopep8/compare/v2.0.4...v2.1.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 78e12eb0..b8815893 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/hhatto/autopep8 - rev: v2.0.4 + rev: v2.1.0 hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 From f0b1c2dc33c596ca6a5e48f12221c15bc7e757c9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 22:44:36 +0000 Subject: [PATCH 11/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v3.15.1 → v3.15.2](https://github.com/asottile/pyupgrade/compare/v3.15.1...v3.15.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8815893..99c22774 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.15.1 + rev: v3.15.2 hooks: - id: pyupgrade args: [--py38-plus] From 8883bd3ba8b1b2bdc2a65a0309d718b5d3dd78f9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 23:34:31 +0000 Subject: [PATCH 12/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99c22774..8c70a44a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer From 39dfa6268d60b6ae6fc83d7e4bc71433cc8ade86 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 29 Apr 2024 21:37:35 -0400 Subject: [PATCH 13/32] add macos-intel now that macos-latest is arm64 --- .github/workflows/main.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f3da861f..d0d7752b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: jobs: main-windows: - uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0 + uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1 with: env: '["py38"]' os: windows-latest @@ -16,14 +16,21 @@ jobs: wheel-tags: true submodules: true main-macos: - uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0 + uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1 with: env: '["py38"]' os: macos-latest wheel-tags: true submodules: true + main-macos-intel: + uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1 + with: + env: '["py38"]' + os: macos-13 + wheel-tags: true + submodules: true main-linux: - uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0 + uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1 with: env: '["pypy3", "py38", "py39", "py310", "py311"]' os: ubuntu-latest From f1246f7ec74dad3773a9b00871f4188c3743cd6f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 22:53:07 +0000 Subject: [PATCH 14/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/hhatto/autopep8: v2.1.0 → v2.1.1](https://github.com/hhatto/autopep8/compare/v2.1.0...v2.1.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8c70a44a..8076943b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/hhatto/autopep8 - rev: v2.1.0 + rev: v2.1.1 hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 From 95d8ded20d5fff30c2f7ccfdc3086942ff5fbb72 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 23:09:43 +0000 Subject: [PATCH 15/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/reorder-python-imports: v3.12.0 → v3.13.0](https://github.com/asottile/reorder-python-imports/compare/v3.12.0...v3.13.0) - [github.com/hhatto/autopep8: v2.1.1 → v2.2.0](https://github.com/hhatto/autopep8/compare/v2.1.1...v2.2.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8076943b..7f0fe03e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/reorder-python-imports - rev: v3.12.0 + rev: v3.13.0 hooks: - id: reorder-python-imports args: [--py38-plus] @@ -28,7 +28,7 @@ repos: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/hhatto/autopep8 - rev: v2.1.1 + rev: v2.2.0 hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 From 50665d3cfffd220d8646a6189aa0ea657e1ccc81 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 23:26:20 +0000 Subject: [PATCH 16/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v3.15.2 → v3.16.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.16.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7f0fe03e..8ff93a62 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.15.2 + rev: v3.16.0 hooks: - id: pyupgrade args: [--py38-plus] From 74e1fa227081cb76e9e88b7cdaa260463fec3cf9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 23:30:02 +0000 Subject: [PATCH 17/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/hhatto/autopep8: v2.2.0 → v2.3.0](https://github.com/hhatto/autopep8/compare/v2.2.0...v2.3.0) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ff93a62..e6d2c2f2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,11 +28,11 @@ repos: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/hhatto/autopep8 - rev: v2.2.0 + rev: v2.3.0 hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.0 hooks: - id: flake8 exclude: ^docs/conf.py From a128121645cfd968f2ce0359a1d63a0b0793a778 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 23:15:48 +0000 Subject: [PATCH 18/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/hhatto/autopep8: v2.3.0 → v2.3.1](https://github.com/hhatto/autopep8/compare/v2.3.0...v2.3.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e6d2c2f2..95fd6bd7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/hhatto/autopep8 - rev: v2.3.0 + rev: v2.3.1 hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 From f4de08b4359f98a9457b032e4553d826cce495ee Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 23:22:40 +0000 Subject: [PATCH 19/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v3.16.0 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.16.0...v3.17.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 95fd6bd7..e73c24f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.16.0 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py38-plus] From e082dba529ca19ff282c787edf723d0b871b9a53 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 6 Aug 2024 00:18:15 +0000 Subject: [PATCH 20/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.1.0...7.1.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e73c24f0..9a3259be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 7.1.0 + rev: 7.1.1 hooks: - id: flake8 exclude: ^docs/conf.py From 362f2dd1d2f009e4b92dd83316c67da011282deb Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 26 Oct 2024 17:46:25 -0400 Subject: [PATCH 21/32] remove msvc hack does not apply on latest setuptools --- setup.py | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/setup.py b/setup.py index b78fa05f..d877c2af 100644 --- a/setup.py +++ b/setup.py @@ -96,26 +96,7 @@ def customize_compiler(compiler): elif filename.endswith('.h'): headers.append(filename) - if sys.platform == 'win32': - from distutils.msvc9compiler import get_build_version - vscomntools_env = 'VS{}{}COMNTOOLS'.format( - int(get_build_version()), - int(get_build_version() * 10) % 10, - ) - try: - os.environ[vscomntools_env] = os.environ['VS140COMNTOOLS'] - except KeyError: - distutils.log.warn( - 'You probably need Visual Studio 2015 (14.0) ' - 'or higher', - ) - from distutils import msvccompiler, msvc9compiler - if msvccompiler.get_build_version() < 14.0: - msvccompiler.get_build_version = lambda: 14.0 - if get_build_version() < 14.0: - msvc9compiler.get_build_version = lambda: 14.0 - msvc9compiler.VERSION = 14.0 - elif platform.system() in {'Darwin', 'FreeBSD', 'OpenBSD'}: + if platform.system() in {'Darwin', 'FreeBSD', 'OpenBSD'}: # Dirty workaround to avoid link error... # Python distutils doesn't provide any way # to configure different flags for each cc and c++. From 84abba3c9b7b53ba741999adb7afde74ab1efeeb Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 26 Oct 2024 17:57:46 -0400 Subject: [PATCH 22/32] disable pypy for now --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d0d7752b..4757863f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,6 +32,6 @@ jobs: main-linux: uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1 with: - env: '["pypy3", "py38", "py39", "py310", "py311"]' + env: '["py38", "py39", "py310", "py311"]' os: ubuntu-latest submodules: true From 9534c028533d4b4792b2814b4b5e18ac26fc60ae Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 26 Oct 2024 18:03:44 -0400 Subject: [PATCH 23/32] py39+ --- .github/workflows/main.yml | 16 ++++++++-------- .pre-commit-config.yaml | 4 ++-- bin/build-manylinux-wheels | 2 +- setup.cfg | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4757863f..86b28a55 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,30 +8,30 @@ on: jobs: main-windows: - uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1 + uses: asottile/workflows/.github/workflows/tox.yml@v1.8.0 with: - env: '["py38"]' + env: '["py39"]' os: windows-latest arch: '["x64", "x86"]' wheel-tags: true submodules: true main-macos: - uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1 + uses: asottile/workflows/.github/workflows/tox.yml@v1.8.0 with: - env: '["py38"]' + env: '["py39"]' os: macos-latest wheel-tags: true submodules: true main-macos-intel: - uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1 + uses: asottile/workflows/.github/workflows/tox.yml@v1.8.0 with: - env: '["py38"]' + env: '["py39"]' os: macos-13 wheel-tags: true submodules: true main-linux: - uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1 + uses: asottile/workflows/.github/workflows/tox.yml@v1.8.0 with: - env: '["py38", "py39", "py310", "py311"]' + env: '["py39", "py310", "py311"]' os: ubuntu-latest submodules: true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9a3259be..01ce37b9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: rev: v3.13.0 hooks: - id: reorder-python-imports - args: [--py38-plus] + args: [--py39-plus] - repo: https://github.com/asottile/add-trailing-comma rev: v3.1.0 hooks: @@ -26,7 +26,7 @@ repos: rev: v3.17.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: [--py39-plus] - repo: https://github.com/hhatto/autopep8 rev: v2.3.1 hooks: diff --git a/bin/build-manylinux-wheels b/bin/build-manylinux-wheels index 6c091a29..233c5afc 100755 --- a/bin/build-manylinux-wheels +++ b/bin/build-manylinux-wheels @@ -22,7 +22,7 @@ def check_call(*cmd): def main(): os.makedirs('dist', exist_ok=True) with tempfile.TemporaryDirectory() as work: - pip = '/opt/python/cp38-cp38/bin/pip' + pip = '/opt/python/cp39-cp39/bin/pip' check_call( 'docker', 'run', '-ti', # Use this so the files are not owned by root diff --git a/setup.cfg b/setup.cfg index 86a67018..00545d2d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -33,7 +33,7 @@ py_modules = pysassc sass sasstests -python_requires = >=3.8 +python_requires = >=3.9 [options.entry_points] console_scripts = From ba39ec761688301ea5cf3336fe0ee8285c739ff1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 15 Oct 2024 00:04:45 +0000 Subject: [PATCH 24/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/asottile/setup-cfg-fmt: v2.5.0 → v2.7.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.5.0...v2.7.0) - [github.com/asottile/reorder-python-imports: v3.13.0 → v3.14.0](https://github.com/asottile/reorder-python-imports/compare/v3.13.0...v3.14.0) - [github.com/asottile/pyupgrade: v3.17.0 → v3.18.0](https://github.com/asottile/pyupgrade/compare/v3.17.0...v3.18.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 01ce37b9..e0f62bd2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,11 +10,11 @@ repos: - id: name-tests-test - id: requirements-txt-fixer - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.5.0 + rev: v2.7.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/reorder-python-imports - rev: v3.13.0 + rev: v3.14.0 hooks: - id: reorder-python-imports args: [--py39-plus] @@ -23,7 +23,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.17.0 + rev: v3.18.0 hooks: - id: pyupgrade args: [--py39-plus] From 596b0cc1ec47c36eff5800d1bb38ef8bac27663b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 00:32:53 +0000 Subject: [PATCH 25/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v3.18.0 → v3.19.0](https://github.com/asottile/pyupgrade/compare/v3.18.0...v3.19.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e0f62bd2..f1f9ffb1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.18.0 + rev: v3.19.0 hooks: - id: pyupgrade args: [--py39-plus] From b4225cff3f0957d4b056f14fcd023d7880d01676 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Dec 2024 00:22:30 +0000 Subject: [PATCH 26/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v3.19.0 → v3.19.1](https://github.com/asottile/pyupgrade/compare/v3.19.0...v3.19.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f1f9ffb1..6221e0d5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.19.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py39-plus] From 024e351b6ce33083d22546f7994c23ca55ab7603 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 00:07:26 +0000 Subject: [PATCH 27/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/hhatto/autopep8: v2.3.1 → v2.3.2](https://github.com/hhatto/autopep8/compare/v2.3.1...v2.3.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6221e0d5..9a38f3a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: pyupgrade args: [--py39-plus] - repo: https://github.com/hhatto/autopep8 - rev: v2.3.1 + rev: v2.3.2 hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 From 00af6ab00b415085a544427ee752930f2c4b4d82 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Thu, 30 Jan 2025 14:59:22 -0500 Subject: [PATCH 28/32] upgrade asottile/workflows Committed via https://github.com/asottile/all-repos --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86b28a55..d46fb755 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: jobs: main-windows: - uses: asottile/workflows/.github/workflows/tox.yml@v1.8.0 + uses: asottile/workflows/.github/workflows/tox.yml@v1.8.1 with: env: '["py39"]' os: windows-latest @@ -16,21 +16,21 @@ jobs: wheel-tags: true submodules: true main-macos: - uses: asottile/workflows/.github/workflows/tox.yml@v1.8.0 + uses: asottile/workflows/.github/workflows/tox.yml@v1.8.1 with: env: '["py39"]' os: macos-latest wheel-tags: true submodules: true main-macos-intel: - uses: asottile/workflows/.github/workflows/tox.yml@v1.8.0 + uses: asottile/workflows/.github/workflows/tox.yml@v1.8.1 with: env: '["py39"]' os: macos-13 wheel-tags: true submodules: true main-linux: - uses: asottile/workflows/.github/workflows/tox.yml@v1.8.0 + uses: asottile/workflows/.github/workflows/tox.yml@v1.8.1 with: env: '["py39", "py310", "py311"]' os: ubuntu-latest From 40bd7ab985db43448f1e1a959b63d47a3f162a25 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 22:40:39 +0000 Subject: [PATCH 29/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/PyCQA/flake8: 7.1.1 → 7.1.2](https://github.com/PyCQA/flake8/compare/7.1.1...7.1.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9a38f3a9..a572ffd3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 7.1.1 + rev: 7.1.2 hooks: - id: flake8 exclude: ^docs/conf.py From 60769f20a4d8d48ffc19eb762a7251ff05f04da2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 20:48:33 +0000 Subject: [PATCH 30/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/setup-cfg-fmt: v2.7.0 → v2.8.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.7.0...v2.8.0) - [github.com/PyCQA/flake8: 7.1.2 → 7.2.0](https://github.com/PyCQA/flake8/compare/7.1.2...7.2.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a572ffd3..da8073df 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - id: name-tests-test - id: requirements-txt-fixer - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.7.0 + rev: v2.8.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/reorder-python-imports @@ -32,7 +32,7 @@ repos: hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 7.1.2 + rev: 7.2.0 hooks: - id: flake8 exclude: ^docs/conf.py From 7a9a0cc6e1ecddbdae2c1b84f5da3b7a4c649659 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 20:48:41 +0000 Subject: [PATCH 31/32] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- setup.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 00545d2d..406413ca 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,7 +13,6 @@ classifiers = Development Status :: 5 - Production/Stable Environment :: Web Environment Intended Audience :: Developers - License :: OSI Approved :: MIT License Operating System :: OS Independent Programming Language :: C Programming Language :: C++ From 5c1a0fa3ad4fd04d39965b2f0a0c9c80dc48b2f1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 May 2025 20:54:17 +0000 Subject: [PATCH 32/32] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/reorder-python-imports: v3.14.0 → v3.15.0](https://github.com/asottile/reorder-python-imports/compare/v3.14.0...v3.15.0) - [github.com/asottile/add-trailing-comma: v3.1.0 → v3.2.0](https://github.com/asottile/add-trailing-comma/compare/v3.1.0...v3.2.0) - [github.com/asottile/pyupgrade: v3.19.1 → v3.20.0](https://github.com/asottile/pyupgrade/compare/v3.19.1...v3.20.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index da8073df..1874d259 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,16 +14,16 @@ repos: hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/reorder-python-imports - rev: v3.14.0 + rev: v3.15.0 hooks: - id: reorder-python-imports args: [--py39-plus] - repo: https://github.com/asottile/add-trailing-comma - rev: v3.1.0 + rev: v3.2.0 hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.19.1 + rev: v3.20.0 hooks: - id: pyupgrade args: [--py39-plus]