# Reviewing policies The following policies are preferred during the review, but not mandatory: ## Contents * [Trailing white-spaces](#trailing-white-spaces) * [Quotes](#quotes) * [Order of methods and attributes](#order-of-methods-and-attributes) ## Trailing white-spaces Avoid trailing white-space characters, if possible ## Quotes If possible, try to avoid mixing single quotes (`'`) and double quotes (`"`) in python code (`conanfile.py`, `test_package/conanfile.py`). Consistency is preferred. ## Order of methods and attributes Prefer the following order of documented methods in python code (`conanfile.py`, `test_package/conanfile.py`): - init - set_name - set_version - export - export_sources - config_options - configure - requirements - package_id - build_id - build_requirements - system_requirements - source - imports - build - package - package_info - deploy - test the order above resembles the execution order of methods on CI. therefore, for instance, `build` is always executed before `package` method, so `build` should appear before the `package` in `conanfile.py`. ## Test Package ### Minimalistic Source Code The contents of `test_package.c` or `test_package.cpp` should be as minimal as possible, including a few headers at most with simple instatiation of objects to ensure linkage and dependencies are correct. ### Verifying Components When components are defined in the `package_info` in `conanfile.py` the following conditions are desired - use the `cmake_find_package` or `cmake_find_package_multi` generators in `test_package/conanfile.py` - corresponding call to `find_package()` with the components _explicitly_ used in `target_link_libraries`