cpp-linter 1.11.0__tar.gz → 1.11.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.gitattributes +3 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/workflows/tests.yml +3 -3
- {cpp_linter-1.11.0/cpp_linter.egg-info → cpp_linter-1.11.2}/PKG-INFO +1 -1
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/_version.py +3 -3
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/clang_tools/clang_tidy.py +3 -1
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/common_fs/file_filter.py +3 -3
- {cpp_linter-1.11.0 → cpp_linter-1.11.2/cpp_linter.egg-info}/PKG-INFO +1 -1
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/test_tools_output.py +1 -1
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/demo/.clang-tidy +1 -1
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/FUNDING.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/dependabot.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/release-drafter.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/workflows/analyze-workflows.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/workflows/codeql.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/workflows/docs.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/workflows/labeler.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/workflows/pre-commit.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/workflows/release-drafter.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/workflows/release.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.github/workflows/stale.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.gitignore +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.pre-commit-config.yaml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/.readthedocs.yaml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/CONTRIBUTING.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/LICENSE +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/README.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/codecov.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/__init__.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/clang_tools/__init__.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/clang_tools/clang_format.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/clang_tools/patcher.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/cli.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/common_fs/__init__.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/git/__init__.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/git/git_str.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/loggers.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/rest_api/__init__.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter/rest_api/github_api.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter.egg-info/SOURCES.txt +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter.egg-info/dependency_links.txt +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter.egg-info/entry_points.txt +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter.egg-info/not-zip-safe +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter.egg-info/requires.txt +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cpp_linter.egg-info/top_level.txt +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/cspell.config.yml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.clang_tools.clang_format.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.clang_tools.clang_tidy.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.clang_tools.patcher.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.clang_tools.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.cli.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.common_fs.file_filter.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.common_fs.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.git.git_str.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.git.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.loggers.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.rest_api.github_api.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.rest_api.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/_static/extra_css.css +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/_static/favicon.ico +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/_static/logo.png +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/building_docs.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/conf.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/contributing.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/index.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/permissions.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/pr_review_caveats.rst +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/noxfile.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/pyproject.toml +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/setup.cfg +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/setup.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/.clang-format +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/.clang-tidy +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/cache/opl/opl.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/cache/opl/opl_sdl.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/cache/pcsound/pcsound.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/cache/pcsound/pcsound_sdl.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/cache/src/i_musicpack.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/cache/src/i_sdlmusic.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/cache/src/i_sdlsound.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/cache/src/i_sound.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/cache/src/net_sdl.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/expected-result_0.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/expected-result_1.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/expected-result_2.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/67715d6e2725322e6132e9ff99b9a2a3f3b10c83/patch.diff +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/71091562db5b0e7853d08ffa2f110af49cc3bc0d/cache/src/hexen/info.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/71091562db5b0e7853d08ffa2f110af49cc3bc0d/cache/src/hexen/p_enemy.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/71091562db5b0e7853d08ffa2f110af49cc3bc0d/cache/src/hexen/p_local.h +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/71091562db5b0e7853d08ffa2f110af49cc3bc0d/expected-result_0.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/71091562db5b0e7853d08ffa2f110af49cc3bc0d/expected-result_1.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/71091562db5b0e7853d08ffa2f110af49cc3bc0d/expected-result_2.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/chocolate-doom/chocolate-doom/71091562db5b0e7853d08ffa2f110af49cc3bc0d/patch.diff +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/cpp-linter/cpp-linter/950ff0b690e1903797c303c5fc8d9f3b52f1d3c5/cache/tests/demo/demo.cpp +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/cpp-linter/cpp-linter/950ff0b690e1903797c303c5fc8d9f3b52f1d3c5/cache/tests/demo/demo.hpp +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/cpp-linter/cpp-linter/950ff0b690e1903797c303c5fc8d9f3b52f1d3c5/patch.diff +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/cpp-linter/cpp-linter/test_git_lib.patch +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/libvips/libvips/.clang-format +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/libvips/libvips/.clang-tidy +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/libvips/libvips/fe82be345a5b654a76835a7aea5a804bd9ebff0a/expected-result_0.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/libvips/libvips/fe82be345a5b654a76835a7aea5a804bd9ebff0a/expected-result_1.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/libvips/libvips/fe82be345a5b654a76835a7aea5a804bd9ebff0a/expected-result_2.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/libvips/libvips/fe82be345a5b654a76835a7aea5a804bd9ebff0a/patch.diff +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/shenxianpeng/test-repo/.clang-format +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/shenxianpeng/test-repo/.clang-tidy +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/shenxianpeng/test-repo/662ad4cf90084063ea9c089b8de4aff0b8959d0e/cache/p_enemy.c +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/shenxianpeng/test-repo/662ad4cf90084063ea9c089b8de4aff0b8959d0e/expected-result_0.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/shenxianpeng/test-repo/662ad4cf90084063ea9c089b8de4aff0b8959d0e/expected-result_1.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/shenxianpeng/test-repo/662ad4cf90084063ea9c089b8de4aff0b8959d0e/expected-result_2.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/shenxianpeng/test-repo/662ad4cf90084063ea9c089b8de4aff0b8959d0e/patch.diff +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/test_database_path.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/comments/pr_22.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/comments/pr_comments_pg1.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/comments/pr_comments_pg2.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/comments/push_8d68756375e0483c7ac2b4d6bbbece420dbbb495.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/comments/push_comments_8d68756375e0483c7ac2b4d6bbbece420dbbb495.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/comments/test_comments.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/demo/.clang-format +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/demo/compile_flags.txt +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/demo/demo.cpp +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/demo/demo.hpp +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/ignored_paths/.gitmodules +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/ignored_paths/test_ignored_paths.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/list_changes/patch.diff +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/list_changes/pull_request_files_pg1.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/list_changes/pull_request_files_pg2.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/list_changes/push_files_pg1.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/list_changes/push_files_pg2.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/list_changes/test_get_file_changes.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/reviews/.clang-format +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/reviews/.clang-tidy +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/reviews/pr_27.diff +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/reviews/pr_27.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/reviews/pr_review_comments.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/reviews/pr_reviews.json +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/reviews/test_pr_review.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/test_cli_args.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/test_comment_length.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/test_git_str.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/test_misc.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/test_rate_limits.py +0 -0
- {cpp_linter-1.11.0 → cpp_linter-1.11.2}/uv.lock +0 -0
|
@@ -60,7 +60,7 @@ jobs:
|
|
|
60
60
|
# sudo cmake --install build
|
|
61
61
|
|
|
62
62
|
- name: Install uv
|
|
63
|
-
uses: astral-sh/setup-uv@
|
|
63
|
+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
|
|
64
64
|
with:
|
|
65
65
|
enable-cache: true
|
|
66
66
|
cache-dependency-glob: "uv.lock"
|
|
@@ -138,7 +138,7 @@ jobs:
|
|
|
138
138
|
python-version: '3.x'
|
|
139
139
|
|
|
140
140
|
- name: Install uv
|
|
141
|
-
uses: astral-sh/setup-uv@
|
|
141
|
+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
|
|
142
142
|
with:
|
|
143
143
|
enable-cache: true
|
|
144
144
|
cache-dependency-glob: "uv.lock"
|
|
@@ -152,7 +152,7 @@ jobs:
|
|
|
152
152
|
name: coverage-report
|
|
153
153
|
path: htmlcov/
|
|
154
154
|
|
|
155
|
-
- uses: codecov/codecov-action@
|
|
155
|
+
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
|
|
156
156
|
env:
|
|
157
157
|
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
|
|
158
158
|
with:
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '1.11.
|
|
32
|
-
__version_tuple__ = version_tuple = (1, 11,
|
|
31
|
+
__version__ = version = '1.11.2'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 11, 2)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'g4d2df0510'
|
|
@@ -10,7 +10,9 @@ from ..loggers import logger
|
|
|
10
10
|
from ..common_fs import FileObj
|
|
11
11
|
from .patcher import PatchMixin, ReviewComments, Suggestion
|
|
12
12
|
|
|
13
|
-
NOTE_HEADER = re.compile(
|
|
13
|
+
NOTE_HEADER = re.compile(
|
|
14
|
+
r"^(.+):(\d+):(\d+):\s(\w+):(.*)\[([a-zA-Z\d\-\.]+),?[^\]]*\]$"
|
|
15
|
+
)
|
|
14
16
|
FIXED_NOTE = re.compile(r"^.+:(\d+):\d+:\snote: FIX-IT applied suggested code changes$")
|
|
15
17
|
|
|
16
18
|
|
|
@@ -166,7 +166,7 @@ class FileFilter:
|
|
|
166
166
|
:returns: A list of `FileObj` objects without diff information.
|
|
167
167
|
"""
|
|
168
168
|
|
|
169
|
-
files =
|
|
169
|
+
files = set()
|
|
170
170
|
for ext in self.extensions:
|
|
171
171
|
for rel_path in Path(".").rglob(f"*.{ext}"):
|
|
172
172
|
for parent in rel_path.parts[:-1]:
|
|
@@ -176,8 +176,8 @@ class FileFilter:
|
|
|
176
176
|
file_path = rel_path.as_posix()
|
|
177
177
|
logger.debug('"./%s" is a source code file', file_path)
|
|
178
178
|
if self.is_source_or_ignored(rel_path.as_posix()):
|
|
179
|
-
files.
|
|
180
|
-
return files
|
|
179
|
+
files.add(file_path)
|
|
180
|
+
return [FileObj(f) for f in files]
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
class TidyFileFilter(FileFilter):
|
|
@@ -455,7 +455,7 @@ def test_parse_diff(
|
|
|
455
455
|
encoding="utf-8"
|
|
456
456
|
)
|
|
457
457
|
diff = diff.parse_diff(patch_to_stage)
|
|
458
|
-
repo.apply(diff, pygit2.GIT_APPLY_LOCATION_BOTH)
|
|
458
|
+
repo.apply(diff, pygit2.GIT_APPLY_LOCATION_BOTH) # type: ignore[arg-type]
|
|
459
459
|
repo.index.add_all(["tests/demo/demo.*"])
|
|
460
460
|
repo.index.write()
|
|
461
461
|
del repo
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.clang_tools.clang_format.rst
RENAMED
|
File without changes
|
{cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.clang_tools.clang_tidy.rst
RENAMED
|
File without changes
|
{cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.clang_tools.patcher.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.common_fs.file_filter.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cpp_linter-1.11.0 → cpp_linter-1.11.2}/docs/API-Reference/cpp_linter.rest_api.github_api.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/libvips/libvips/.clang-format
RENAMED
|
File without changes
|
{cpp_linter-1.11.0 → cpp_linter-1.11.2}/tests/capture_tools_output/libvips/libvips/.clang-tidy
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|