From 84441eeee3731eb99410bfb9a1721c56a8ee1205 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Mon, 7 Jun 2021 19:16:14 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B8=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.py => .cmake-format.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) rename config.py => .cmake-format.py (95%) diff --git a/config.py b/.cmake-format.py similarity index 95% rename from config.py rename to .cmake-format.py index 347f224..87589ae 100644 --- a/config.py +++ b/.cmake-format.py @@ -7,15 +7,21 @@ with section("parse"): # Specify structure for custom cmake functions additional_commands = { + 'add_doxygen': { 'flags' : [], + 'kwargs': { 'LATEX': 1, + 'HTML': 1, + 'COMMENT': 1}}, + 'add_breathe': { 'flags' : [], + 'kwargs': { 'COMMENT': 1}}, 'add_common_library': { 'flags' : [], 'kwargs': { 'OUTPUT_NAME': 1, 'SOURCES': '*', 'TARGET': 1}}, 'qt5_translation': { 'flags' : [], - 'kwargs': { 'TS_DIR': 1, + 'kwargs': { 'OUTPUT_DIR': 1, 'LANGUAGES': '*', 'SOURCES': '*', - 'TARGET': 1}}, + 'BASE_NAME': 1}}, 'pvs_studio_add_target': { 'flags' : [ 'COMPILE_COMMANDS', 'OUTPUT', 'HIDE_HELP'], @@ -169,7 +175,7 @@ with section("markup"): with section("lint"): # a list of lint codes to disable - disabled_codes = [] + disabled_codes = ['C0113'] # regular expression pattern describing valid function names function_pattern = '[0-9a-z_]+'