Skip to content

Commit 09d79fb

Browse files
authored
Allow tabs under the patches/ folder. (#2359)
This fixes failures reported here: #2338 (comment) ``` No-tabs checker..........................................................Failed - hook id: forbid-tabs - exit code: 1 Tabs detected in file: patches/amd-mainline/rocm-systems/0002-Revert-hsakmt-bump-vgpr-count-for-gfx1151-1807.patch Error: Process completed with exit code 1. ``` We won't need #2351 once this is merged. Tested that the hook still runs for other directories: ``` Trim Trailing Whitespace.................................................Passed Fix End of Files.........................................................Failed - hook id: end-of-file-fixer - exit code: 1 - files were modified by this hook Fixing core/0002-Revert-hsakmt-bump-vgpr-count-for-gfx1151-1807.patch Check Yaml...........................................(no files to check)Skipped Check for merge conflicts................................................Passed Check for added large files..............................................Passed Mixed line ending........................................................Passed black................................................(no files to check)Skipped clang-format.........................................(no files to check)Skipped mdformat.............................................(no files to check)Skipped No-tabs checker..........................................................Failed - hook id: forbid-tabs - exit code: 1 Tabs detected in file: core/0002-Revert-hsakmt-bump-vgpr-count-for-gfx1151-1807.patch ```
1 parent 8c4bc1c commit 09d79fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ repos:
4141
rev: v1.5.5
4242
hooks:
4343
- id: forbid-tabs
44-
exclude: ".gitmodules|docs/development/git_chores.md|build_tools/packaging/linux/template/debian_rules.j2"
44+
exclude: ".gitmodules|patches/.*|docs/development/git_chores.md|build_tools/packaging/linux/template/debian_rules.j2"

0 commit comments

Comments
 (0)