Skip to content

Commit 2131a6c

Browse files
authored
update test as py-pkg; add .gitattributes config (#41)
1 parent 7b00c67 commit 2131a6c

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.py text eol=lf
7+
*.rst text eol=lf
8+
*.sh text eol=lf
9+
*.cpp text eol=lf
10+
*.hpp text eol=lf

.github/workflows/cpp-lint-package.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,16 @@ jobs:
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
run: >
59-
cpp-linter
60-
-s=file
61-
-v=9
62-
-i=build
63-
-p=build
64-
-V=${{ runner.temp }}/llvm
65-
-f=false
66-
--extra-arg="-std=c++14 -Wall"
67-
--thread-comments=${{ matrix.clang-version == '12' }}
68-
-a=${{ matrix.clang-version == '12' }}
59+
cpp-linter
60+
-s=file
61+
-v=debug
62+
-i=build
63+
-p=build
64+
-V=${{ runner.temp }}/llvm
65+
-f=false
66+
--extra-arg="-std=c++14 -Wall"
67+
--thread-comments=${{ matrix.clang-version == '17' && 'update' }}
68+
-a=${{ matrix.clang-version == '17' }}
6969
7070
- name: Fail fast?!
7171
if: steps.linter.outputs.checks-failed > 0

0 commit comments

Comments
 (0)