Skip to content

Commit 7f0bbed

Browse files
Bug Fix: Pylint source root in pre-commit-config (#87)
* Fixed a bug with multiple working directory for pylint. * Removed program_mapper as there is not python code in that directory
1 parent 10225b1 commit 7f0bbed

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 Intel Corporation
1+
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

44
default_language_version:
@@ -61,9 +61,7 @@ repos:
6161
args:
6262
- -rn # Only display messages
6363
- -sn # Don't display the score
64-
- --source-roots=p-isa_tools/kerngen # Working directory
65-
- --source-roots=p-isa_tools/program_mapper # Added directory
66-
- --source-roots=assembler_tools/hec-assembler-tools # Added directory
64+
- --source-roots=p-isa_tools/kerngen,assembler_tools/hec-assembler-tools
6765
- id: clang-format-14
6866
name: clang-format-14
6967
entry: clang-format-14

0 commit comments

Comments
 (0)