================
@@ -1,12 +1,13 @@
 import os
 
-from clang.cindex import Config, File, Index
+from clang.cindex import Config, File, Index, TranslationUnit
 
 if "CLANG_LIBRARY_PATH" in os.environ:
     Config.set_library_path(os.environ["CLANG_LIBRARY_PATH"])
 
 import unittest
 
+kInputsDir = os.path.join(os.path.dirname(__file__), "INPUTS")
----------------
Endilll wrote:

[PEP 8][https://peps.python.org/pep-0008/#global-variable-names], which we 
[follow](https://llvm.org/docs/CodingStandards.html#python-version-and-source-code-formatting),
 says that global variable names should be named in the same way as functions, 
which are `snake_case` in this file.

https://github.com/llvm/llvm-project/pull/130383
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to