Skip to content

Commit

Permalink
app_python3: add clang-format directives to skip format on kemi_exports
Browse files Browse the repository at this point in the history
format is important for generating docs by our python tool

(cherry picked from commit 731056f)
  • Loading branch information
linuxmaniac authored and miconda committed Jan 8, 2020
1 parent 9d00826 commit 331de11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/app_python3/apy_kemi.c
Expand Up @@ -1846,6 +1846,7 @@ static int sr_apy_kemi_f_ktest(sip_msg_t *msg, str *txt)
/**
*
*/
/* clang-format off */
static sr_kemi_t _sr_apy_kemi_test[] = {
{ str_init(""), str_init("ktest"),
SR_KEMIP_NONE, sr_apy_kemi_f_ktest,
Expand All @@ -1855,7 +1856,7 @@ static sr_kemi_t _sr_apy_kemi_test[] = {

{ {0, 0}, {0, 0}, 0, NULL, { 0, 0, 0, 0, 0, 0 } }
};

/* clang-format on */

static struct PyModuleDef KSR_moduledef = {
PyModuleDef_HEAD_INIT,
Expand Down

0 comments on commit 331de11

Please sign in to comment.