Skip to content

Commit

Permalink
pre-commit: Add more trailing spaces and empty line at end of file ch…
Browse files Browse the repository at this point in the history
…ecks
  • Loading branch information
mrdeep1 committed May 15, 2024
1 parent 622050a commit 15bf66c
Show file tree
Hide file tree
Showing 19 changed files with 9 additions and 22 deletions.
4 changes: 1 addition & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/igrr/astyle_py.git
rev: v1.0.4
rev: v1.0.5
hooks:
- id: astyle_py
files: '^.*\.(c|cpp|cxx|h|h.in|h.riot|h.riot.in|h.windows|h.windows.in|h.contiki|hpp|inc)$'
Expand All @@ -27,7 +27,5 @@ repos:
rev: v4.3.0
hooks:
- id: trailing-whitespace
types_or: [c, c++]
- id: end-of-file-fixer
types_or: [c, c++]
- id: check-merge-conflict
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Jean-Claude Michelou
Christian Ams�ss

For additional contributors, see
https://github.com/obgm/libcoap/graphs/contributors
https://github.com/obgm/libcoap/graphs/contributors
1 change: 0 additions & 1 deletion CONTRIBUTE
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,3 @@ programming person available. Do you want to write up something?
* Missing functionality
There are some features that are still missing inside the libcoap. For
example some DTLS implementations and proxy functionality.

1 change: 0 additions & 1 deletion HOWTO.dual.gnutls
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --libdir=/usr/lib64 \
make
sudo make install
cd ..

1 change: 0 additions & 1 deletion HOWTO.dual.openssl
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ PKG_CONFIG_PATH=/opt/openssl/lib/pkgconfig ./configure --libdir=/usr/lib64 \
make
sudo make install
cd ..

1 change: 0 additions & 1 deletion HOWTO.dual.softhsm2
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,3 @@ cd ..
# Verify that pkcs11 is available

/opt/openssl/bin/openssl engine pkcs11 -t

1 change: 0 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -379,4 +379,3 @@ dist-local: update-map-file
## Finaly some phony targets, just to ensure those targets are always buildable
## no matter if the user has created same called files.
.PHONY: update-map-file check_ctags

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,3 @@ include open-source software with their respective licensing terms.
Please refer to
[LICENSE](https://raw.githubusercontent.com/obgm/libcoap/develop/LICENSE)
for further details.

1 change: 0 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ Classification of issues:
* MINOR ISSUES
==============
-> Adding a logo for libcoap

2 changes: 1 addition & 1 deletion cmake/FindwolfSSL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ endif()

message(STATUS "WOLFSSL_INCLUDE_DIR: ${WOLFSSL_INCLUDE_DIR}")
message(STATUS "WOLFSSL_LIBRARIES: ${WOLFSSL_LIBRARIES}")
message(STATUS "WOLFSSL_ROOT_DIR: ${WOLFSSL_ROOT_DIR}")
message(STATUS "WOLFSSL_ROOT_DIR: ${WOLFSSL_ROOT_DIR}")
1 change: 0 additions & 1 deletion examples/README.etsi_iot
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ Optional Tests
[-] TD_COAP_OBS_03 Client detection of deregistration (Max-Age)
[-] TD_COAP_OBS_04 Server detection of deregistration (client OFF)
[-] TD_COAP_OBS_05 Server detection of deregistration (explicit RST)

2 changes: 1 addition & 1 deletion examples/riot/README
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This will
* update the RIOT environment with pkg/libcoap, examples/libcoap-client
and examples/libcoap-server taken from pkg_libcoap/, examples_client/
and examples_server respectively/.
(updates RIOT's libcoap code to the latest commited version in your
(updates RIOT's libcoap code to the latest commited version in your
environment).
* build the client application
* build the server application
Expand Down
2 changes: 0 additions & 2 deletions examples/share.libcoap.examples.README
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ The provided code is the same as used to build the installed binaries
coap-client and coap-server.

Simply 'cd' into this directory and then run 'make' to build the executables.


2 changes: 1 addition & 1 deletion man/coap-tls-engine-conf.txt.in
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The possible keywords are:
usually is enforced by the ENGINE.

*enable-methods* ::

_parameter_1_ is the numeric value of the or'd set of required ENGINE_METHOD_*
or ENGINE_METHOD_ALL. _parameter_1_ can be an ascii representation of a number
or formated as 0xXXXX. _parameter_2_ is ignored.
Expand Down
1 change: 0 additions & 1 deletion tests/test_common.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@
#define COAP_THREAD_IGNORE_LOCKED_MAPPING

#include "coap@LIBCOAP_API_VERSION@/coap_internal.h"

2 changes: 1 addition & 1 deletion win32/coap-rd/coap-rd.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion win32/coap-server/coap-server.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion win32/install/install.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion win32/testdriver/testdriver.vcxproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
<LocalDebuggerWorkingDirectory>$(OutDir)</LocalDebuggerWorkingDirectory>
<LocalDebuggerEnvironment>PATH=$(InstallDir)bin</LocalDebuggerEnvironment>
</PropertyGroup>
</Project>
</Project>

0 comments on commit 15bf66c

Please sign in to comment.