No TODO comments found in samples/book-app-project/**/*.py
Files checked:
- books.py
- book_app.py
- utils.py
- tests/test_books.py
No TODO comments found in samples/book-app-project/**/*.py
Files checked:
Class EmailIdpPConfigFromPasswords is just convenient subclass of EmailIdp which set secretHashPepper(a global secret shared across the entire application).
Class EmailIdp is a subclass of IdentityProviderBuilder<EmailIdp>, just as its name implies, it builds IdentityProvider.
class EmailIdpConfig {The official documentation of uv doesn't explain how to setup vscode for using build backend scikit-build-core. So, you will find code intellisense or lsp server failed to work in cpp files and CMakelists.txt, as shown in the following images:
Here we use clangd as lsp server.
| #include <bitset> | |
| #include <cmath> | |
| #include <iostream> | |
| #include <sys/types.h> | |
| std::bitset<32> get_bits(float x) { | |
| int *y = reinterpret_cast<int *>(&x); | |
| std::bitset<32> bs(*y); | |
| return bs; | |
| } |
| #include <algorithm> | |
| #include <cmath> | |
| #include <format> | |
| #include <iostream> | |
| #include <utility> | |
| #include <vector> | |
| std::pair<std::vector<bool>, std::vector<bool>> | |
| binary_expr(double positive_num, size_t fractional_bits = 32) { | |
| std::vector<bool> integer_part_bits; |
| include_directories(${CMAKE_CURRENT_BINARY_DIR}) | |
| find_package(BISON) | |
| find_package(FLEX) | |
| BISON_TARGET(MyParser parser.yy ${CMAKE_CURRENT_BINARY_DIR}/parser.cpp | |
| DEFINES_FILE ${CMAKE_CURRENT_BINARY_DIR}/parser.h) | |
| FLEX_TARGET(MyScanner scanner.ll ${CMAKE_CURRENT_BINARY_DIR}/scanner.cpp | |
| DEFINES_FILES ${CMAKE_CURRENT_BINARY_DIR}/scanner.h) | |
| add_executable(foo foo.cpp ${BISON_MyParser_OUTPUTS} ${FLEX_MyScanner_OUTPUTS}) |
| { | |
| "version": 8, | |
| "$schema": "https://cmake.org/cmake/help/latest/_downloads/3e2d73bff478d88a7de0de736ba5e361/schema.json", | |
| "configurePresets": [ | |
| { | |
| "name": "debug", | |
| "displayName": "Debug", | |
| "hidden": false, | |
| "description": "Default configuration", | |
| "generator": "Ninja", |
| #ifndef E92B818E_7A62_4864_B016_C59C0D879D59 | |
| #define E92B818E_7A62_4864_B016_C59C0D879D59 | |
| #include <stdarg.h> | |
| #include <stdio.h> | |
| #ifdef DEBUG_TOKEN | |
| #define debug_token(token) \ | |
| do \ | |
| { \ |