github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash darker --check --diff -r HEAD~1...HEAD libcxx/test/libcxx/feature_test_macro/is_implemented.sh.py libcxx/test/libcxx/feature_test_macro/implemented_ftms.sh.py libcxx/utils/generate_feature_test_macro_components.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- utils/generate_feature_test_macro_components.py 2025-04-06 13:10:49.000000 +0000 +++ utils/generate_feature_test_macro_components.py 2025-04-06 13:37:58.083082 +0000 @@ -2215,15 +2215,17 @@ # When a paper for C++20 has not been implemented in libc++, then there will be no # FTM entry in implemented_ftms for C++23 and later. # # Typically standard_ftms is not used with invalid values in the code, but # guard just in case. - if not std in self.implemented_ftms[ftm].keys() or not std in self.standard_ftms[ftm].keys(): + if ( + not std in self.implemented_ftms[ftm].keys() + or not std in self.standard_ftms[ftm].keys() + ): return False return self.implemented_ftms[ftm][std] == self.standard_ftms[ftm][std] - @functools.cached_property def ftm_metadata(self) -> Dict[Ftm, Metadata]: """Returns the metadata of the FTMs defined in the Standard. `````````` </details> https://github.com/llvm/llvm-project/pull/134538 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits