Skip to content

Commit

Permalink
Convert CRLF to LF & Remove x mode of no-executables
Browse files Browse the repository at this point in the history
1. Convert line endings using "git ls-tree -r HEAD --name-only | xargs dos2unix"
2. Remove x mode using "git ls-files --stage | grep -E '^100755' | cut -f 2 | grep -vE '\.py$|\.sh$' | xargs chmod -x"
  • Loading branch information
leeebo committed Dec 5, 2023
1 parent c7c64b1 commit 4ba6b70
Show file tree
Hide file tree
Showing 200 changed files with 18,028 additions and 17,998 deletions.
3 changes: 2 additions & 1 deletion .gitlab/ci/pre_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ check_copyright:
before_script:
- pip install git+https://github.com/espressif/[email protected]
script:
- python -m check_copyright --verbose --dry-run --ignore tools/ci/ignore_list_copyright.txt --config tools/ci/check_copyright_config.yaml .
- python -m check_copyright --verbose --dry-run --ignore tools/ci/ignore_list_copyright --config tools/ci/check_copyright_config.yaml .

check_example_paths:
extends:
Expand Down Expand Up @@ -42,6 +42,7 @@ check_pre_commit:
# print the MODIFIED_FILES
echo "MODIFIED_FILES: $MODIFIED_FILES"
- pre-commit install --allow-missing-config -t pre-commit -t commit-msg
- export SKIP=check-copyright # copyrights has been checked in separate job
- pre-commit run --files $MODIFIED_FILES

check_readme_links:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
rev: v1.0.3
hooks:
- id: check-copyright
args: ['--config', 'tools/ci/check_copyright_config.yaml', '--ignore', 'tools/ci/ignore_list_copyright.txt']
args: ['--config', 'tools/ci/check_copyright_config.yaml', '--ignore', 'tools/ci/ignore_list_copyright']
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
Expand Down
6 changes: 3 additions & 3 deletions components/audio/dac_audio/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRCS "dac_audio.c"
INCLUDE_DIRS "include"
REQUIRES driver)
idf_component_register(SRCS "dac_audio.c"
INCLUDE_DIRS "include"
REQUIRES driver)
Loading

0 comments on commit 4ba6b70

Please sign in to comment.