diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 608d04d..fc59073 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: v5.0.0 hooks: - id: trailing-whitespace exclude: \.output @@ -12,11 +12,11 @@ repos: - id: debug-statements - id: requirements-txt-fixer - repo: https://github.com/asottile/pyupgrade - rev: v3.15.1 + rev: v3.20.0 hooks: - id: pyupgrade - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.2 + rev: v0.11.11 hooks: - id: ruff - id: ruff-format diff --git a/README.rst b/README.rst index d8863d3..ab32f42 100644 --- a/README.rst +++ b/README.rst @@ -139,5 +139,4 @@ clang-format, clang-tidy, clang-query, clang-apply-replacements Windows,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ macOS,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ -.. warning:: - All clang-tidy v14+ builds for MacOS are still ~1.6 GB in size. +For more details, visit the `clang-tools-static-binaries `_ repository. diff --git a/clang_tools/__init__.py b/clang_tools/__init__.py index 5228c8b..fd3dd3b 100644 --- a/clang_tools/__init__.py +++ b/clang_tools/__init__.py @@ -1,4 +1,5 @@ """The clang-tools package's base module.""" + from .util import check_install_os @@ -8,4 +9,4 @@ suffix = ".exe" if install_os == "windows" else "" # tag of https://github.com/cpp-linter/clang-tools-static-binaries/releases -release_tag = "master-11dfa474" +release_tag = "master-b35c5633" diff --git a/tests/clang-format-12_macosx-amd64.sha512sum b/tests/clang-format-12_macosx-amd64.sha512sum index 7edea70..1499a9b 100644 --- a/tests/clang-format-12_macosx-amd64.sha512sum +++ b/tests/clang-format-12_macosx-amd64.sha512sum @@ -1 +1 @@ -ced6413367e7930395c38cc97b82b201b833f424d3293ab2d188c2f4318a318b464b0dbb3e0427bf09ed3af05ee3308301826f8258ecdba8193c7e600fee146e clang-format-12_macosx-amd64 +9be1e20c5b418e6100fb39f45ea43a0a653cb8457abd942d167187d4493028fbd0993cbf6fc574bc4158d1ec76a076c617596cc6c2a6a0135e51d0e0617a7655 clang-format-12_macosx-amd64 diff --git a/tests/clang-format-12_windows-amd64.sha512sum b/tests/clang-format-12_windows-amd64.sha512sum index fa91234..a699963 100644 --- a/tests/clang-format-12_windows-amd64.sha512sum +++ b/tests/clang-format-12_windows-amd64.sha512sum @@ -1 +1 @@ -682988cd469c37bd2e41b418fd67185be34d40a5586722f7482969cd5d961e089e99d75251e0a775266cb470d78f5569cde4eaa0041b57ab3338874ec07be290 *clang-format-12_windows-amd64 +7c00dc5d2f715ee7f022121335f10896f092bbb8bd91c304010241fb11926b459a6995b2d79fc2171f7523b748455c53d009d69f88c81da0841ca57114fbbdce *clang-format-12_windows-amd64 diff --git a/tests/test_install.py b/tests/test_install.py index e45e89c..8013b62 100644 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -1,4 +1,5 @@ """Tests related to installing a clang tool.""" + from pathlib import PurePath, Path import os import pytest diff --git a/tests/test_main.py b/tests/test_main.py index cc35b3f..07d4807 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -1,4 +1,5 @@ """Tests that relate to the main.py module.""" + from typing import Optional, List from argparse import ArgumentParser import pytest