Skip to content

Commit

Permalink
Update from 33
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Sep 2, 2022
1 parent e42d06a commit 8e62cdc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
3 changes: 2 additions & 1 deletion materials/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ RUN apk --no-cache --upgrade add \
valgrind \
cppcheck \
alpine-sdk \
pcre-dev
pcre-dev \
clang

RUN mkdir /test

Expand Down
2 changes: 0 additions & 2 deletions materials/build/scripts/.clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
---
BasedOnStyle: Google
IndentWidth: 4
ColumnLimit: 110
4 changes: 2 additions & 2 deletions materials/build/scripts/style_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ def get_source_filenames():
files_grep = os.listdir(PATH_TO_PROJECT + '/src/grep')
arr_of_files = []
for file in files_cat:
if file.find('.') != -1 and file[file.find('.') + 1] == 'c':
if file.find('.') != -1 and file[(file.find('.') + 1):] == 'c':
arr_of_files.append('cat/' + file)
for file in files_grep:
if file.find('.') != -1 and file[file.find('.') + 1] == 'c':
if file.find('.') != -1 and file[(file.find('.') + 1):] == 'c':
arr_of_files.append('grep/' + file)

return arr_of_files
Expand Down
6 changes: 2 additions & 4 deletions materials/linters/.clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
---
BasedOnStyle: Google
IndentWidth: 4
ColumnLimit: 110
---
BasedOnStyle: Google

0 comments on commit 8e62cdc

Please sign in to comment.