SYMBOL INDEX (2014 symbols across 239 files) FILE: platformio/__main__.py function cli (line 34) | def cli(ctx, force, caller, no_ansi): # pylint: disable=unused-argument function process_result (line 61) | def process_result(*_, **__): function configure (line 65) | def configure(): function main (line 93) | def main(argv=None): function debug_gdb_main (line 139) | def debug_gdb_main(): FILE: platformio/account/cli.py function cli (line 43) | def cli(): FILE: platformio/account/client.py class AccountError (line 23) | class AccountError(PlatformioException): class AccountNotAuthorized (line 27) | class AccountNotAuthorized(AccountError, UserSideException): class AccountAlreadyAuthorized (line 31) | class AccountAlreadyAuthorized(AccountError, UserSideException): class AccountClient (line 35) | class AccountClient(HTTPClient): # pylint:disable=too-many-public-methods method __init__ (line 38) | def __init__(self): method get_refresh_token (line 42) | def get_refresh_token(): method delete_local_session (line 49) | def delete_local_session(): method delete_local_state (line 53) | def delete_local_state(key): method fetch_json_data (line 60) | def fetch_json_data(self, *args, **kwargs): method fetch_authentication_token (line 66) | def fetch_authentication_token(self): method login (line 88) | def login(self, username, password): method login_with_code (line 106) | def login_with_code(self, client_id, code, redirect_uri): method logout (line 124) | def logout(self): method change_password (line 137) | def change_password(self, old_password, new_password): method registration (line 145) | def registration( method auth_token (line 169) | def auth_token(self, password, regenerate): method forgot_password (line 177) | def forgot_password(self, username): method get_profile (line 184) | def get_profile(self): method update_profile (line 191) | def update_profile(self, profile, current_password): method get_account_info (line 202) | def get_account_info(self, offline=False): method get_logged_username (line 231) | def get_logged_username(self): method destroy_account (line 234) | def destroy_account(self): method create_org (line 241) | def create_org(self, orgname, email, displayname): method get_org (line 249) | def get_org(self, orgname): method list_orgs (line 256) | def list_orgs(self): method update_org (line 263) | def update_org(self, orgname, data): method destroy_org (line 271) | def destroy_org(self, orgname): method add_org_owner (line 278) | def add_org_owner(self, orgname, username): method list_org_owners (line 286) | def list_org_owners(self, orgname): method remove_org_owner (line 293) | def remove_org_owner(self, orgname, username): method create_team (line 301) | def create_team(self, orgname, teamname, description): method destroy_team (line 309) | def destroy_team(self, orgname, teamname): method get_team (line 316) | def get_team(self, orgname, teamname): method list_teams (line 323) | def list_teams(self, orgname): method update_team (line 330) | def update_team(self, orgname, teamname, data): method add_team_member (line 338) | def add_team_member(self, orgname, teamname, username): method remove_team_member (line 346) | def remove_team_member(self, orgname, teamname, username): FILE: platformio/account/commands/destroy.py function account_destroy_cmd (line 21) | def account_destroy_cmd(): FILE: platformio/account/commands/forgot.py function account_forgot_cmd (line 22) | def account_forgot_cmd(username): FILE: platformio/account/commands/login.py function account_login_cmd (line 23) | def account_login_cmd(username, password): FILE: platformio/account/commands/logout.py function account_logout_cmd (line 21) | def account_logout_cmd(): FILE: platformio/account/commands/password.py function account_password_cmd (line 23) | def account_password_cmd(old_password, new_password): FILE: platformio/account/commands/register.py function account_register_cmd (line 45) | def account_register_cmd(username, email, password, firstname, lastname): FILE: platformio/account/commands/show.py function account_show_cmd (line 27) | def account_show_cmd(offline, json_output): function print_profile (line 43) | def print_profile(profile): function print_packages (line 58) | def print_packages(packages): function print_subscriptions (line 89) | def print_subscriptions(subscriptions): FILE: platformio/account/commands/token.py function account_token_cmd (line 26) | def account_token_cmd(password, regenerate, json_output): FILE: platformio/account/commands/update.py function account_update_cmd (line 27) | def account_update_cmd(current_password, **kwargs): FILE: platformio/account/org/cli.py function cli (line 37) | def cli(): FILE: platformio/account/org/commands/add.py function org_add_cmd (line 27) | def org_add_cmd(orgname, username): FILE: platformio/account/org/commands/create.py function org_create_cmd (line 32) | def org_create_cmd(orgname, email, displayname): FILE: platformio/account/org/commands/destroy.py function org_destroy_cmd (line 22) | def org_destroy_cmd(orgname): FILE: platformio/account/org/commands/list.py function org_list_cmd (line 25) | def org_list_cmd(json_output): FILE: platformio/account/org/commands/remove.py function org_remove_cmd (line 27) | def org_remove_cmd(orgname, username): FILE: platformio/account/org/commands/update.py function org_update_cmd (line 33) | def org_update_cmd(cur_orgname, **kwargs): FILE: platformio/account/team/cli.py function cli (line 37) | def cli(): FILE: platformio/account/team/commands/add.py function team_add_cmd (line 30) | def team_add_cmd(orgname_teamname, username): FILE: platformio/account/team/commands/create.py function team_create_cmd (line 30) | def team_create_cmd(orgname_teamname, description): FILE: platformio/account/team/commands/destroy.py function team_destroy_cmd (line 27) | def team_destroy_cmd(orgname_teamname): FILE: platformio/account/team/commands/list.py function team_list_cmd (line 26) | def team_list_cmd(orgname, json_output): FILE: platformio/account/team/commands/remove.py function team_remove_cmd (line 28) | def team_remove_cmd(orgname_teamname, username): FILE: platformio/account/team/commands/update.py function team_update_cmd (line 35) | def team_update_cmd(orgname_teamname, **kwargs): FILE: platformio/account/validate.py function validate_username (line 20) | def validate_username(value, field="username"): function validate_orgname (line 35) | def validate_orgname(value): function validate_email (line 39) | def validate_email(value): function validate_password (line 48) | def validate_password(value): function validate_teamname (line 59) | def validate_teamname(value): function validate_orgname_teamname (line 74) | def validate_orgname_teamname(value): FILE: platformio/app.py function projects_dir_validate (line 31) | def projects_dir_validate(projects_dir): function resolve_state_path (line 76) | def resolve_state_path(conf_option_dir, file_name, ensure_dir_exists=True): class State (line 83) | class State: method __init__ (line 84) | def __init__(self, path=None, lock=False): method __enter__ (line 93) | def __enter__(self): method __exit__ (line 108) | def __exit__(self, type_, value, traceback): method _lock_state_file (line 119) | def _lock_state_file(self): method _unlock_state_file (line 128) | def _unlock_state_file(self): method __del__ (line 132) | def __del__(self): method as_dict (line 137) | def as_dict(self): method keys (line 140) | def keys(self): method get (line 143) | def get(self, key, default=True): method update (line 146) | def update(self, *args, **kwargs): method clear (line 150) | def clear(self): method __getitem__ (line 153) | def __getitem__(self, key): method __setitem__ (line 156) | def __setitem__(self, key, value): method __delitem__ (line 160) | def __delitem__(self, key): method __contains__ (line 164) | def __contains__(self, item): function sanitize_setting (line 168) | def sanitize_setting(name, value): function get_state_item (line 186) | def get_state_item(name, default=None): function set_state_item (line 191) | def set_state_item(name, value): function delete_state_item (line 197) | def delete_state_item(name): function get_setting (line 203) | def get_setting(name): function set_setting (line 215) | def set_setting(name, value): function reset_settings (line 223) | def reset_settings(): function get_session_var (line 229) | def get_session_var(name, default=None): function set_session_var (line 233) | def set_session_var(name, value): function is_disabled_progressbar (line 238) | def is_disabled_progressbar(): function get_cid (line 242) | def get_cid(): function get_project_id (line 261) | def get_project_id(project_dir): function get_user_agent (line 265) | def get_user_agent(): function get_host_id (line 282) | def get_host_id(): function get_host_name (line 292) | def get_host_name(): FILE: platformio/builder/tools/piobuild.py function scons_patched_match_splitext (line 39) | def scons_patched_match_splitext(path, suffixes=None): function GetBuildType (line 47) | def GetBuildType(env): function BuildProgram (line 60) | def BuildProgram(env): function ProcessProgramDeps (line 94) | def ProcessProgramDeps(env): function ProcessCompileDbToolchainOption (line 131) | def ProcessCompileDbToolchainOption(env): function ProcessProjectDeps (line 152) | def ProcessProjectDeps(env): function ParseFlagsExtended (line 191) | def ParseFlagsExtended(env, flags): # pylint: disable=too-many-branches function ProcessFlags (line 236) | def ProcessFlags(env, flags): # pylint: disable=too-many-branches function ProcessUnFlags (line 256) | def ProcessUnFlags(env, flags): function StringifyMacro (line 275) | def StringifyMacro(env, value): # pylint: disable=unused-argument function MatchSourceFiles (line 279) | def MatchSourceFiles(env, src_dir, src_filter=None, src_exts=None): function CollectBuildFiles (line 286) | def CollectBuildFiles( function AddBuildMiddleware (line 329) | def AddBuildMiddleware(env, callback, pattern=None): function BuildFrameworks (line 333) | def BuildFrameworks(env, frameworks): function BuildLibrary (line 359) | def BuildLibrary(env, variant_dir, src_dir, src_filter=None, nodes=None): function BuildSources (line 365) | def BuildSources(env, variant_dir, src_dir, src_filter=None): function exists (line 382) | def exists(_): function generate (line 386) | def generate(env): FILE: platformio/builder/tools/piohooks.py function AddActionWrapper (line 16) | def AddActionWrapper(handler): function ProcessDelayedActions (line 37) | def ProcessDelayedActions(env): function generate (line 42) | def generate(env): function exists (line 49) | def exists(_): FILE: platformio/builder/tools/pioino.py class InoToCPPConverter (line 27) | class InoToCPPConverter: method __init__ (line 41) | def __init__(self, env): method read_safe_contents (line 46) | def read_safe_contents(self, path): method write_safe_contents (line 72) | def write_safe_contents(self, path, contents): method is_main_node (line 78) | def is_main_node(self, contents): method convert (line 81) | def convert(self, nodes): method merge (line 87) | def merge(self, nodes): method process (line 104) | def process(self, contents): method _gcc_preprocess (line 112) | def _gcc_preprocess(self, contents, out_file): method _join_multiline_strings (line 126) | def _join_multiline_strings(self, contents): method _parse_preproc_line_num (line 160) | def _parse_preproc_line_num(line): method _parse_prototypes (line 168) | def _parse_prototypes(self, contents): method _get_total_lines (line 180) | def _get_total_lines(self, contents): method append_prototypes (line 191) | def append_prototypes(self, contents): function FindInoNodes (line 225) | def FindInoNodes(env): function ConvertInoToCpp (line 232) | def ConvertInoToCpp(env): function _delete_file (line 242) | def _delete_file(path): function generate (line 250) | def generate(env): function exists (line 255) | def exists(_): FILE: platformio/builder/tools/piointegration.py function IsIntegrationDump (line 25) | def IsIntegrationDump(_): function DumpIntegrationIncludes (line 29) | def DumpIntegrationIncludes(env): function get_gcc_defines (line 61) | def get_gcc_defines(env): function dump_defines (line 84) | def dump_defines(env): function dump_svd_path (line 114) | def dump_svd_path(env): function _split_flags_string (line 136) | def _split_flags_string(env, s): function DumpIntegrationData (line 141) | def DumpIntegrationData(*args): function exists (line 178) | def exists(_): function generate (line 182) | def generate(env): FILE: platformio/builder/tools/piolib.py class LibBuilderFactory (line 46) | class LibBuilderFactory: method new (line 48) | def new(env, path, verbose=int(ARGUMENTS.get("PIOVERBOSE", 0))): method get_used_frameworks (line 75) | def get_used_frameworks(env, path): class LibBuilderBase (line 111) | class LibBuilderBase: method __init__ (line 123) | def __init__(self, env, path, manifest=None, verbose=False): method __repr__ (line 155) | def __repr__(self): method __contains__ (line 158) | def __contains__(self, child_path): method is_common_builder (line 161) | def is_common_builder(self, root_path, child_path): method name (line 181) | def name(self): method version (line 185) | def version(self): method dependent (line 189) | def dependent(self): method dependencies (line 194) | def dependencies(self): method src_filter (line 198) | def src_filter(self): method include_dir (line 207) | def include_dir(self): method src_dir (line 215) | def src_dir(self): method get_include_dirs (line 222) | def get_include_dirs(self): method build_dir (line 231) | def build_dir(self): method build_flags (line 238) | def build_flags(self): method build_unflags (line 242) | def build_unflags(self): method extra_script (line 246) | def extra_script(self): method lib_archive (line 250) | def lib_archive(self): method lib_ldf_mode (line 254) | def lib_ldf_mode(self): method validate_ldf_mode (line 258) | def validate_ldf_mode(mode): method lib_compat_mode (line 271) | def lib_compat_mode(self): method validate_compat_mode (line 275) | def validate_compat_mode(mode): method is_platforms_compatible (line 287) | def is_platforms_compatible(self, platforms): method is_frameworks_compatible (line 290) | def is_frameworks_compatible(self, frameworks): method load_manifest (line 293) | def load_manifest(self): method process_extra_options (line 296) | def process_extra_options(self): method process_dependencies (line 308) | def process_dependencies(self): method is_dependency_compatible (line 328) | def is_dependency_compatible(self, dependency): method get_search_files (line 347) | def get_search_files(self): method get_implicit_includes (line 355) | def get_implicit_includes( # pylint: disable=too-many-branches method search_deps_recursive (line 428) | def search_deps_recursive(self, search_files=None): method depend_on (line 451) | def depend_on(self, lb, search_files=None, recursive=True): method build (line 477) | def build(self): class UnknownLibBuilder (line 532) | class UnknownLibBuilder(LibBuilderBase): class ArduinoLibBuilder (line 536) | class ArduinoLibBuilder(LibBuilderBase): method load_manifest (line 537) | def load_manifest(self): method include_dir (line 544) | def include_dir(self): method get_include_dirs (line 551) | def get_include_dirs(self): method src_filter (line 560) | def src_filter(self): method dependencies (line 591) | def dependencies(self): method lib_ldf_mode (line 597) | def lib_ldf_mode(self): method is_frameworks_compatible (line 611) | def is_frameworks_compatible(self, frameworks): method is_platforms_compatible (line 616) | def is_platforms_compatible(self, platforms): method build_flags (line 622) | def build_flags(self): class MbedLibBuilder (line 640) | class MbedLibBuilder(LibBuilderBase): method load_manifest (line 641) | def load_manifest(self): method src_dir (line 648) | def src_dir(self): method get_include_dirs (line 653) | def get_include_dirs(self): method is_frameworks_compatible (line 673) | def is_frameworks_compatible(self, frameworks): method process_extra_options (line 678) | def process_extra_options(self): method _process_mbed_lib_confs (line 682) | def _process_mbed_lib_confs(self): method _mbed_normalize_macro (line 708) | def _mbed_normalize_macro(macro): method _mbed_lib_conf_parse_macros (line 715) | def _mbed_lib_conf_parse_macros(self, mbed_lib_path): method _mbed_conf_append_macros (line 759) | def _mbed_conf_append_macros(self, mbed_config_path, macros): class PlatformIOLibBuilder (line 784) | class PlatformIOLibBuilder(LibBuilderBase): method load_manifest (line 785) | def load_manifest(self): method _has_arduino_manifest (line 791) | def _has_arduino_manifest(self): method include_dir (line 795) | def include_dir(self): method get_include_dirs (line 801) | def get_include_dirs(self): method src_dir (line 822) | def src_dir(self): method src_filter (line 829) | def src_filter(self): method build_flags (line 840) | def build_flags(self): method build_unflags (line 846) | def build_unflags(self): method extra_script (line 852) | def extra_script(self): method lib_archive (line 858) | def lib_archive(self): method lib_ldf_mode (line 873) | def lib_ldf_mode(self): method lib_compat_mode (line 882) | def lib_compat_mode(self): method is_platforms_compatible (line 890) | def is_platforms_compatible(self, platforms): method is_frameworks_compatible (line 895) | def is_frameworks_compatible(self, frameworks): class ProjectAsLibBuilder (line 901) | class ProjectAsLibBuilder(LibBuilderBase): method __init__ (line 902) | def __init__(self, env, *args, **kwargs): method __contains__ (line 913) | def __contains__(self, child_path): method include_dir (line 920) | def include_dir(self): method src_dir (line 925) | def src_dir(self): method test_dir (line 929) | def test_dir(self): method get_search_files (line 932) | def get_search_files(self): method lib_ldf_mode (line 951) | def lib_ldf_mode(self): method src_filter (line 959) | def src_filter(self): method build_flags (line 964) | def build_flags(self): method dependencies (line 969) | def dependencies(self): method process_extra_options (line 972) | def process_extra_options(self): method install_dependencies (line 977) | def install_dependencies(self): method process_dependencies (line 1018) | def process_dependencies(self): # pylint: disable=too-many-branches method build (line 1054) | def build(self): function GetLibSourceDirs (line 1061) | def GetLibSourceDirs(env): function IsCompatibleLibBuilder (line 1070) | def IsCompatibleLibBuilder(env, lb, verbose=int(ARGUMENTS.get("PIOVERBOS... function GetLibBuilders (line 1089) | def GetLibBuilders(_): # pylint: disable=too-many-branches function ConfigureProjectLibBuilder (line 1143) | def ConfigureProjectLibBuilder(env): function exists (line 1224) | def exists(_): function generate (line 1228) | def generate(env): FILE: platformio/builder/tools/piomaxlen.py function tempfile_arg_esc_func (line 34) | def tempfile_arg_esc_func(arg): function long_sources_hook (line 42) | def long_sources_hook(env, sources): function _file_long_data (line 58) | def _file_long_data(env, data): function exists (line 72) | def exists(env): function generate (line 76) | def generate(env): FILE: platformio/builder/tools/piomisc.py function GetCompilerType (line 23) | def GetCompilerType(env): # pylint: disable=too-many-return-statements function GetActualLDScript (line 46) | def GetActualLDScript(env): function ConfigureDebugTarget (line 91) | def ConfigureDebugTarget(env): function GetExtraScripts (line 130) | def GetExtraScripts(env, scope): function generate (line 143) | def generate(env): function exists (line 152) | def exists(_): FILE: platformio/builder/tools/pioplatform.py function _PioPlatform (line 34) | def _PioPlatform(): function PioPlatform (line 39) | def PioPlatform(_): function BoardConfig (line 43) | def BoardConfig(env, board=None): function GetFrameworkScript (line 56) | def GetFrameworkScript(env, framework): function LoadPioPlatform (line 65) | def LoadPioPlatform(env): function PrintConfiguration (line 134) | def PrintConfiguration(env): # pylint: disable=too-many-statements function exists (line 240) | def exists(_): function generate (line 244) | def generate(env): FILE: platformio/builder/tools/pioproject.py function GetProjectConfig (line 19) | def GetProjectConfig(env): function GetProjectOptions (line 23) | def GetProjectOptions(env, as_dict=False): function GetProjectOption (line 27) | def GetProjectOption(env, option, default=MISSING): function LoadProjectOptions (line 31) | def LoadProjectOptions(env): function exists (line 45) | def exists(_): function generate (line 49) | def generate(env): FILE: platformio/builder/tools/piosize.py function _run_tool (line 29) | def _run_tool(cmd, env, tool_args): function _get_symbol_locations (line 48) | def _get_symbol_locations(env, elf_path, addrs): function _get_demangled_names (line 59) | def _get_demangled_names(env, mangled_names): function _collect_sections_info (line 76) | def _collect_sections_info(env, elffile): function _collect_symbols_info (line 101) | def _collect_symbols_info(env, elffile, elf_path, sections): function pioSizeDetermineSection (line 159) | def pioSizeDetermineSection(_, sections, symbol_addr): function pioSizeIsValidSymbol (line 168) | def pioSizeIsValidSymbol(_, symbol_name, symbol_type, symbol_address): function pioSizeIsRamSection (line 172) | def pioSizeIsRamSection(_, section): function pioSizeIsFlashSection (line 179) | def pioSizeIsFlashSection(_, section): function pioSizeCalculateFirmwareSize (line 183) | def pioSizeCalculateFirmwareSize(_, sections): function DumpSizeData (line 194) | def DumpSizeData(_, target, source, env): # pylint: disable=unused-argu... function exists (line 255) | def exists(_): function generate (line 259) | def generate(env): FILE: platformio/builder/tools/piotarget.py function VerboseAction (line 24) | def VerboseAction(_, act, actstr): function IsCleanTarget (line 30) | def IsCleanTarget(env): function CleanProject (line 34) | def CleanProject(env, fullclean=False): function AddTarget (line 64) | def AddTarget( # pylint: disable=too-many-arguments,too-many-positional... function AddPlatformTarget (line 86) | def AddPlatformTarget(env, *args, **kwargs): function AddCustomTarget (line 90) | def AddCustomTarget(env, *args, **kwargs): function DumpTargets (line 94) | def DumpTargets(env): function exists (line 104) | def exists(_): function generate (line 108) | def generate(env): FILE: platformio/builder/tools/piotest.py function ConfigureTestTarget (line 22) | def ConfigureTestTarget(env): function generate (line 56) | def generate(env): function exists (line 60) | def exists(_): FILE: platformio/builder/tools/pioupload.py function FlushSerialBuffer (line 32) | def FlushSerialBuffer(env, port): function TouchSerialPort (line 43) | def TouchSerialPort(env, port, baudrate): function WaitForNewSerialPort (line 55) | def WaitForNewSerialPort(env, before): function AutodetectUploadPort (line 95) | def AutodetectUploadPort(*args, **kwargs): function UploadToDisk (line 133) | def UploadToDisk(_, target, source, env): function CheckUploadSize (line 149) | def CheckUploadSize(_, target, source, env): function PrintUploadInfo (line 234) | def PrintUploadInfo(env): function exists (line 245) | def exists(_): function generate (line 249) | def generate(env): FILE: platformio/cache.py class ContentCache (line 25) | class ContentCache: method __init__ (line 26) | def __init__(self, namespace=None): method __enter__ (line 33) | def __enter__(self): method __exit__ (line 38) | def __exit__(self, type_, value, traceback): method key_from_args (line 42) | def key_from_args(*args): method get_cache_path (line 49) | def get_cache_path(self, key): method get (line 55) | def get(self, key): method set (line 62) | def set(self, key, data, valid): method delete (line 93) | def delete(self, keys=None): method clean (line 137) | def clean(self): method _lock_dbindex (line 142) | def _lock_dbindex(self): method _unlock_dbindex (line 151) | def _unlock_dbindex(self): function cleanup_content_cache (line 162) | def cleanup_content_cache(namespace=None): FILE: platformio/check/cli.py function cli (line 62) | def cli( # pylint: disable=too-many-positional-arguments function results_to_json (line 202) | def results_to_json(raw): function print_processing_header (line 218) | def print_processing_header(tool, envname, envdump): function print_processing_footer (line 227) | def print_processing_footer(result): function collect_component_stats (line 243) | def collect_component_stats(result): function print_defects_stats (line 263) | def print_defects_stats(results): function print_check_summary (line 296) | def print_check_summary(results, verbose=False): FILE: platformio/check/defect.py class DefectItem (line 26) | class DefectItem: method __init__ (line 32) | def __init__( # pylint: disable=too-many-positional-arguments method __repr__ (line 57) | def __repr__(self): method __or__ (line 74) | def __or__(self, defect): method severity_to_int (line 78) | def severity_to_int(label): method as_dict (line 84) | def as_dict(self): FILE: platformio/check/tools/__init__.py class CheckToolFactory (line 21) | class CheckToolFactory: method new (line 23) | def new(tool, project_dir, config, envname, options): FILE: platformio/check/tools/base.py class CheckToolBase (line 27) | class CheckToolBase: # pylint: disable=too-many-instance-attributes method __init__ (line 28) | def __init__(self, project_dir, config, envname, options): method _load_cpp_data (line 59) | def _load_cpp_data(self): method get_tool_dir (line 71) | def get_tool_dir(self, pkg_name): method get_flags (line 78) | def get_flags(self, tool): method _get_toolchain_defines (line 89) | def _get_toolchain_defines(self): method _create_tmp_file (line 123) | def _create_tmp_file(self, data): method _long_includes_hook (line 129) | def _long_includes_hook(self, includes): method _dump_includes (line 137) | def _dump_includes(includes_map): method is_flag_set (line 146) | def is_flag_set(flag, flags): method get_defects (line 149) | def get_defects(self): method configure_command (line 152) | def configure_command(self): method on_tool_output (line 155) | def on_tool_output(self, line): method tool_output_filter (line 175) | def tool_output_filter(line): method parse_defect (line 179) | def parse_defect(raw_line): method clean_up (line 182) | def clean_up(self): method is_check_successful (line 188) | def is_check_successful(cmd_result): method execute_check_cmd (line 191) | def execute_check_cmd(self, cmd): method get_project_target_files (line 211) | def get_project_target_files(project_dir, src_filters): method check (line 232) | def check(self, on_defect_callback=None): function normalize_src_filters (line 256) | def normalize_src_filters(src_filters): FILE: platformio/check/tools/clangtidy.py class ClangtidyCheckTool (line 22) | class ClangtidyCheckTool(CheckToolBase): method tool_output_filter (line 23) | def tool_output_filter(self, line): # pylint: disable=arguments-differ method parse_defect (line 36) | def parse_defect(self, raw_line): # pylint: disable=arguments-differ method is_check_successful (line 52) | def is_check_successful(cmd_result): method configure_command (line 57) | def configure_command(self): FILE: platformio/check/tools/cppcheck.py class CppcheckCheckTool (line 24) | class CppcheckCheckTool(CheckToolBase): method __init__ (line 25) | def __init__(self, *args, **kwargs): method tool_output_filter (line 40) | def tool_output_filter(self, line): # pylint: disable=arguments-differ method parse_defect (line 59) | def parse_defect(self, raw_line): # pylint: disable=arguments-differ method configure_command (line 105) | def configure_command(self, language, src_file): # pylint: disable=ar... method get_forced_includes (line 166) | def get_forced_includes(build_flags, includes): method _generate_src_file (line 197) | def _generate_src_file(self, src_files): method _generate_inc_file (line 200) | def _generate_inc_file(self): method clean_up (line 210) | def clean_up(self): method is_check_successful (line 226) | def is_check_successful(cmd_result): method convert_language_standard (line 231) | def convert_language_standard(flag): method check (line 245) | def check(self, on_defect_callback=None): FILE: platformio/check/tools/pvsstudio.py class PvsStudioCheckTool (line 28) | class PvsStudioCheckTool(CheckToolBase): # pylint: disable=too-many-ins... method __init__ (line 29) | def __init__(self, *args, **kwargs): method tool_output_filter (line 55) | def tool_output_filter(self, line): # pylint: disable=arguments-differ method _process_defects (line 66) | def _process_defects(self, defects): method _demangle_report (line 76) | def _demangle_report(self, output_file): method parse_defects (line 104) | def parse_defects(self, output_file): method configure_command (line 147) | def configure_command(self, src_file): # pylint: disable=arguments-di... method _generate_tmp_file_path (line 180) | def _generate_tmp_file_path(self): method _prepare_preprocessed_file (line 184) | def _prepare_preprocessed_file(self, src_file): method clean_up (line 216) | def clean_up(self): method is_check_successful (line 222) | def is_check_successful(cmd_result): method check (line 227) | def check(self, on_defect_callback=None): FILE: platformio/cli.py class PlatformioCLI (line 21) | class PlatformioCLI(click.Group): method __init__ (line 24) | def __init__(self, *args, **kwargs): method _find_pio_commands (line 29) | def _find_pio_commands(self): method in_silence (line 55) | def in_silence(): method reveal_cmd_path_args (line 67) | def reveal_cmd_path_args(cls, ctx): method invoke (line 81) | def invoke(self, ctx): method list_commands (line 87) | def list_commands(self, ctx): # pylint: disable=unused-argument method get_command (line 90) | def get_command(self, ctx, cmd_name): method _handle_obsolate_command (line 98) | def _handle_obsolate_command(ctx, cmd_name): FILE: platformio/commands/boards.py function cli (line 29) | def cli(query, installed, json_output): # pylint: disable=R0912 function print_boards (line 54) | def print_boards(boards): function _get_boards (line 73) | def _get_boards(installed=False): function _print_boards_json (line 78) | def _print_boards_json(query, installed=False): FILE: platformio/commands/ci.py function validate_path (line 29) | def validate_path(ctx, param, value): # pylint: disable=unused-argument function cli (line 66) | def cli( # pylint: disable=too-many-arguments,too-many-positional-argum... function _copy_contents (line 123) | def _copy_contents(dst_dir, contents): # pylint: disable=too-many-branches function _exclude_contents (line 158) | def _exclude_contents(dst_dir, patterns): function _copy_project_conf (line 170) | def _copy_project_conf(build_dir, project_conf): FILE: platformio/commands/lib.py function get_project_global_lib_dir (line 44) | def get_project_global_lib_dir(): function invoke_command (line 48) | def invoke_command(ctx, cmd, **kwargs): function cli (line 84) | def cli(ctx, **options): function lib_install (line 155) | def lib_install( # pylint: disable=too-many-arguments,too-many-position... function lib_uninstall (line 184) | def lib_uninstall(ctx, libraries, save, silent): function lib_update (line 213) | def lib_update( # pylint: disable=too-many-arguments,too-many-positiona... function lib_list (line 278) | def lib_list(ctx, json_output): function lib_search (line 317) | def lib_search( # pylint: disable=unused-argument function lib_builtin (line 351) | def lib_builtin(storage, json_output): function lib_show (line 373) | def lib_show(ctx, library, json_output): function lib_register (line 394) | def lib_register(config_url): # pylint: disable=unused-argument function lib_stats (line 402) | def lib_stats(json_output): function print_lib_item (line 417) | def print_lib_item(item): FILE: platformio/commands/platform.py function cli (line 36) | def cli(): function platform_search (line 44) | def platform_search(ctx, query, json_output): function platform_frameworks (line 73) | def platform_frameworks(query, json_output): function platform_list (line 108) | def platform_list(ctx, json_output): function platform_show (line 133) | def platform_show(ctx, platform, json_output): # pylint: disable=too-ma... function platform_install (line 162) | def platform_install( # pylint: disable=too-many-arguments,too-many-pos... function platform_uninstall (line 195) | def platform_uninstall(ctx, platforms): function platform_update (line 227) | def platform_update( # pylint: disable=too-many-locals,too-many-argumen... function _get_registry_platforms (line 287) | def _get_registry_platforms(): function _get_platform_data (line 292) | def _get_platform_data(*args, **kwargs): function _get_installed_platform_data (line 299) | def _get_installed_platform_data(platform, with_boards=True, expose_pack... function _get_registry_platform_data (line 357) | def _get_registry_platform_data( # pylint: disable=unused-argument FILE: platformio/commands/settings.py function format_value (line 22) | def format_value(raw): function cli (line 31) | def cli(): function settings_get (line 37) | def settings_get(name): function settings_set (line 69) | def settings_set(ctx, name, value): function settings_reset (line 77) | def settings_reset(ctx): FILE: platformio/commands/update.py function cli (line 33) | def cli(*_, **__): FILE: platformio/commands/upgrade.py function cli (line 39) | def cli(dev, only_dependencies, verbose): function upgrade_pip_dependencies (line 106) | def upgrade_pip_dependencies(verbose): function get_latest_version (line 122) | def get_latest_version(): function get_develop_latest_version (line 134) | def get_develop_latest_version(): function get_pypi_latest_version (line 152) | def get_pypi_latest_version(): FILE: platformio/compat.py function shlex_join (line 38) | def shlex_join(split_command): function is_bytes (line 60) | def is_bytes(x): function isascii (line 64) | def isascii(text): function is_terminal (line 73) | def is_terminal(): function ci_strings_are_equal (line 80) | def ci_strings_are_equal(a, b): function hashlib_encode_data (line 88) | def hashlib_encode_data(data): function load_python_module (line 96) | def load_python_module(name, pathname): function get_filesystem_encoding (line 103) | def get_filesystem_encoding(): function get_locale_encoding (line 107) | def get_locale_encoding(): function get_object_members (line 111) | def get_object_members(obj, ignore_private=True): function ensure_python3 (line 122) | def ensure_python3(raise_exception=True): function path_to_unicode (line 134) | def path_to_unicode(path): function is_proxy_set (line 142) | def is_proxy_set(socks=False): function click_launch (line 151) | def click_launch(url, wait=False, locate=False) -> int: function _click_open_url (line 155) | def _click_open_url( # pylint: disable=too-many-branches, too-many-retu... FILE: platformio/debug/cli.py function cli (line 60) | def cli( # pylint: disable=too-many-positional-arguments function _configure (line 114) | def _configure( function _run (line 169) | def _run(project_dir, debug_config, client_extra_args): FILE: platformio/debug/config/base.py class DebugConfigBase (line 26) | class DebugConfigBase: # pylint: disable=too-many-instance-attributes method __init__ (line 29) | def __init__(self, platform, project_config, env_name): method cleanup_cmds (line 61) | def cleanup_cmds(items): method program_path (line 66) | def program_path(self): method client_executable_path (line 70) | def client_executable_path(self): method load_cmds (line 74) | def load_cmds(self): method load_cmds (line 88) | def load_cmds(self, cmds): method load_mode (line 92) | def load_mode(self): method init_break (line 99) | def init_break(self): method init_cmds (line 110) | def init_cmds(self): method extra_cmds (line 116) | def extra_cmds(self): method port (line 122) | def port(self): method port (line 131) | def port(self, value): method upload_protocol (line 135) | def upload_protocol(self): method speed (line 141) | def speed(self): method server_ready_pattern (line 145) | def server_ready_pattern(self): method _load_build_data (line 150) | def _load_build_data(self): method _configure_server (line 158) | def _configure_server(self): method get_init_script (line 210) | def get_init_script(self, debugger): method reveal_patterns (line 216) | def reveal_patterns(self, source, recursive=True): FILE: platformio/debug/config/blackmagic.py class BlackmagicDebugConfig (line 20) | class BlackmagicDebugConfig(DebugConfigBase): method port (line 53) | def port(self): method port (line 70) | def port(self, value): FILE: platformio/debug/config/factory.py class DebugConfigFactory (line 22) | class DebugConfigFactory: method get_clsname (line 24) | def get_clsname(name): method new (line 29) | def new(cls, platform, project_config, env_name): FILE: platformio/debug/config/generic.py class GenericDebugConfig (line 18) | class GenericDebugConfig(DebugConfigBase): FILE: platformio/debug/config/jlink.py class JlinkDebugConfig (line 18) | class JlinkDebugConfig(DebugConfigBase): method server_ready_pattern (line 41) | def server_ready_pattern(self): FILE: platformio/debug/config/mspdebug.py class MspdebugDebugConfig (line 18) | class MspdebugDebugConfig(DebugConfigBase): FILE: platformio/debug/config/native.py class NativeDebugConfig (line 19) | class NativeDebugConfig(DebugConfigBase): FILE: platformio/debug/config/qemu.py class QemuDebugConfig (line 18) | class QemuDebugConfig(DebugConfigBase): FILE: platformio/debug/config/renode.py class RenodeDebugConfig (line 18) | class RenodeDebugConfig(DebugConfigBase): method server_ready_pattern (line 38) | def server_ready_pattern(self): FILE: platformio/debug/exception.py class DebugError (line 18) | class DebugError(PlatformioException): class DebugSupportError (line 22) | class DebugSupportError(DebugError, UserSideException): class DebugInvalidOptionsError (line 31) | class DebugInvalidOptionsError(DebugError, UserSideException): class DebugInitError (line 35) | class DebugInitError(DebugError, UserSideException): FILE: platformio/debug/helpers.py class GDBMIConsoleStream (line 33) | class GDBMIConsoleStream(BytesIO): # pylint: disable=too-few-public-met... method write (line 36) | def write(self, text): function is_gdbmi_mode (line 41) | def is_gdbmi_mode(): function escape_gdbmi_stream (line 45) | def escape_gdbmi_stream(prefix, stream): function get_default_debug_env (line 65) | def get_default_debug_env(config): function predebug_project (line 77) | def predebug_project( function has_debug_symbols (line 115) | def has_debug_symbols(prog_path): function is_prog_obsolete (line 140) | def is_prog_obsolete(prog_path): FILE: platformio/debug/process/base.py class DebugSubprocessProtocol (line 29) | class DebugSubprocessProtocol(asyncio.SubprocessProtocol): method __init__ (line 30) | def __init__(self, factory): method connection_made (line 34) | def connection_made(self, transport): method pipe_data_received (line 37) | def pipe_data_received(self, fd, data): method connection_lost (line 45) | def connection_lost(self, exc): method process_exited (line 48) | def process_exited(self): class DebugBaseProcess (line 55) | class DebugBaseProcess: method __init__ (line 59) | def __init__(self): method spawn (line 67) | async def spawn(self, *args, **kwargs): method is_running (line 83) | def is_running(self): method connection_made (line 86) | def connection_made(self, transport): method connect_stdin_pipe (line 90) | def connect_stdin_pipe(self): method _read_stdin_pipe (line 93) | async def _read_stdin_pipe(self): method stdin_data_received (line 107) | def stdin_data_received(self, data): method stdout_data_received (line 113) | def stdout_data_received(self, data): method stderr_data_received (line 123) | def stderr_data_received(self, data): method process_exited (line 135) | def process_exited(self): method terminate (line 147) | def terminate(self): FILE: platformio/debug/process/client.py class DebugClientProcess (line 28) | class DebugClientProcess(DebugBaseProcess): method __init__ (line 29) | def __init__(self, project_dir, debug_config): method run (line 46) | async def run(self): method connection_made (line 57) | def connection_made(self, transport): method process_exited (line 64) | def process_exited(self): method close (line 69) | def close(self): method __del__ (line 74) | def __del__(self): method _kill_previous_session (line 77) | def _kill_previous_session(self): method _lock_session (line 94) | def _lock_session(self, pid): method _unlock_session (line 100) | def _unlock_session(self): FILE: platformio/debug/process/gdb.py class GDBClientProcess (line 26) | class GDBClientProcess(DebugClientProcess): method __init__ (line 30) | def __init__(self, *args, **kwargs): method run (line 35) | async def run(self, extra_args): # pylint: disable=arguments-differ method _get_data_dir (line 60) | def _get_data_dir(gdb_path): method generate_init_script (line 68) | def generate_init_script(self, dst): method stdin_data_received (line 110) | def stdin_data_received(self, data): method stdout_data_received (line 128) | def stdout_data_received(self, data): method console_log (line 136) | def console_log(self, msg): method _auto_exec_continue (line 141) | def _auto_exec_continue(self): method stderr_data_received (line 167) | def stderr_data_received(self, data): method _handle_error (line 171) | def _handle_error(self, data): FILE: platformio/debug/process/server.py class DebugServerProcess (line 28) | class DebugServerProcess(DebugBaseProcess): method __init__ (line 31) | def __init__(self, debug_config): method run (line 37) | async def run(self): # pylint: disable=too-many-branches method _wait_until_ready (line 111) | async def _wait_until_ready(self): method _check_ready_by_pattern (line 123) | def _check_ready_by_pattern(self, data): method stdout_data_received (line 137) | def stdout_data_received(self, data): method stderr_data_received (line 145) | def stderr_data_received(self, data): FILE: platformio/dependencies.py function get_core_dependencies (line 18) | def get_core_dependencies(): function get_pip_dependencies (line 29) | def get_pip_dependencies(): FILE: platformio/device/cli.py function cli (line 29) | def cli(): FILE: platformio/device/finder.py function parse_udev_rules_hwids (line 34) | def parse_udev_rules_hwids(path): function is_pattern_port (line 57) | def is_pattern_port(port): function find_mbed_disk (line 63) | def find_mbed_disk(initial_port): function is_serial_port_ready (line 82) | def is_serial_port_ready(port, timeout=1): class SerialPortFinder (line 91) | class SerialPortFinder: method __init__ (line 92) | def __init__( # pylint: disable=too-many-arguments,too-many-positiona... method normalize_board_hwid (line 109) | def normalize_board_hwid(value): method match_serial_port (line 115) | def match_serial_port(pattern): method match_device_hwid (line 122) | def match_device_hwid(patterns): method find (line 134) | def find(self, initial_port=None): method _reveal_device_port (line 165) | def _reveal_device_port(self, device): method _find_blackmagic_port (line 179) | def _find_blackmagic_port(self): method _find_board_device (line 188) | def _find_board_device(self): method _find_known_device (line 217) | def _find_known_device(self): FILE: platformio/device/list/command.py function device_list_cmd (line 31) | def device_list_cmd( # pylint: disable=too-many-branches FILE: platformio/device/list/util.py function list_serial_ports (line 25) | def list_serial_ports(filter_hwid=False, as_objects=False): function list_logical_devices (line 52) | def list_logical_devices(): function list_mdns_services (line 84) | def list_mdns_services(): FILE: platformio/device/monitor/command.py function device_monitor_cmd (line 114) | def device_monitor_cmd(**options): function get_project_options (line 157) | def get_project_options(environment=None): function apply_project_monitor_options (line 164) | def apply_project_monitor_options(initial_options, project_options): FILE: platformio/device/monitor/filters/base.py class DeviceMonitorFilterBase (line 25) | class DeviceMonitorFilterBase(miniterm.Transform): method __init__ (line 26) | def __init__(self, options=None): method __call__ (line 43) | def __call__(self): method NAME (line 48) | def NAME(self): method set_running_terminal (line 51) | def set_running_terminal(self, terminal): method get_running_terminal (line 54) | def get_running_terminal(self): function register_filters (line 58) | def register_filters(platform=None, options=None): function load_monitor_filters (line 85) | def load_monitor_filters(monitor_dir, prefix=None, options=None): function load_monitor_filter (line 97) | def load_monitor_filter(path, options=None): FILE: platformio/device/monitor/filters/hexlify.py class Hexlify (line 20) | class Hexlify(DeviceMonitorFilterBase): method __init__ (line 23) | def __init__(self, *args, **kwargs): method set_running_terminal (line 27) | def set_running_terminal(self, terminal): method rx (line 33) | def rx(self, text): FILE: platformio/device/monitor/filters/log2file.py class LogToFile (line 22) | class LogToFile(DeviceMonitorFilterBase): method __init__ (line 25) | def __init__(self, *args, **kwargs): method __call__ (line 29) | def __call__(self): method __del__ (line 40) | def __del__(self): method rx (line 44) | def rx(self, text): FILE: platformio/device/monitor/filters/send_on_enter.py class SendOnEnter (line 18) | class SendOnEnter(DeviceMonitorFilterBase): method __init__ (line 21) | def __init__(self, *args, **kwargs): method tx (line 32) | def tx(self, text): FILE: platformio/device/monitor/filters/time.py class Timestamp (line 20) | class Timestamp(DeviceMonitorFilterBase): method __init__ (line 23) | def __init__(self, *args, **kwargs): method rx (line 27) | def rx(self, text): FILE: platformio/device/monitor/terminal.py class Terminal (line 26) | class Terminal(miniterm.Miniterm): method __init__ (line 27) | def __init__(self, *args, **kwargs): method reader (line 31) | def reader(self): method writer (line 37) | def writer(self): function get_available_filters (line 44) | def get_available_filters(): function start_terminal (line 48) | def start_terminal(options): function new_terminal (line 101) | def new_terminal(options): function print_terminal_settings (line 122) | def print_terminal_settings(terminal): function new_serial_instance (line 142) | def new_serial_instance(options): # pylint: disable=too-many-branches FILE: platformio/exception.py class PlatformioException (line 16) | class PlatformioException(Exception): method __str__ (line 19) | def __str__(self): # pragma: no cover class ReturnErrorCode (line 27) | class ReturnErrorCode(PlatformioException): class UserSideException (line 31) | class UserSideException(PlatformioException): class AbortedByUser (line 35) | class AbortedByUser(UserSideException): class InvalidUdevRules (line 44) | class InvalidUdevRules(UserSideException): class MissedUdevRules (line 48) | class MissedUdevRules(InvalidUdevRules): class OutdatedUdevRules (line 55) | class OutdatedUdevRules(InvalidUdevRules): class GetSerialPortsError (line 68) | class GetSerialPortsError(PlatformioException): class GetLatestVersionError (line 72) | class GetLatestVersionError(PlatformioException): class InvalidSettingName (line 76) | class InvalidSettingName(UserSideException): class InvalidSettingValue (line 80) | class InvalidSettingValue(UserSideException): class InvalidJSONFile (line 84) | class InvalidJSONFile(ValueError, UserSideException): class CIBuildEnvsEmpty (line 88) | class CIBuildEnvsEmpty(UserSideException): class HomeDirPermissionsError (line 96) | class HomeDirPermissionsError(UserSideException): class CygwinEnvDetected (line 106) | class CygwinEnvDetected(PlatformioException): FILE: platformio/fs.py class cd (line 31) | class cd: method __init__ (line 32) | def __init__(self, new_path): method __enter__ (line 36) | def __enter__(self): method __exit__ (line 39) | def __exit__(self, etype, value, traceback): function get_source_dir (line 43) | def get_source_dir(): function get_assets_dir (line 53) | def get_assets_dir(): function load_json (line 57) | def load_json(file_path): function humanize_file_size (line 65) | def humanize_file_size(filesize): function calculate_file_hashsum (line 82) | def calculate_file_hashsum(algorithm, path): function calculate_folder_size (line 93) | def calculate_folder_size(path): function get_platformio_udev_rules_path (line 104) | def get_platformio_udev_rules_path(): function ensure_udev_rules (line 110) | def ensure_udev_rules(): function path_endswith_ext (line 147) | def path_endswith_ext(path, extensions): function match_src_files (line 156) | def match_src_files(src_dir, src_filter=None, src_exts=None, followlinks... function to_unix_path (line 193) | def to_unix_path(path): function expanduser (line 199) | def expanduser(path): function change_filemtime (line 208) | def change_filemtime(path, mtime): function rmtree (line 212) | def rmtree(path): FILE: platformio/home/cli.py function cli (line 52) | def cli(port, host, no_open, shutdown_timeout, session_id): function is_port_used (line 101) | def is_port_used(host, port): FILE: platformio/home/rpc/handlers/account.py class AccountRPC (line 21) | class AccountRPC(BaseRPCHandler): method call_client (line 23) | def call_client(method, *args, **kwargs): FILE: platformio/home/rpc/handlers/app.py class AppRPC (line 22) | class AppRPC(BaseRPCHandler): method load_state (line 34) | def load_state(): method get_state (line 72) | def get_state(): method save_state (line 76) | def save_state(state): FILE: platformio/home/rpc/handlers/base.py class BaseRPCHandler (line 16) | class BaseRPCHandler: FILE: platformio/home/rpc/handlers/ide.py class IDERPC (line 24) | class IDERPC(BaseRPCHandler): method __init__ (line 27) | def __init__(self): method listen_commands (line 31) | async def listen_commands(self): method send_command (line 37) | async def send_command(self, command, params=None): method on_command_result (line 52) | def on_command_result(self, cmd_id, value): method _process_commands (line 61) | def _process_commands(self): FILE: platformio/home/rpc/handlers/misc.py class MiscRPC (line 24) | class MiscRPC(BaseRPCHandler): method load_latest_tweets (line 25) | async def load_latest_tweets(self, data_url): method _preload_latest_tweets (line 42) | async def _preload_latest_tweets(data_url, cache_key, cache_valid): FILE: platformio/home/rpc/handlers/os.py class HTTPAsyncSession (line 29) | class HTTPAsyncSession(HTTPSession): method request (line 30) | async def request( # pylint: disable=signature-differs,invalid-overri... class OSRPC (line 37) | class OSRPC(BaseRPCHandler): method fetch_content (line 41) | async def fetch_content(cls, url, data=None, headers=None, cache_valid... method request_content (line 75) | async def request_content(self, uri, data=None, headers=None, cache_va... method open_url (line 84) | def open_url(url): method reveal_file (line 88) | def reveal_file(path): method open_file (line 92) | def open_file(path): method call_path_module_func (line 96) | def call_path_module_func(name, args, **kwargs): method get_path_separator (line 100) | def get_path_separator(): method is_file (line 104) | def is_file(path): method is_dir (line 108) | def is_dir(path): method make_dirs (line 112) | def make_dirs(path): method get_file_mtime (line 116) | def get_file_mtime(path): method rename (line 120) | def rename(src, dst): method copy (line 124) | def copy(src, dst): method glob (line 128) | def glob(pathnames, root=None): method list_dir (line 141) | def list_dir(path): method get_logical_devices (line 169) | def get_logical_devices(): FILE: platformio/home/rpc/handlers/piocore.py class PIOCoreProtocol (line 39) | class PIOCoreProtocol(asyncio.SubprocessProtocol): method __init__ (line 40) | def __init__(self, exit_future, on_data_callback=None): method pipe_data_received (line 48) | def pipe_data_received(self, fd, data): method connection_lost (line 58) | def connection_lost(self, exc): method process_exited (line 61) | def process_exited(self): class MultiThreadingStdStream (line 68) | class MultiThreadingStdStream: method __init__ (line 69) | def __init__(self, parent_stream): method __getattr__ (line 72) | def __getattr__(self, name): method _ensure_thread_buffer (line 77) | def _ensure_thread_buffer(self, thread_id): method write (line 81) | def write(self, value): method get_value_and_reset (line 88) | def get_value_and_reset(self): function get_core_fullpath (line 100) | def get_core_fullpath(): class PIOCoreRPC (line 104) | class PIOCoreRPC(BaseRPCHandler): method version (line 106) | def version(): method exec (line 109) | async def exec(self, args, options=None): method _on_exec_data_received (line 132) | def _on_exec_data_received(self, exec_options, pipe, data): method setup_multithreading_std_streams (line 145) | def setup_multithreading_std_streams(): method call (line 154) | async def call(args, options=None): method _call_subprocess (line 179) | async def _call_subprocess(args, options): method _call_inline (line 188) | async def _call_inline(args, options): method _process_result (line 205) | def _process_result(result, to_json=False): FILE: platformio/home/rpc/handlers/platform.py class PlatformRPC (line 25) | class PlatformRPC(BaseRPCHandler): method fetch_platforms (line 26) | async def fetch_platforms(self, search_query=None, page=0, force_insta... method _load_installed_platforms (line 60) | def _load_installed_platforms(search_query=None): method fetch_boards (line 91) | async def fetch_boards(self, platform_spec): method _load_installed_boards (line 104) | def _load_installed_boards(platform_spec): method fetch_examples (line 111) | async def fetch_examples(self, platform_spec): method _load_installed_examples (line 124) | def _load_installed_examples(platform_spec): FILE: platformio/home/rpc/handlers/project.py class ProjectRPC (line 36) | class ProjectRPC(BaseRPCHandler): method config_call (line 38) | def config_call(init_kwargs, method, *args): method config_load (line 52) | def config_load(path): method config_dump (line 58) | def config_dump(path, data): method config_update_description (line 64) | def config_update_description(path, text): method get_config_schema (line 78) | def get_config_schema(): method get_projects (line 82) | def get_projects(): method get_project_examples (line 154) | def get_project_examples(): method init (line 193) | async def init(self, board, framework, project_dir): method import_arduino (line 209) | async def import_arduino(board, use_arduino_libs, arduino_project_dir): method import_pio (line 256) | async def import_pio(project_dir): method init_v2 (line 276) | async def init_v2(self, configuration, options=None): method _pre_init_empty (line 304) | def _pre_init_empty(configuration): method _pre_init_example (line 331) | async def _pre_init_example(self, configuration, project_dir): method configuration (line 345) | def configuration(project_dir, env): FILE: platformio/home/rpc/handlers/registry.py class RegistryRPC (line 22) | class RegistryRPC(BaseRPCHandler): method call_client (line 24) | async def call_client(method, *args, **kwargs): FILE: platformio/home/rpc/server.py class JSONRPCServerFactoryBase (line 33) | class JSONRPCServerFactoryBase: method __init__ (line 37) | def __init__(self, shutdown_timeout=0): method __call__ (line 44) | def __call__(self, *args, **kwargs): method add_object_handler (line 47) | def add_object_handler(self, handler, namespace): method on_client_connect (line 51) | def on_client_connect(self, connection, actor=None): method on_client_disconnect (line 58) | def on_client_disconnect(self, connection): method on_shutdown (line 68) | async def on_shutdown(self): method shutdown_by_timeout (line 71) | def shutdown_by_timeout(self): method notify_clients (line 83) | async def notify_clients(self, method, params=None, actor=None): class WebSocketJSONRPCServerFactory (line 92) | class WebSocketJSONRPCServerFactory(JSONRPCServerFactoryBase): method __call__ (line 93) | def __call__(self, *args, **kwargs): class WebSocketJSONRPCServer (line 99) | class WebSocketJSONRPCServer(WebSocketEndpoint): method on_connect (line 103) | async def on_connect(self, websocket): method on_receive (line 111) | async def on_receive(self, websocket, data): method on_disconnect (line 114) | async def on_disconnect(self, websocket, close_code): method _handle_rpc (line 117) | async def _handle_rpc(self, websocket, data): FILE: platformio/home/run.py class ShutdownMiddleware (line 43) | class ShutdownMiddleware: method __init__ (line 44) | def __init__(self, app): method __call__ (line 47) | async def __call__(self, scope, receive, send): function shutdown_server (line 53) | async def shutdown_server(_=None): function protected_page (line 58) | async def protected_page(_): function run_server (line 64) | def run_server(host, port, no_open, shutdown_timeout, home_url): FILE: platformio/http.py class HTTPClientError (line 30) | class HTTPClientError(UserSideException): method __init__ (line 31) | def __init__(self, message, response=None): method __str__ (line 36) | def __str__(self): # pragma: no cover class InternetConnectionError (line 40) | class InternetConnectionError(UserSideException): class HTTPSession (line 48) | class HTTPSession(requests.Session): method __init__ (line 49) | def __init__(self, *args, **kwargs): method request (line 58) | def request( # pylint: disable=signature-differs,arguments-differ class HTTPSessionIterator (line 76) | class HTTPSessionIterator: method __init__ (line 77) | def __init__(self, endpoints): method __iter__ (line 90) | def __iter__(self): # pylint: disable=non-iterator-returned method __next__ (line 93) | def __next__(self): class HTTPClient (line 101) | class HTTPClient: method __init__ (line 102) | def __init__(self, endpoints): method __del__ (line 107) | def __del__(self): method _next_session (line 116) | def _next_session(self): method send_request (line 122) | def send_request(self, method, path, **kwargs): method fetch_json_data (line 150) | def fetch_json_data(self, method, path, **kwargs): method _parse_json_response (line 172) | def _parse_json_response(response, expected_codes=(200, 201, 202)): function _internet_on (line 191) | def _internet_on(): function ensure_internet_on (line 219) | def ensure_internet_on(raise_exception=False): function fetch_remote_content (line 226) | def fetch_remote_content(*args, **kwargs): FILE: platformio/maintenance.py function on_cmd_start (line 32) | def on_cmd_start(ctx, caller): function on_cmd_end (line 41) | def on_cmd_end(): function on_platformio_exception (line 60) | def on_platformio_exception(exc): function on_platformio_exit (line 64) | def on_platformio_exit(): function set_caller (line 68) | def set_caller(caller=None): class Upgrader (line 81) | class Upgrader: method __init__ (line 82) | def __init__(self, from_version, to_version): method run (line 89) | def run(self, ctx): method _appstate_migration (line 102) | def _appstate_migration(_): function after_upgrade (line 121) | def after_upgrade(ctx): function print_welcome_banner (line 175) | def print_welcome_banner(): function check_platformio_upgrade (line 207) | def check_platformio_upgrade(): function check_prune_system (line 252) | def check_prune_system(): FILE: platformio/package/cli.py function cli (line 47) | def cli(): FILE: platformio/package/commands/exec.py function package_exec_cmd (line 31) | def package_exec_cmd(obj, package, call, args): function find_pkg_by_executable (line 80) | def find_pkg_by_executable(executable): function inject_pkg_to_environ (line 93) | def inject_pkg_to_environ(pkg): FILE: platformio/package/commands/install.py function package_install_cmd (line 64) | def package_install_cmd(**options): function install_global_dependencies (line 71) | def install_global_dependencies(options): function install_project_dependencies (line 97) | def install_project_dependencies(options): function install_project_env_dependencies (line 112) | def install_project_env_dependencies(project_env, options=None): function _install_project_env_platform (line 138) | def _install_project_env_platform(project_env, options): function _install_project_env_custom_platforms (line 161) | def _install_project_env_custom_platforms(project_env, options): function _install_project_env_custom_tools (line 179) | def _install_project_env_custom_tools(project_env, options): function _install_project_env_libraries (line 206) | def _install_project_env_libraries(project_env, options): function _uninstall_project_unused_libdeps (line 266) | def _uninstall_project_unused_libdeps(lm, lib_deps): function _install_project_private_library_deps (line 292) | def _install_project_private_library_deps(private_pkg, private_lm, env_l... function _install_project_env_custom_libraries (line 314) | def _install_project_env_custom_libraries(project_env, options): FILE: platformio/package/commands/list.py function package_list_cmd (line 52) | def package_list_cmd(**options): function humanize_package (line 59) | def humanize_package(pkg, spec=None, verbose=False): function print_dependency_tree (line 73) | def print_dependency_tree(pm, specs=None, filter_specs=None, level=0, ve... function _pkg_tree_contains (line 123) | def _pkg_tree_contains(pm, root: PackageItem, children: List[PackageItem]): function list_global_packages (line 133) | def list_global_packages(options): function list_project_packages (line 158) | def list_project_packages(options): function print_project_env_platform_packages (line 190) | def print_project_env_platform_packages(project_env, options): function print_project_env_library_packages (line 214) | def print_project_env_library_packages(project_env, options): FILE: platformio/package/commands/outdated.py class OutdatedCandidate (line 28) | class OutdatedCandidate: method __init__ (line 29) | def __init__(self, pm, pkg, spec, envs=None): method __eq__ (line 38) | def __eq__(self, other): method check (line 47) | def check(self): method is_outdated (line 50) | def is_outdated(self): function package_outdated_cmd (line 64) | def package_outdated_cmd(project_dir, environments): function print_outdated_candidates (line 70) | def print_outdated_candidates(candidates): function get_candidate_update_color (line 118) | def get_candidate_update_color(outdated): function fetch_outdated_candidates (line 128) | def fetch_outdated_candidates(environments, with_progress=False): function find_platform_candidates (line 168) | def find_platform_candidates(config, environments): function find_platform_dependency_candidates (line 183) | def find_platform_dependency_candidates(env): function find_library_candidates (line 198) | def find_library_candidates(config, environments): FILE: platformio/package/commands/pack.py function package_pack_cmd (line 34) | def package_pack_cmd(package, output): FILE: platformio/package/commands/publish.py function validate_datetime (line 35) | def validate_datetime(ctx, param, value): # pylint: disable=unused-argu... function package_publish_cmd (line 85) | def package_publish_cmd( # pylint: disable=too-many-arguments,too-many-... function check_archive_file_names (line 157) | def check_archive_file_names(archive_path): function check_package_duplicates (line 168) | def check_package_duplicates( FILE: platformio/package/commands/search.py function package_search_cmd (line 31) | def package_search_cmd(query, page, sort): function print_search_result (line 43) | def print_search_result(result): function print_search_item (line 57) | def print_search_item(item): FILE: platformio/package/commands/show.py function package_show_cmd (line 36) | def package_show_cmd(spec, pkg_type): function fetch_package_data (line 125) | def fetch_package_data(spec, pkg_type=None): FILE: platformio/package/commands/uninstall.py function package_uninstall_cmd (line 56) | def package_uninstall_cmd(**options): function uninstall_global_dependencies (line 63) | def uninstall_global_dependencies(options): function uninstall_project_dependencies (line 86) | def uninstall_project_dependencies(options): function uninstall_project_env_dependencies (line 101) | def uninstall_project_env_dependencies(project_env, options=None): function _uninstall_project_env_platform (line 128) | def _uninstall_project_env_platform(project_env, options): function _uninstall_project_env_custom_platforms (line 147) | def _uninstall_project_env_custom_platforms(project_env, options): function _uninstall_project_env_custom_tools (line 163) | def _uninstall_project_env_custom_tools(project_env, options): function _uninstall_project_env_libraries (line 189) | def _uninstall_project_env_libraries(project_env, options): function _uninstall_project_env_custom_libraries (line 211) | def _uninstall_project_env_custom_libraries(project_env, options): FILE: platformio/package/commands/unpublish.py function package_unpublish_cmd (line 37) | def package_unpublish_cmd(package, type, undo): # pylint: disable=redef... FILE: platformio/package/commands/update.py function package_update_cmd (line 56) | def package_update_cmd(**options): function update_global_dependencies (line 63) | def update_global_dependencies(options): function update_project_dependencies (line 89) | def update_project_dependencies(options): function update_project_env_dependencies (line 104) | def update_project_env_dependencies(project_env, options=None): function _update_project_env_platform (line 125) | def _update_project_env_platform(project_env, options): function _update_project_env_custom_platforms (line 145) | def _update_project_env_custom_platforms(project_env, options): function _update_project_env_custom_tools (line 163) | def _update_project_env_custom_tools(project_env, options): function _update_project_env_libraries (line 194) | def _update_project_env_libraries(project_env, options): function _update_project_env_custom_libraries (line 219) | def _update_project_env_custom_libraries(project_env, options): FILE: platformio/package/download.py class FileDownloader (line 28) | class FileDownloader: method __init__ (line 29) | def __init__(self, url, dest_dir=None): method set_destination (line 58) | def set_destination(self, destination): method get_filepath (line 61) | def get_filepath(self): method get_lmtime (line 64) | def get_lmtime(self): method get_size (line 67) | def get_size(self): method start (line 72) | def start(self, with_progress=True, silent=False): method verify (line 122) | def verify(self, checksum=None): method _preserve_filemtime (line 158) | def _preserve_filemtime(self, lmdate): method __del__ (line 162) | def __del__(self): FILE: platformio/package/exception.py class PackageException (line 18) | class PackageException(UserSideException): class ManifestException (line 22) | class ManifestException(PackageException): class UnknownManifestError (line 26) | class UnknownManifestError(ManifestException): class ManifestParserError (line 30) | class ManifestParserError(ManifestException): class ManifestValidationError (line 34) | class ManifestValidationError(ManifestException): method __init__ (line 35) | def __init__(self, messages, data, valid_data): method __str__ (line 41) | def __str__(self): class MissingPackageManifestError (line 49) | class MissingPackageManifestError(ManifestException): class UnknownPackageError (line 53) | class UnknownPackageError(PackageException): class IncompatiblePackageError (line 57) | class IncompatiblePackageError(UnknownPackageError): class NotGlobalLibDir (line 64) | class NotGlobalLibDir(PackageException): FILE: platformio/package/lockfile.py class LockFileExists (line 39) | class LockFileExists(UserSideException): class LockFileTimeoutError (line 43) | class LockFileTimeoutError(UserSideException): class LockFile (line 47) | class LockFile: method __init__ (line 48) | def __init__(self, path, timeout=LOCKFILE_TIMEOUT, delay=LOCKFILE_DELAY): method _lock (line 54) | def _lock(self): method _unlock (line 81) | def _unlock(self): method acquire (line 91) | def acquire(self): method release (line 102) | def release(self): method __enter__ (line 110) | def __enter__(self): method __exit__ (line 113) | def __exit__(self, type_, value, traceback): method __del__ (line 116) | def __del__(self): FILE: platformio/package/manager/_download.py class PackageManagerDownloadMixin (line 28) | class PackageManagerDownloadMixin: method compute_download_path (line 31) | def compute_download_path(self, *args): method get_download_usagedb_path (line 38) | def get_download_usagedb_path(self): method set_download_utime (line 41) | def set_download_utime(self, path, utime=None): method cleanup_expired_downloads (line 46) | def cleanup_expired_downloads(self, _=None): method download (line 57) | def download(self, url, checksum=None): FILE: platformio/package/manager/_install.py class PackageManagerInstallMixin (line 29) | class PackageManagerInstallMixin: method unpack (line 33) | def unpack(src, dst): method install (line 44) | def install(self, spec, skip_dependencies=False, force=False): method _install (line 54) | def _install( method install_dependencies (line 134) | def install_dependencies(self, pkg, print_header=True): method install_dependency (line 154) | def install_dependency(self, dependency): method install_from_uri (line 172) | def install_from_uri(self, uri, spec, checksum=None): method _install_tmp_pkg (line 212) | def _install_tmp_pkg(self, tmp_pkg): FILE: platformio/package/manager/_legacy.py class PackageManagerLegacyMixin (line 21) | class PackageManagerLegacyMixin: method build_legacy_spec (line 22) | def build_legacy_spec(self, pkg_dir): method legacy_load_manifest (line 44) | def legacy_load_manifest(self, pkg): method legacy_get_installed (line 60) | def legacy_get_installed(self): FILE: platformio/package/manager/_registry.py class PackageManagerRegistryMixin (line 27) | class PackageManagerRegistryMixin: method install_from_registry (line 28) | def install_from_registry(self, spec, search_qualifiers=None): method get_registry_client_instance (line 73) | def get_registry_client_instance(self): method search_registry_packages (line 78) | def search_registry_packages(self, spec, qualifiers=None): method fetch_registry_package (line 92) | def fetch_registry_package(self, spec): method reveal_registry_package_id (line 108) | def reveal_registry_package_id(self, spec): method print_multi_package_issue (line 121) | def print_multi_package_issue(print_func, packages, spec): method find_best_registry_version (line 146) | def find_best_registry_version(self, packages, spec): method get_compatible_registry_versions (line 169) | def get_compatible_registry_versions(self, versions, spec=None, custom... method pick_best_registry_version (line 184) | def pick_best_registry_version(self, versions, spec=None, custom_syste... method pick_compatible_pkg_file (line 194) | def pick_compatible_pkg_file(self, version_files, custom_system=None): FILE: platformio/package/manager/_symlink.py class PackageManagerSymlinkMixin (line 23) | class PackageManagerSymlinkMixin: method is_symlink (line 25) | def is_symlink(path): method resolve_symlink (line 29) | def resolve_symlink(cls, path): method get_symlinked_package (line 39) | def get_symlinked_package(self, path): method install_symlink (line 48) | def install_symlink(self, spec): method uninstall_symlink (line 63) | def uninstall_symlink(self, spec): FILE: platformio/package/manager/_uninstall.py class PackageManagerUninstallMixin (line 25) | class PackageManagerUninstallMixin: method uninstall (line 26) | def uninstall(self, spec, skip_dependencies=False): method _uninstall (line 33) | def _uninstall(self, spec, skip_dependencies=False): method uninstall_dependencies (line 87) | def uninstall_dependencies(self, pkg): FILE: platformio/package/manager/_update.py class PackageManagerUpdateMixin (line 24) | class PackageManagerUpdateMixin: method outdated (line 25) | def outdated(self, pkg, spec=None): method _fetch_vcs_latest_version (line 67) | def _fetch_vcs_latest_version(self, pkg): method update (line 86) | def update( method _update (line 118) | def _update(self, pkg, outdated, skip_dependencies=False): FILE: platformio/package/manager/base.py class ClickLoggingHandler (line 46) | class ClickLoggingHandler(logging.Handler): method emit (line 47) | def emit(self, record): class BasePackageManager (line 51) | class BasePackageManager( # pylint: disable=too-many-public-methods,too... method __init__ (line 62) | def __init__(self, pkg_type, package_dir, compatibility=None): method __repr__ (line 74) | def __repr__(self): method _setup_logger (line 80) | def _setup_logger(self): method set_log_level (line 90) | def set_log_level(self, level): method lock (line 93) | def lock(self): method unlock (line 101) | def unlock(self): method __del__ (line 106) | def __del__(self): method memcache_get (line 109) | def memcache_get(self, key, default=None): method memcache_set (line 112) | def memcache_set(self, key, value): method memcache_reset (line 115) | def memcache_reset(self): method is_system_compatible (line 119) | def is_system_compatible(value, custom_system=None): method ensure_dir_exists (line 125) | def ensure_dir_exists(path): method ensure_spec (line 132) | def ensure_spec(spec): method manifest_names (line 136) | def manifest_names(self): method get_download_dir (line 139) | def get_download_dir(self): method get_tmp_dir (line 146) | def get_tmp_dir(self): method find_pkg_root (line 153) | def find_pkg_root(self, path, spec): # pylint: disable=unused-argument method get_manifest_path (line 161) | def get_manifest_path(self, pkg_dir): method manifest_exists (line 170) | def manifest_exists(self, pkg_dir): method load_manifest (line 173) | def load_manifest(self, src): method generate_rand_version (line 197) | def generate_rand_version(): method build_metadata (line 200) | def build_metadata(self, pkg_dir, spec, vcs_revision=None): method get_installed (line 219) | def get_installed(self): # pylint: disable=too-many-branches method get_package (line 260) | def get_package(self, spec): method test_pkg_spec (line 276) | def test_pkg_spec(pkg, spec): method get_pkg_dependencies (line 308) | def get_pkg_dependencies(self, pkg): method dependency_to_spec (line 312) | def dependency_to_spec(dependency): method call_pkg_script (line 319) | def call_pkg_script(self, pkg, event): FILE: platformio/package/manager/core.py function get_installed_core_packages (line 24) | def get_installed_core_packages(): function get_core_package_dir (line 35) | def get_core_package_dir(name, spec=None, auto_install=True): function update_core_packages (line 52) | def update_core_packages(): function remove_unnecessary_core_packages (line 64) | def remove_unnecessary_core_packages(dry_run=False): FILE: platformio/package/manager/library.py class LibraryPackageManager (line 26) | class LibraryPackageManager(BasePackageManager): # pylint: disable=too-... method __init__ (line 27) | def __init__(self, package_dir=None, **kwargs): method manifest_names (line 36) | def manifest_names(self): method find_pkg_root (line 39) | def find_pkg_root(self, path, spec): method find_library_root (line 64) | def find_library_root(path): method install_dependency (line 84) | def install_dependency(self, dependency): method get_builtin_libs (line 96) | def get_builtin_libs(storage_names=None): method is_builtin_lib (line 119) | def is_builtin_lib(cls, name): FILE: platformio/package/manager/platform.py class PlatformPackageManager (line 29) | class PlatformPackageManager(BasePackageManager): # pylint: disable=too... method __init__ (line 30) | def __init__(self, package_dir=None): method manifest_names (line 38) | def manifest_names(self): method install (line 41) | def install( # pylint: disable=arguments-differ,too-many-arguments,to... method uninstall (line 67) | def uninstall( # pylint: disable=arguments-differ method update (line 84) | def update( # pylint: disable=arguments-differ method get_installed_boards (line 108) | def get_installed_boards(self): method get_registered_boards (line 118) | def get_registered_boards(self): method get_all_boards (line 123) | def get_all_boards(self): method board_config (line 135) | def board_config(self, id_, platform=None): function remove_unnecessary_platform_packages (line 154) | def remove_unnecessary_platform_packages(dry_run=False): FILE: platformio/package/manager/tool.py class ToolPackageManager (line 20) | class ToolPackageManager(BasePackageManager): # pylint: disable=too-man... method __init__ (line 21) | def __init__(self, package_dir=None): method manifest_names (line 29) | def manifest_names(self): FILE: platformio/package/manifest/parser.py class ManifestFileType (line 30) | class ManifestFileType: method items (line 38) | def items(cls): method from_uri (line 42) | def from_uri(cls, uri): method from_dir (line 49) | def from_dir(cls, path): class ManifestParserFactory (line 56) | class ManifestParserFactory: method read_manifest_contents (line 58) | def read_manifest_contents(path): method new_from_file (line 69) | def new_from_file(cls, path, remote_url=False): method new_from_dir (line 80) | def new_from_dir(cls, path, remote_url=None): method new_from_url (line 105) | def new_from_url(remote_url): method new_from_archive (line 114) | def new_from_archive(path): method new (line 128) | def new( # pylint: disable=redefined-builtin class BaseManifestParser (line 142) | class BaseManifestParser: method __init__ (line 143) | def __init__(self, contents, remote_url=None, package_dir=None): method parse (line 159) | def parse(self, contents): method as_dict (line 162) | def as_dict(self): method str_to_list (line 166) | def str_to_list(value, sep=",", lowercase=False, unique=False): method cleanup_author (line 183) | def cleanup_author(author): method parse_author_name_and_email (line 195) | def parse_author_name_and_email(raw): method normalize_repository (line 210) | def normalize_repository(data): method parse_examples (line 225) | def parse_examples(self, data): method parse_examples_from_dir (line 240) | def parse_examples_from_dir(package_dir): class LibraryJsonManifestParser (line 316) | class LibraryJsonManifestParser(BaseManifestParser): method parse (line 319) | def parse(self, contents): method _process_renamed_fields (line 344) | def _process_renamed_fields(data): method _parse_authors (line 359) | def _parse_authors(self, raw): method _fix_platforms (line 368) | def _fix_platforms(items): method _parse_export (line 375) | def _parse_export(raw): method _parse_dependencies (line 386) | def _parse_dependencies(raw): class ModuleJsonManifestParser (line 416) | class ModuleJsonManifestParser(BaseManifestParser): method parse (line 419) | def parse(self, contents): method _parse_authors (line 438) | def _parse_authors(self, raw): method _parse_license (line 450) | def _parse_license(raw): method _parse_dependencies (line 456) | def _parse_dependencies(raw): class LibraryPropertiesManifestParser (line 465) | class LibraryPropertiesManifestParser(BaseManifestParser): method parse (line 468) | def parse(self, contents): method _parse_properties (line 497) | def _parse_properties(contents): method _parse_description (line 513) | def _parse_description(properties): method _parse_keywords (line 525) | def _parse_keywords(self, properties): method _parse_platforms (line 535) | def _parse_platforms(self, properties): method _parse_authors (line 560) | def _parse_authors(self, properties): method _parse_repository (line 588) | def _parse_repository(self, properties): method _parse_export (line 610) | def _parse_export(self): method _parse_dependencies (line 627) | def _parse_dependencies(raw): class PlatformJsonManifestParser (line 647) | class PlatformJsonManifestParser(BaseManifestParser): method parse (line 650) | def parse(self, contents): method _parse_dependencies (line 669) | def _parse_dependencies(raw): class PackageJsonManifestParser (line 680) | class PackageJsonManifestParser(BaseManifestParser): method parse (line 683) | def parse(self, contents): method _parse_system (line 694) | def _parse_system(self, data): method _parse_homepage (line 704) | def _parse_homepage(data): method _parse_repository (line 711) | def _parse_repository(data): FILE: platformio/package/manifest/schema.py class BaseSchema (line 30) | class BaseSchema(Schema): class Meta (line 31) | class Meta: method load_manifest (line 34) | def load_manifest(self, data): method handle_error (line 37) | def handle_error(self, error, data, **_): # pylint: disable=arguments... class StrictSchema (line 45) | class StrictSchema(BaseSchema): method handle_error (line 46) | def handle_error(self, error, data, **_): # pylint: disable=arguments... class StrictListField (line 57) | class StrictListField(fields.List): method _deserialize (line 58) | def _deserialize( # pylint: disable=arguments-differ class AuthorSchema (line 69) | class AuthorSchema(StrictSchema): class RepositorySchema (line 76) | class RepositorySchema(StrictSchema): class DependencySchema (line 88) | class DependencySchema(StrictSchema): class ExportSchema (line 115) | class ExportSchema(BaseSchema): class ExampleSchema (line 120) | class ExampleSchema(StrictSchema): class ScriptField (line 138) | class ScriptField(fields.Field): method _deserialize (line 139) | def _deserialize(self, value, attr, data, **kwargs): class ManifestSchema (line 150) | class ManifestSchema(BaseSchema): method validate_version (line 235) | def validate_version(self, value): method validate_license (line 252) | def validate_license(self, value): method load_spdx_licenses (line 278) | def load_spdx_licenses(): FILE: platformio/package/meta.py class PackageType (line 31) | class PackageType: method items (line 37) | def items(cls): method get_manifest_map (line 41) | def get_manifest_map(cls): method from_archive (line 53) | def from_archive(cls, path): class PackageCompatibility (line 67) | class PackageCompatibility: method from_dependency (line 78) | def from_dependency(cls, dependency): method __init__ (line 87) | def __init__(self, **kwargs): method __repr__ (line 96) | def __repr__(self): method to_search_qualifiers (line 99) | def to_search_qualifiers(self, fields=None): method is_compatible (line 106) | def is_compatible(self, other): method _compare_versions (line 124) | def _compare_versions(self, current, other): class PackageOutdatedResult (line 139) | class PackageOutdatedResult: method __init__ (line 144) | def __init__(self, current, latest=None, wanted=None, detached=False): method __repr__ (line 150) | def __repr__(self): method __setattr__ (line 161) | def __setattr__(self, name, value): method update_increment_type (line 171) | def update_increment_type(self): method is_outdated (line 188) | def is_outdated(self, allow_incompatible=False): class PackageSpec (line 198) | class PackageSpec: # pylint: disable=too-many-instance-attributes method __init__ (line 199) | def __init__( # pylint: disable=redefined-builtin,too-many-arguments,... method __eq__ (line 218) | def __eq__(self, other): method __hash__ (line 229) | def __hash__(self): method __repr__ (line 237) | def __repr__(self): method external (line 244) | def external(self): method symlink (line 248) | def symlink(self): method requirements (line 252) | def requirements(self): method requirements (line 256) | def requirements(self, value): method humanize (line 269) | def humanize(self): method has_custom_name (line 283) | def has_custom_name(self): method as_dict (line 286) | def as_dict(self): method as_dependency (line 295) | def as_dependency(self): method _parse (line 308) | def _parse(self, raw): method _parse_local_file (line 336) | def _parse_local_file(raw): method _parse_requirements (line 345) | def _parse_requirements(self, raw): method _parse_custom_name (line 354) | def _parse_custom_name(self, raw): method _parse_id (line 364) | def _parse_id(self, raw): method _parse_owner (line 372) | def _parse_owner(self, raw): method _parse_uri (line 380) | def _parse_uri(self, raw): method _parse_name_from_uri (line 416) | def _parse_name_from_uri(uri): class PackageMetadata (line 437) | class PackageMetadata: method __init__ (line 438) | def __init__( # pylint: disable=redefined-builtin method __repr__ (line 450) | def __repr__(self): method __eq__ (line 456) | def __eq__(self, other): method version (line 467) | def version(self): method version (line 471) | def version(self, value): method as_dict (line 481) | def as_dict(self): method dump (line 489) | def dump(self, path): method load (line 494) | def load(path): class PackageItem (line 505) | class PackageItem: method __init__ (line 508) | def __init__(self, path, metadata=None): method __repr__ (line 514) | def __repr__(self): method __eq__ (line 519) | def __eq__(self, other): method __hash__ (line 530) | def __hash__(self): method exists (line 533) | def exists(self): method get_safe_dirname (line 536) | def get_safe_dirname(self): method get_metafile_locations (line 540) | def get_metafile_locations(self): method load_meta (line 548) | def load_meta(self): method dump_meta (line 556) | def dump_meta(self): FILE: platformio/package/pack.py class PackagePacker (line 35) | class PackagePacker: method __init__ (line 118) | def __init__(self, package, manifest_uri=None): method get_archive_name (line 124) | def get_archive_name(name, version, system=None): method load_gitignore_filters (line 136) | def load_gitignore_filters(path): method pack (line 149) | def pack(self, dst=None): method find_source_root (line 184) | def find_source_root(self, src): method create_tarball (line 207) | def create_tarball(self, src, dst, manifest): method compute_src_filters (line 231) | def compute_src_filters(self, src, include, exclude): FILE: platformio/package/unpack.py class ExtractArchiveItemError (line 28) | class ExtractArchiveItemError(PackageException): class BaseArchiver (line 35) | class BaseArchiver: method __init__ (line 36) | def __init__(self, arhfileobj): method get_items (line 39) | def get_items(self): method get_item_filename (line 42) | def get_item_filename(self, item): method is_link (line 45) | def is_link(self, item): method extract_item (line 48) | def extract_item(self, item, dest_dir): method after_extract (line 52) | def after_extract(self, item, dest_dir): method close (line 55) | def close(self): class TARArchiver (line 59) | class TARArchiver(BaseArchiver): method __init__ (line 60) | def __init__(self, archpath): method get_items (line 63) | def get_items(self): method get_item_filename (line 66) | def get_item_filename(self, item): method is_link (line 70) | def is_link(item): # pylint: disable=arguments-differ method resolve_path (line 74) | def resolve_path(path): method is_bad_path (line 77) | def is_bad_path(self, path, base): method is_bad_link (line 80) | def is_bad_link(self, item, base): method extract_item (line 85) | def extract_item(self, item, dest_dir): class ZIPArchiver (line 105) | class ZIPArchiver(BaseArchiver): method __init__ (line 106) | def __init__(self, archpath): method preserve_permissions (line 110) | def preserve_permissions(item, dest_dir): method preserve_mtime (line 116) | def preserve_mtime(item, dest_dir): method is_link (line 123) | def is_link(_): # pylint: disable=arguments-differ method get_items (line 126) | def get_items(self): method get_item_filename (line 129) | def get_item_filename(self, item): method after_extract (line 132) | def after_extract(self, item, dest_dir): class FileUnpacker (line 137) | class FileUnpacker: method __init__ (line 138) | def __init__(self, path): method __enter__ (line 142) | def __enter__(self): method __exit__ (line 146) | def __exit__(self, *args): method new_archiver (line 151) | def new_archiver(path): method unpack (line 166) | def unpack( FILE: platformio/package/vcsclient.py class VCSBaseException (line 24) | class VCSBaseException(UserSideException): class VCSClientFactory (line 28) | class VCSClientFactory: method new (line 30) | def new(src_dir, remote_url, silent=False): class VCSClientBase (line 56) | class VCSClientBase: method __init__ (line 59) | def __init__(self, src_dir, remote_url=None, tag=None, silent=False): method check_client (line 66) | def check_client(self): method storage_dir (line 80) | def storage_dir(self): method export (line 83) | def export(self): method update (line 86) | def update(self): method can_be_updated (line 90) | def can_be_updated(self): method get_current_revision (line 93) | def get_current_revision(self): method get_latest_revision (line 96) | def get_latest_revision(self): method run_cmd (line 99) | def run_cmd(self, args, **kwargs): method get_cmd_output (line 113) | def get_cmd_output(self, args, **kwargs): class GitClient (line 125) | class GitClient(VCSClientBase): method __init__ (line 129) | def __init__(self, *args, **kwargs): method configure (line 134) | def configure(cls): method check_client (line 150) | def check_client(self): method get_branches (line 158) | def get_branches(self): method get_current_branch (line 163) | def get_current_branch(self): method get_tags (line 173) | def get_tags(self): method is_commit_id (line 178) | def is_commit_id(text): method can_be_updated (line 182) | def can_be_updated(self): method export (line 185) | def export(self): method update (line 201) | def update(self): method get_current_revision (line 205) | def get_current_revision(self): method get_latest_revision (line 208) | def get_latest_revision(self): class HgClient (line 228) | class HgClient(VCSClientBase): method export (line 231) | def export(self): method update (line 238) | def update(self): method get_current_revision (line 242) | def get_current_revision(self): method get_latest_revision (line 245) | def get_latest_revision(self): class SvnClient (line 251) | class SvnClient(VCSClientBase): method export (line 254) | def export(self): method update (line 261) | def update(self): method get_current_revision (line 265) | def get_current_revision(self): FILE: platformio/package/version.py class SemanticVersionError (line 22) | class SemanticVersionError(UserSideException): function cast_version_to_semver (line 26) | def cast_version_to_semver(value, force=True, raise_exception=False): function pepver_to_semver (line 45) | def pepver_to_semver(pepver): function get_original_version (line 51) | def get_original_version(version): FILE: platformio/platform/_packages.py class PlatformPackagesMixin (line 18) | class PlatformPackagesMixin: method get_package_spec (line 19) | def get_package_spec(self, name, version=None): method get_package (line 26) | def get_package(self, name, spec=None): method get_package_dir (line 31) | def get_package_dir(self, name): method get_package_version (line 35) | def get_package_version(self, name): method get_installed_packages (line 39) | def get_installed_packages(self, with_optional=True, with_optional_ver... method dump_used_packages (line 55) | def dump_used_packages(self): method install_package (line 69) | def install_package(self, name, spec=None, force=False): method install_required_packages (line 72) | def install_required_packages(self, force=False): method uninstall_packages (line 78) | def uninstall_packages(self): method update_packages (line 82) | def update_packages(self): method are_outdated_packages (line 86) | def are_outdated_packages(self): FILE: platformio/platform/_run.py class PlatformRunMixin (line 31) | class PlatformRunMixin: method encode_scons_arg (line 35) | def encode_scons_arg(value): method decode_scons_arg (line 41) | def decode_scons_arg(data): method run (line 47) | def run( # pylint: disable=too-many-arguments,too-many-positional-arg... method _run_scons (line 70) | def _run_scons(self, variables, targets, jobs): method _on_stdout_line (line 135) | def _on_stdout_line(self, line): method _on_stderr_line (line 140) | def _on_stderr_line(self, line): method _echo_line (line 150) | def _echo_line(self, line, level): method _echo_missed_dependency (line 162) | def _echo_missed_dependency(filename): FILE: platformio/platform/base.py class PlatformBase (line 29) | class PlatformBase( # pylint: disable=too-many-instance-attributes,too-... method __init__ (line 35) | def __init__(self, manifest_path): method name (line 49) | def name(self): method title (line 53) | def title(self): method description (line 57) | def description(self): method version (line 61) | def version(self): method homepage (line 65) | def homepage(self): method repository_url (line 69) | def repository_url(self): method license (line 73) | def license(self): method frameworks (line 77) | def frameworks(self): method engines (line 81) | def engines(self): method manifest (line 85) | def manifest(self): method packages (line 89) | def packages(self): method ensure_engine_compatible (line 105) | def ensure_engine_compatible(self): method get_dir (line 118) | def get_dir(self): method get_build_script (line 121) | def get_build_script(self): method is_embedded (line 127) | def is_embedded(self): method get_boards (line 133) | def get_boards(self, id_=None): method board_config (line 171) | def board_config(self, id_): method get_package_type (line 175) | def get_package_type(self, name): method configure_project_packages (line 178) | def configure_project_packages(self, env, targets=None): method configure_default_packages (line 187) | def configure_default_packages(self, options, targets): method configure_debug_session (line 209) | def configure_debug_session(self, debug_config): method generate_sample_code (line 212) | def generate_sample_code(self, project_config, environment): method on_installed (line 215) | def on_installed(self): method on_uninstalled (line 218) | def on_uninstalled(self): method get_lib_storages (line 221) | def get_lib_storages(self): FILE: platformio/platform/board.py class PlatformBoardConfig (line 24) | class PlatformBoardConfig: method __init__ (line 25) | def __init__(self, manifest_path): method get (line 38) | def get(self, path, default=MISSING): method update (line 49) | def update(self, path, value): method __contains__ (line 58) | def __contains__(self, key): method id (line 66) | def id(self): method id_ (line 70) | def id_(self): method manifest (line 74) | def manifest(self): method get_brief_data (line 77) | def get_brief_data(self): method get_debug_data (line 105) | def get_debug_data(self): method get_debug_tool_name (line 116) | def get_debug_tool_name(self, custom=None): FILE: platformio/platform/exception.py class PlatformException (line 18) | class PlatformException(UserSideException): class UnknownPlatform (line 22) | class UnknownPlatform(PlatformException): class IncompatiblePlatform (line 26) | class IncompatiblePlatform(PlatformException): class UnknownBoard (line 33) | class UnknownBoard(PlatformException): class InvalidBoardManifest (line 37) | class InvalidBoardManifest(PlatformException): class UnknownFramework (line 41) | class UnknownFramework(PlatformException): class BuildScriptNotFound (line 45) | class BuildScriptNotFound(PlatformException): FILE: platformio/platform/factory.py class PlatformFactory (line 28) | class PlatformFactory: method get_clsname (line 30) | def get_clsname(name): method load_platform_module (line 35) | def load_platform_module(name, path): method new (line 44) | def new(cls, pkg_or_spec, autoinstall=False) -> base.PlatformBase: method from_env (line 95) | def from_env(cls, env, targets=None, autoinstall=False): FILE: platformio/proc.py class AsyncPipeBase (line 30) | class AsyncPipeBase: method __init__ (line 31) | def __init__(self): method get_buffer (line 40) | def get_buffer(self): method fileno (line 43) | def fileno(self): method run (line 46) | def run(self): method do_reading (line 52) | def do_reading(self): method close (line 55) | def close(self): class BuildAsyncPipe (line 61) | class BuildAsyncPipe(AsyncPipeBase): method __init__ (line 62) | def __init__(self, line_callback, data_callback): method do_reading (line 67) | def do_reading(self): class LineBufferedAsyncPipe (line 95) | class LineBufferedAsyncPipe(AsyncPipeBase): method __init__ (line 96) | def __init__(self, line_callback): method do_reading (line 100) | def do_reading(self): function exec_command (line 107) | def exec_command(*args, **kwargs): function capture_std_streams (line 144) | def capture_std_streams(stdout, stderr=None): function is_ci (line 154) | def is_ci(): function is_container (line 158) | def is_container(): function get_pythonexe_path (line 167) | def get_pythonexe_path(): function copy_pythonpath_to_osenv (line 171) | def copy_pythonpath_to_osenv(): function where_is_program (line 187) | def where_is_program(program, envpath=None): function append_env_path (line 210) | def append_env_path(name, value): function force_exit (line 218) | def force_exit(code=0): FILE: platformio/project/cli.py function cli (line 31) | def cli(): FILE: platformio/project/commands/config.py function project_config_cmd (line 35) | def project_config_cmd(project_dir, lint, json_output): function print_configuration (line 44) | def print_configuration(json_output=False): function lint_configuration (line 67) | def lint_configuration(json_output=False): FILE: platformio/project/commands/init.py function validate_boards (line 35) | def validate_boards(ctx, param, value): # pylint: disable=unused-argument function project_init_cmd (line 71) | def project_init_cmd( # pylint: disable=too-many-positional-arguments function print_header (line 131) | def print_header(project_dir): function print_footer (line 148) | def print_footer(is_new_project): function init_base_project (line 156) | def init_base_project(project_dir): function init_include_readme (line 174) | def init_include_readme(include_dir): function init_lib_readme (line 218) | def init_lib_readme(lib_dir): function init_test_readme (line 271) | def init_test_readme(test_dir): function init_cvs_ignore (line 289) | def init_cvs_ignore(): function update_board_envs (line 297) | def update_board_envs(project_dir, boards, extra_project_options, env_pr... function update_project_env (line 338) | def update_project_env(environment, extra_project_options=None): function init_sample_code (line 368) | def init_sample_code(config, environment): FILE: platformio/project/commands/metadata.py function project_metadata_cmd (line 39) | def project_metadata_cmd(project_dir, environments, json_output, json_ou... FILE: platformio/project/config.py class ProjectConfigBase (line 43) | class ProjectConfigBase: method parse_multi_values (line 67) | def parse_multi_values(items): method get_default_path (line 84) | def get_default_path(): method __init__ (line 91) | def __init__(self, path=None, parse_extra=True, expand_interpolations=... method __getattr__ (line 103) | def __getattr__(self, name): method read (line 106) | def read(self, path, parse_extra=True): method _maintain_renamed_options (line 125) | def _maintain_renamed_options(self): method get_section_scope (line 166) | def get_section_scope(section): method walk_options (line 170) | def walk_options(self, root_section): method options (line 187) | def options(self, section=None, env=None): method has_option (line 210) | def has_option(self, section, option): method items (line 215) | def items(self, section=None, env=None, as_dict=False): method set (line 225) | def set(self, section, option, value): method resolve_renamed_option (line 239) | def resolve_renamed_option(self, section, old_name): method find_option_meta (line 252) | def find_option_meta(self, section, option): method _traverse_for_value (line 264) | def _traverse_for_value(self, section, option, option_meta=None): method getraw (line 276) | def getraw( method _expand_interpolations (line 315) | def _expand_interpolations(self, section, option, value): method _re_interpolation_handler (line 343) | def _re_interpolation_handler(self, parent_section, parent_option, mat... method get (line 381) | def get(self, section, option, default=MISSING): method cast_to (line 407) | def cast_to(value, to_type): method envs (line 417) | def envs(self): method default_envs (line 420) | def default_envs(self): method get_default_env (line 423) | def get_default_env(self): method validate (line 430) | def validate(self, envs=None, silent=False): class ProjectConfigLintMixin (line 468) | class ProjectConfigLintMixin: method lint (line 470) | def lint(cls, path=None): class ProjectConfigDirsMixin (line 503) | class ProjectConfigDirsMixin: method get_optional_dir (line 504) | def get_optional_dir(self, name): class ProjectConfig (line 513) | class ProjectConfig(ProjectConfigBase, ProjectConfigLintMixin, ProjectCo... method get_instance (line 517) | def get_instance(path=None): method __repr__ (line 528) | def __repr__(self): method as_tuple (line 531) | def as_tuple(self): method to_json (line 534) | def to_json(self): method update (line 537) | def update(self, data, clear=False): method save (line 547) | def save(self, path=None): FILE: platformio/project/exception.py class ProjectError (line 18) | class ProjectError(PlatformioException): class NotPlatformIOProjectError (line 22) | class NotPlatformIOProjectError(ProjectError, UserSideException): class InvalidProjectConfError (line 30) | class InvalidProjectConfError(ProjectError, UserSideException): class UndefinedEnvPlatformError (line 34) | class UndefinedEnvPlatformError(ProjectError, UserSideException): class ProjectEnvsNotAvailableError (line 38) | class ProjectEnvsNotAvailableError(ProjectError, UserSideException): class UnknownEnvNamesError (line 42) | class UnknownEnvNamesError(ProjectError, UserSideException): class InvalidEnvNameError (line 46) | class InvalidEnvNameError(ProjectError, UserSideException): class ProjectOptionValueError (line 53) | class ProjectOptionValueError(ProjectError, UserSideException): FILE: platformio/project/helpers.py function get_project_dir (line 27) | def get_project_dir(): function is_platformio_project (line 31) | def is_platformio_project(project_dir=None): function find_project_dir_above (line 37) | def find_project_dir_above(path): function get_project_watch_lib_dirs (line 47) | def get_project_watch_lib_dirs(): function get_project_cache_dir (line 66) | def get_project_cache_dir(): function get_default_projects_dir (line 71) | def get_default_projects_dir(): function compute_project_checksum (line 93) | def compute_project_checksum(config): function load_build_metadata (line 134) | def load_build_metadata(project_dir, env_or_envs, cache=False, build_typ... function _load_build_metadata (line 165) | def _load_build_metadata(project_dir, env_names, build_type=None): function _get_cached_build_metadata (line 189) | def _get_cached_build_metadata(env_names): FILE: platformio/project/integration/generator.py class ProjectGenerator (line 26) | class ProjectGenerator: method __init__ (line 27) | def __init__(self, config, env_name, ide, boards=None): method get_best_envname (line 34) | def get_best_envname(self, boards=None): method get_ide_tpls_dir (line 53) | def get_ide_tpls_dir(): method get_supported_ides (line 57) | def get_supported_ides(cls): method filter_includes (line 68) | def filter_includes(includes_map, ignore_scopes=None, to_unix_path=True): method _load_tplvars (line 81) | def _load_tplvars(self): method get_src_files (line 132) | def get_src_files(self): method get_tpls (line 142) | def get_tpls(self): method generate (line 155) | def generate(self): method _render_tpl (line 168) | def _render_tpl(tpl_path, tpl_vars): method _merge_contents (line 173) | def _merge_contents(dst_path, contents): FILE: platformio/project/options.py class ConfigOption (line 26) | class ConfigOption: # pylint: disable=too-many-instance-attributes,too-... method __init__ (line 27) | def __init__( method as_dict (line 53) | def as_dict(self): function ConfigPlatformioOption (line 74) | def ConfigPlatformioOption(*args, **kwargs): function ConfigEnvOption (line 78) | def ConfigEnvOption(*args, **kwargs): function validate_dir (line 82) | def validate_dir(path): function get_default_core_dir (line 93) | def get_default_core_dir(): function get_config_options_schema (line 825) | def get_config_options_schema(): FILE: platformio/project/savedeps.py function pkg_to_save_spec (line 23) | def pkg_to_save_spec(pkg, user_spec): function save_project_dependencies (line 39) | def save_project_dependencies( function _ignore_deps_by_specs (line 67) | def _ignore_deps_by_specs(deps, specs): FILE: platformio/registry/access/cli.py function cli (line 35) | def cli(): FILE: platformio/registry/access/commands/grant.py function access_grant_cmd (line 33) | def access_grant_cmd(level, client, urn, urn_type): # pylint: disable=u... FILE: platformio/registry/access/commands/list.py function access_list_cmd (line 27) | def access_list_cmd(owner, urn_type, json_output): # pylint: disable=un... FILE: platformio/registry/access/commands/private.py function access_private_cmd (line 27) | def access_private_cmd(urn, urn_type): # pylint: disable=unused-argument FILE: platformio/registry/access/commands/public.py function access_public_cmd (line 27) | def access_public_cmd(urn, urn_type): # pylint: disable=unused-argument FILE: platformio/registry/access/commands/revoke.py function access_revoke_cmd (line 32) | def access_revoke_cmd(client, urn, urn_type): # pylint: disable=unused-... FILE: platformio/registry/access/validate.py function validate_urn (line 22) | def validate_urn(value): function validate_client (line 29) | def validate_client(value): FILE: platformio/registry/client.py class RegistryClient (line 22) | class RegistryClient(HTTPClient): method __init__ (line 23) | def __init__(self): method allowed_private_packages (line 28) | def allowed_private_packages(): method publish_package (line 45) | def publish_package( # pylint: disable=redefined-builtin, too-many-po... method unpublish_package (line 67) | def unpublish_package( # pylint: disable=redefined-builtin, too-many-... method update_resource (line 77) | def update_resource(self, urn, private): method grant_access_for_resource (line 85) | def grant_access_for_resource(self, urn, client, level): method revoke_access_from_resource (line 93) | def revoke_access_from_resource(self, urn, client): method list_resources (line 101) | def list_resources(self, owner): method list_packages (line 110) | def list_packages(self, query=None, qualifiers=None, page=None, sort=N... method get_package (line 145) | def get_package( FILE: platformio/registry/mirror.py class RegistryFileMirrorIterator (line 25) | class RegistryFileMirrorIterator: method __init__ (line 28) | def __init__(self, download_url): method __iter__ (line 34) | def __iter__(self): # pylint: disable=non-iterator-returned method __next__ (line 37) | def __next__(self): method get_http_client (line 96) | def get_http_client(self): FILE: platformio/remote/ac/base.py class AsyncCommandBase (line 19) | class AsyncCommandBase: method __init__ (line 22) | def __init__(self, options=None, on_end_callback=None): method id (line 36) | def id(self): method pause (line 39) | def pause(self): method unpause (line 43) | def unpause(self): method start (line 47) | def start(self): method stop (line 50) | def stop(self): method _ac_ended (line 53) | def _ac_ended(self): method _ac_ondata (line 64) | def _ac_ondata(self, data): method ac_read (line 74) | def ac_read(self): method ac_write (line 84) | def ac_write(self, data): method ac_close (line 88) | def ac_close(self): FILE: platformio/remote/ac/process.py class ProcessAsyncCmd (line 22) | class ProcessAsyncCmd(protocol.ProcessProtocol, AsyncCommandBase): method start (line 23) | def start(self): method outReceived (line 30) | def outReceived(self, data): method errReceived (line 33) | def errReceived(self, data): method processExited (line 36) | def processExited(self, reason): method processEnded (line 39) | def processEnded(self, reason): FILE: platformio/remote/ac/psync.py class ProjectSyncAsyncCmd (line 24) | class ProjectSyncAsyncCmd(AsyncCommandBase): method __init__ (line 25) | def __init__(self, *args, **kwargs): method start (line 30) | def start(self): method stop (line 38) | def stop(self): method ac_write (line 43) | def ac_write(self, data): FILE: platformio/remote/ac/serial.py class SerialPortAsyncCmd (line 23) | class SerialPortAsyncCmd(protocol.Protocol, AsyncCommandBase): method start (line 24) | def start(self): method connectionMade (line 37) | def connectionMade(self): method reset_device (line 44) | def reset_device(self): method dataReceived (line 53) | def dataReceived(self, data): method connectionLost (line 56) | def connectionLost(self, reason): # pylint: disable=unused-argument FILE: platformio/remote/cli.py function cli (line 44) | def cli(ctx, agent): function remote_agent (line 54) | def remote_agent(): function remote_agent_start (line 67) | def remote_agent_start(name, share, working_dir): function remote_agent_list (line 74) | def remote_agent_list(): function remote_update (line 91) | def remote_update(agents, only_check, dry_run): function remote_run (line 113) | def remote_run( # pylint: disable=too-many-positional-arguments function remote_test (line 201) | def remote_test( # pylint: disable=redefined-builtin,too-many-positiona... function remote_device (line 257) | def remote_device(): function device_list (line 264) | def device_list(agents, json_output): function device_monitor (line 352) | def device_monitor(ctx, agents, **kwargs): function project_options_to_monitor_argv (line 396) | def project_options_to_monitor_argv(cli_options): FILE: platformio/remote/client/agent_list.py class AgentListClient (line 22) | class AgentListClient(RemoteClientBase): method agent_pool_ready (line 23) | def agent_pool_ready(self): method _cbResult (line 28) | def _cbResult(self, result): FILE: platformio/remote/client/agent_service.py class RemoteAgentService (line 30) | class RemoteAgentService(RemoteClientBase): method __init__ (line 31) | def __init__(self, name, share, working_dir=None): method agent_pool_ready (line 47) | def agent_pool_ready(self): method cb_disconnected (line 50) | def cb_disconnected(self, reason): method remote_acread (line 55) | def remote_acread(self, ac_id): method remote_acwrite (line 61) | def remote_acwrite(self, ac_id, data): method remote_acclose (line 67) | def remote_acclose(self, ac_id): method remote_cmd (line 75) | def remote_cmd(self, cmd, options): method _defer_async_cmd (line 81) | def _defer_async_cmd(self, ac, pass_agent_name=True): method _process_cmd_device_list (line 87) | def _process_cmd_device_list(self, _): method _process_cmd_device_monitor (line 90) | def _process_cmd_device_monitor(self, options): method _process_cmd_psync (line 117) | def _process_cmd_psync(self, options): method _process_cmd_run (line 132) | def _process_cmd_run(self, options): method _process_cmd_test (line 135) | def _process_cmd_test(self, options): method _process_cmd_run_or_test (line 138) | def _process_cmd_run_or_test( # pylint: disable=too-many-locals,too-m... method _process_cmd_update (line 220) | def _process_cmd_update(self, options): FILE: platformio/remote/client/async_base.py class AsyncClientBase (line 21) | class AsyncClientBase(RemoteClientBase): method __init__ (line 22) | def __init__(self, command, agents, options): method agent_pool_ready (line 31) | def agent_pool_ready(self): method cb_async_result (line 34) | def cb_async_result(self, result): method acread_data (line 42) | def acread_data(self, agent_id, ac_id, agent_name=None): method cb_acread_result (line 47) | def cb_acread_result(self, result, agent_id, ac_id, agent_name): method acclose (line 56) | def acclose(self, agent_id, ac_id): method cb_acclose_result (line 61) | def cb_acclose_result(self, exit_code): FILE: platformio/remote/client/base.py class RemoteClientBase (line 33) | class RemoteClientBase( # pylint: disable=too-many-instance-attributes method __init__ (line 40) | def __init__(self): method _log_observer (line 56) | def _log_observer(self, event): method connect (line 72) | def connect(self): method cb_client_authorization_failed (line 100) | def cb_client_authorization_failed(self, err): method cb_client_authorization_made (line 107) | def cb_client_authorization_made(self, perspective): method _cb_client_join_made (line 114) | def _cb_client_join_made(self, result): method remote_service (line 123) | def remote_service(self, command, options): method restart_ping (line 130) | def restart_ping(self, reset_counter=True): method _do_ping (line 135) | def _do_ping(self): method stop_ping (line 142) | def stop_ping(self, reset_counter=True): method _cb_pong (line 150) | def _cb_pong(self, result): method agent_pool_ready (line 160) | def agent_pool_ready(self): method disconnect (line 163) | def disconnect(self, exit_code=None): method cb_disconnected (line 171) | def cb_disconnected(self, _): method cb_global_error (line 176) | def cb_global_error(self, err): FILE: platformio/remote/client/device_list.py class DeviceListClient (line 22) | class DeviceListClient(RemoteClientBase): method __init__ (line 23) | def __init__(self, agents, json_output): method agent_pool_ready (line 28) | def agent_pool_ready(self): method _cbResult (line 33) | def _cbResult(self, result): FILE: platformio/remote/client/device_monitor.py class SMBridgeProtocol (line 25) | class SMBridgeProtocol(protocol.Protocol): method connectionMade (line 26) | def connectionMade(self): method connectionLost (line 29) | def connectionLost(self, reason): # pylint: disable=unused-argument method dataReceived (line 32) | def dataReceived(self, data): class SMBridgeFactory (line 36) | class SMBridgeFactory(protocol.ServerFactory): method __init__ (line 37) | def __init__(self, cdm): method buildProtocol (line 41) | def buildProtocol(self, addr): # pylint: disable=unused-argument method add_client (line 46) | def add_client(self, client): method remove_client (line 51) | def remove_client(self, client): method has_clients (line 57) | def has_clients(self): method send_to_clients (line 60) | def send_to_clients(self, data): method send_to_server (line 67) | def send_to_server(self, data): class DeviceMonitorClient (line 71) | class DeviceMonitorClient( # pylint: disable=too-many-instance-attributes method __init__ (line 76) | def __init__(self, agents, **kwargs): method agent_pool_ready (line 88) | def agent_pool_ready(self): method _cb_device_list (line 95) | def _cb_device_list(self, result): method start_remote_monitor (line 143) | def start_remote_monitor(self, agent, port): method cb_async_result (line 157) | def cb_async_result(self, result): method client_terminal_stopped (line 184) | def client_terminal_stopped(self): method acread_data (line 192) | def acread_data(self, force=False): method cb_acread_result (line 211) | def cb_acread_result(self, result): method acwrite_data (line 218) | def acwrite_data(self, data, force=False): method cb_acwrite_result (line 238) | def cb_acwrite_result(self, result): FILE: platformio/remote/client/run_or_test.py class RunOrTestClient (line 30) | class RunOrTestClient(AsyncClientBase): method __init__ (line 55) | def __init__(self, *args, **kwargs): method generate_project_id (line 60) | def generate_project_id(self, path): method add_project_items (line 65) | def add_project_items(self, psync): method _add_project_source_items (line 82) | def _add_project_source_items(self, cfg, psync): method _add_project_binary_items (line 98) | def _add_project_binary_items(cfg, psync): method _cb_tarfile_filter (line 112) | def _cb_tarfile_filter(self, path): method is_file_with_exts (line 125) | def is_file_with_exts(path, exts): method agent_pool_ready (line 130) | def agent_pool_ready(self): method psync_init (line 133) | def psync_init(self): method cb_psync_init_result (line 147) | def cb_psync_init_result(self, result): method cb_psync_dbindex_result (line 165) | def cb_psync_dbindex_result(self, result, agent_id, ac_id): method cb_psync_delete_result (line 200) | def cb_psync_delete_result(self, result, agent_id, ac_id, dbindex): method psync_upload (line 204) | def psync_upload(self, agent_id, ac_id, dbindex): method psync_upload_chunk (line 216) | def psync_upload_chunk(self, agent_id, ac_id, dbindex, fileobj): method cb_psync_upload_chunk_result (line 242) | def cb_psync_upload_chunk_result( # pylint: disable=too-many-argument... method psync_finalize (line 256) | def psync_finalize(self, agent_id, ac_id): method cb_psync_completed_result (line 264) | def cb_psync_completed_result(self, result, agent_id): FILE: platformio/remote/client/update_core.py class UpdateCoreClient (line 18) | class UpdateCoreClient(AsyncClientBase): method agent_pool_ready (line 19) | def agent_pool_ready(self): FILE: platformio/remote/factory/client.py class RemoteClientFactory (line 23) | class RemoteClientFactory(pb.PBClientFactory, protocol.ReconnectingClien... method clientConnectionMade (line 24) | def clientConnectionMade(self, broker): method clientAuthorizationFailed (line 58) | def clientAuthorizationFailed(self, err): method clientConnectionFailed (line 62) | def clientConnectionFailed(self, connector, reason): method clientConnectionLost (line 71) | def clientConnectionLost( # pylint: disable=arguments-differ FILE: platformio/remote/factory/ssl.py class SSLContextFactory (line 20) | class SSLContextFactory(ssl.ClientContextFactory): method __init__ (line 21) | def __init__(self, host): method getContext (line 25) | def getContext(self): method verifyHostname (line 33) | def verifyHostname( # pylint: disable=unused-argument,too-many-argume... FILE: platformio/remote/projectsync.py class PROJECT_SYNC_STAGE (line 29) | class PROJECT_SYNC_STAGE(constants.Flags): class ProjectSync (line 38) | class ProjectSync: method __init__ (line 39) | def __init__(self, path): method add_item (line 46) | def add_item(self, path, relpath, cb_filter=None): method get_items (line 49) | def get_items(self): method rebuild_dbindex (line 52) | def rebuild_dbindex(self): method _insert_to_db (line 66) | def _insert_to_db(self, path, relpath): method get_dbindex (line 73) | def get_dbindex(self): method delete_dbindex (line 76) | def delete_dbindex(self, dbindex): method delete_empty_folders (line 87) | def delete_empty_folders(self): method compress_items (line 101) | def compress_items(self, fileobj, dbindex, max_size): method decompress_items (line 117) | def decompress_items(self, fileobj): FILE: platformio/run/cli.py function cli (line 81) | def cli( # pylint: disable=too-many-positional-arguments function process_env (line 179) | def process_env( # pylint: disable=too-many-positional-arguments function print_processing_header (line 232) | def print_processing_header(env, config, verbose=False): function print_processing_footer (line 245) | def print_processing_footer(result): function print_processing_summary (line 261) | def print_processing_summary(results, verbose=False): function print_target_list (line 311) | def print_target_list(envs): FILE: platformio/run/helpers.py function clean_build_dir (line 26) | def clean_build_dir(build_dir, config): FILE: platformio/run/processor.py class EnvironmentProcessor (line 24) | class EnvironmentProcessor: method __init__ (line 25) | def __init__( # pylint: disable=too-many-arguments,too-many-positiona... method get_build_variables (line 48) | def get_build_variables(self): method process (line 65) | def process(self): FILE: platformio/system/cli.py function cli (line 31) | def cli(): FILE: platformio/system/commands/completion.py function system_completion_cmd (line 26) | def system_completion_cmd(): function system_completion_install (line 40) | def system_completion_install(shell, path): function system_completion_uninstall (line 61) | def system_completion_uninstall(shell, path): FILE: platformio/system/commands/info.py function system_info_cmd (line 32) | def system_info_cmd(json_output): FILE: platformio/system/commands/prune.py function system_prune_cmd (line 39) | def system_prune_cmd(force, dry_run, cache, core_packages, platform_pack... FILE: platformio/system/completion.py class ShellType (line 25) | class ShellType(Enum): function get_bash_version (line 31) | def get_bash_version(): function get_completion_install_path (line 41) | def get_completion_install_path(shell): function get_completion_code (line 55) | def get_completion_code(shell): function is_completion_code_installed (line 66) | def is_completion_code_installed(shell, path): function install_completion_code (line 73) | def install_completion_code(shell, path): function uninstall_completion_code (line 88) | def uninstall_completion_code(shell, path): FILE: platformio/system/prune.py function prune_cached_data (line 27) | def prune_cached_data(force=False, dry_run=False, silent=False): function prune_core_packages (line 46) | def prune_core_packages(force=False, dry_run=False, silent=False): function prune_platform_packages (line 52) | def prune_platform_packages(force=False, dry_run=False, silent=False): function _prune_packages (line 58) | def _prune_packages(force, dry_run, silent, handler): function calculate_unnecessary_system_data (line 93) | def calculate_unnecessary_system_data(): FILE: platformio/telemetry.py class MeasurementProtocol (line 37) | class MeasurementProtocol: method __init__ (line 38) | def __init__(self, events=None): method event_to_dict (line 49) | def event_to_dict(name, params, timestamp=None): method set_user_property (line 55) | def set_user_property(self, name, value): method add_event (line 58) | def add_event(self, name, params): method to_payload (line 61) | def to_payload(self): class TelemetryLogger (line 70) | class TelemetryLogger: method __init__ (line 71) | def __init__(self): method close (line 81) | def close(self): method log_event (line 84) | def log_event(self, name, params, timestamp=None, instant_sending=False): method send (line 99) | def send(self): method _sender_worker (line 116) | def _sender_worker(self): method _commit_events (line 128) | def _commit_events(self, events): method terminate_sender (line 151) | def terminate_sender(self): method is_sending (line 154) | def is_sending(self): method get_unsent_events (line 157) | def get_unsent_events(self): function log_event (line 167) | def log_event(name, params, instant_sending=False): function on_cmd_start (line 171) | def on_cmd_start(cmd_ctx): function on_exit (line 176) | def on_exit(): function log_command (line 180) | def log_command(ctx): function resolve_ci_actor (line 189) | def resolve_ci_actor(): function dump_project_env_params (line 205) | def dump_project_env_params(config, env, platform): function log_platform_run (line 227) | def log_platform_run(platform, project_config, project_env, targets=None): function log_exception (line 234) | def log_exception(exc): function log_debug_started (line 279) | def log_debug_started(debug_config: DebugConfigBase): function log_debug_exception (line 288) | def log_debug_exception(exc, debug_config: DebugConfigBase): function _finalize (line 310) | def _finalize(): function load_postponed_events (line 327) | def load_postponed_events(): function save_postponed_events (line 337) | def save_postponed_events(events): function postpone_events (line 352) | def postpone_events(events): function process_postponed_logs (line 365) | def process_postponed_logs(): FILE: platformio/test/cli.py function cli (line 93) | def cli( # pylint: disable=too-many-arguments,too-many-positional-argum... function print_suite_header (line 178) | def print_suite_header(test_suite): function print_suite_footer (line 190) | def print_suite_footer(test_suite): FILE: platformio/test/exception.py class UnitTestError (line 18) | class UnitTestError(PlatformioException): class TestDirNotExistsError (line 22) | class TestDirNotExistsError(UnitTestError, UserSideException): class UnitTestSuiteError (line 32) | class UnitTestSuiteError(UnitTestError): FILE: platformio/test/helpers.py function list_test_names (line 22) | def list_test_names(project_config): function list_test_suites (line 36) | def list_test_suites(project_config, environments, filters, ignores): FILE: platformio/test/reports/base.py class TestReportBase (line 20) | class TestReportBase: method __init__ (line 21) | def __init__(self, test_result): method generate (line 24) | def generate(self, output_path, verbose): class TestReportFactory (line 28) | class TestReportFactory: method new (line 30) | def new(format, test_result) -> TestReportBase: # pylint: disable=red... FILE: platformio/test/reports/json.py class JsonTestReport (line 26) | class JsonTestReport(TestReportBase): method generate (line 27) | def generate(self, output_path, verbose=False): method to_json (line 49) | def to_json(self): method test_suite_to_json (line 64) | def test_suite_to_json(self, test_suite): method test_case_to_json (line 89) | def test_case_to_json(test_case): FILE: platformio/test/reports/junit.py class JunitTestReport (line 26) | class JunitTestReport(TestReportBase): method generate (line 27) | def generate(self, output_path, verbose=False): method build_xml_tree (line 44) | def build_xml_tree(self): method build_testsuite_node (line 56) | def build_testsuite_node(self, test_suite): method build_testcase_node (line 75) | def build_testcase_node(self, test_case): method build_testcase_error_node (line 92) | def build_testcase_error_node(test_case): method build_testcase_failure_node (line 101) | def build_testcase_failure_node(test_case): FILE: platformio/test/reports/stdout.py class StdoutTestReport (line 23) | class StdoutTestReport(TestReportBase): method generate (line 24) | def generate(self, verbose=False): # pylint: disable=arguments-differ method print_failed_test_cases (line 83) | def print_failed_test_cases(self): FILE: platformio/test/result.py class TestStatus (line 23) | class TestStatus(enum.Enum): method from_string (line 31) | def from_string(cls, value: str): method to_ansi_color (line 43) | def to_ansi_color(self): class TestCaseSource (line 51) | class TestCaseSource: method __init__ (line 52) | def __init__(self, filename, line=None): class TestCase (line 57) | class TestCase: method __init__ (line 58) | def __init__( # pylint: disable=too-many-arguments,too-many-positiona... method humanize (line 79) | def humanize(self): class TestSuite (line 95) | class TestSuite: method __init__ (line 96) | def __init__(self, env_name, test_name, finished=False, test_dir=None): method cases (line 106) | def cases(self): method status (line 110) | def status(self): method get_status_nums (line 118) | def get_status_nums(self, status): method add_case (line 121) | def add_case(self, case: TestCase): method is_finished (line 125) | def is_finished(self): method on_start (line 128) | def on_start(self): method on_finish (line 131) | def on_finish(self): class TestResult (line 138) | class TestResult: method __init__ (line 139) | def __init__(self, project_dir): method suites (line 144) | def suites(self): method add_suite (line 147) | def add_suite(self, suite): method duration (line 152) | def duration(self): method case_nums (line 156) | def case_nums(self): method is_errored (line 160) | def is_errored(self): method get_status_nums (line 163) | def get_status_nums(self, status): FILE: platformio/test/runners/base.py class TestRunnerOptions (line 28) | class TestRunnerOptions: # pylint: disable=too-many-instance-attributes method __init__ (line 29) | def __init__( # pylint: disable=too-many-arguments,too-many-positiona... class TestRunnerBase (line 56) | class TestRunnerBase: method __init__ (line 61) | def __init__(self, test_suite, project_config, options=None): method name (line 73) | def name(self): method get_test_speed (line 76) | def get_test_speed(self): method get_test_port (line 81) | def get_test_port(self): method start (line 86) | def start(self, cmd_ctx): method setup (line 113) | def setup(self): method stage_building (line 116) | def stage_building(self): method stage_uploading (line 136) | def stage_uploading(self): method stage_testing (line 158) | def stage_testing(self): method teardown (line 177) | def teardown(self): method run_project_targets (line 180) | def run_project_targets(self, targets): method configure_build_env (line 196) | def configure_build_env(self, env): method on_testing_data_output (line 203) | def on_testing_data_output(self, data): method on_testing_line_output (line 214) | def on_testing_line_output(self, line): FILE: platformio/test/runners/doctest.py class DoctestTestCaseParser (line 21) | class DoctestTestCaseParser: method __init__ (line 22) | def __init__(self): method parse (line 26) | def parse(self, line): method is_divider (line 54) | def is_divider(line): method _on_divider (line 58) | def _on_divider(self): method parse_source (line 74) | def parse_source(line): method parse_name (line 81) | def parse_name(tokens): method _parse_assert (line 89) | def _parse_assert(self, line): class DoctestTestRunner (line 103) | class DoctestTestRunner(TestRunnerBase): method __init__ (line 106) | def __init__(self, *args, **kwargs): method on_testing_line_output (line 110) | def on_testing_line_output(self, line): FILE: platformio/test/runners/factory.py class TestRunnerFactory (line 26) | class TestRunnerFactory: method get_clsname (line 28) | def get_clsname(name): method new (line 33) | def new(cls, test_suite, project_config, options=None) -> TestRunnerBase: FILE: platformio/test/runners/googletest.py class GoogletestTestCaseParser (line 24) | class GoogletestTestCaseParser: method __init__ (line 37) | def __init__(self): method parse (line 40) | def parse(self, line): method _parse_test_case (line 45) | def _parse_test_case(self, line): method _parse_status_and_name (line 63) | def _parse_status_and_name(self, line): method _parse_source_and_message (line 73) | def _parse_source_and_message(self, stdout): class GoogletestTestRunner (line 90) | class GoogletestTestRunner(TestRunnerBase): method __init__ (line 93) | def __init__(self, *args, **kwargs): method on_testing_line_output (line 98) | def on_testing_line_output(self, line): FILE: platformio/test/runners/readers/native.py class ProgramProcessProtocol (line 33) | class ProgramProcessProtocol(asyncio.SubprocessProtocol): method __init__ (line 34) | def __init__(self, test_runner, exit_future): method pipe_data_received (line 39) | def pipe_data_received(self, _, data): method process_exited (line 50) | def process_exited(self): method _stop_testing (line 53) | def _stop_testing(self): class NativeTestOutputReader (line 60) | class NativeTestOutputReader: method __init__ (line 61) | def __init__(self, test_runner): method get_testing_command (line 68) | def get_testing_command(self): method gather_results (line 93) | async def gather_results(self): method raise_for_status (line 118) | def raise_for_status(return_code): method begin (line 131) | def begin(self): FILE: platformio/test/runners/readers/serial.py class SerialTestOutputReader (line 24) | class SerialTestOutputReader: method __init__ (line 27) | def __init__(self, test_runner): method begin (line 30) | def begin(self): method resolve_test_port (line 64) | def resolve_test_port(self): FILE: platformio/test/runners/unity.py class UnityTestRunner (line 28) | class UnityTestRunner(TestRunnerBase): method get_unity_framework_config (line 187) | def get_unity_framework_config(self): method configure_build_env (line 211) | def configure_build_env(self, env): method custom_unity_config_exists (line 224) | def custom_unity_config_exists(self): method generate_unity_extras (line 238) | def generate_unity_extras(self, dst_dir): method on_testing_line_output (line 262) | def on_testing_line_output(self, line): method parse_test_case (line 278) | def parse_test_case(self, line): FILE: platformio/util.py class memoized (line 40) | class memoized: method __init__ (line 41) | def __init__(self, expire=0): method __call__ (line 50) | def __call__(self, func): method _reset (line 63) | def _reset(self): class throttle (line 67) | class throttle: method __init__ (line 68) | def __init__(self, threshold): method __call__ (line 72) | def __call__(self, func): class RetryException (line 87) | class RetryException(Exception): class RetryNextException (line 91) | class RetryNextException(RetryException): class RetryStopException (line 95) | class RetryStopException(RetryException): class retry (line 99) | class retry: method __init__ (line 103) | def __init__(self, timeout=0, step=0.25): method __call__ (line 107) | def __call__(self, func): function singleton (line 127) | def singleton(cls): function get_systype (line 139) | def get_systype(): function pioversion_to_intstr (line 157) | def pioversion_to_intstr(): function items_to_list (line 164) | def items_to_list(items): function items_in_list (line 170) | def items_in_list(needle, haystack): function parse_datetime (line 178) | def parse_datetime(datestr): function merge_dicts (line 183) | def merge_dicts(d1, d2, path=None): function print_labeled_bar (line 194) | def print_labeled_bar(label, is_error=False, fg=None, sep="="): function humanize_duration_time (line 201) | def humanize_duration_time(duration): function strip_ansi_codes (line 213) | def strip_ansi_codes(text): FILE: scripts/docspregen.py function reg_package_url (line 75) | def reg_package_url(type_, owner, name): function campaign_url (line 83) | def campaign_url(url, source="platformio.org", medium="docs"): function install_platforms (line 96) | def install_platforms(): function get_frameworks (line 118) | def get_frameworks(): function is_compat_platform_and_framework (line 146) | def is_compat_platform_and_framework(platform, framework): function generate_boards_table (line 151) | def generate_boards_table(boards, skip_columns=None): function generate_frameworks_contents (line 209) | def generate_frameworks_contents(frameworks): function generate_platforms_contents (line 240) | def generate_platforms_contents(platforms): function generate_debug_contents (line 267) | def generate_debug_contents(boards, skip_board_columns=None, extra_rst=N... function generate_packages (line 342) | def generate_packages(platform, packages, is_embedded): function generate_platform (line 415) | def generate_platform(pkg, rst_dir): function update_platform_docs (line 587) | def update_platform_docs(): function generate_framework (line 595) | def generate_framework(type_, framework, rst_dir=None): function update_framework_docs (line 698) | def update_framework_docs(): function update_boards (line 707) | def update_boards(): function update_embedded_board (line 767) | def update_embedded_board(rst_path, board): function update_debugging (line 969) | def update_debugging(): function update_project_examples (line 1076) | def update_project_examples(): function main (line 1206) | def main(): FILE: scripts/fixsymlink.py function fix_symlink (line 20) | def fix_symlink(root, fname, brokenlink): function main (line 30) | def main(): FILE: scripts/install_devplatforms.py function main (line 34) | def main(desktop, names, ownernames): FILE: tests/commands/pkg/test_exec.py function test_pkg_not_installed (line 23) | def test_pkg_not_installed(clirunner, validate_cliresult, isolated_pio_c... function test_pkg_specified (line 35) | def test_pkg_specified(clirunner, validate_cliresult, isolated_pio_core): function test_unrecognized_options (line 48) | def test_unrecognized_options(clirunner, validate_cliresult, isolated_pi... FILE: tests/commands/pkg/test_install.py function pkgs_to_specs (line 46) | def pkgs_to_specs(pkgs): function test_global_packages (line 53) | def test_global_packages( function test_skip_dependencies (line 130) | def test_skip_dependencies( function test_baremetal_project (line 155) | def test_baremetal_project( function test_project (line 186) | def test_project( function test_private_lib_deps (line 231) | def test_private_lib_deps( function test_remove_project_unused_libdeps (line 291) | def test_remove_project_unused_libdeps( function test_unknown_project_dependencies (line 351) | def test_unknown_project_dependencies( function test_custom_project_libraries (line 388) | def test_custom_project_libraries( function test_custom_project_tools (line 463) | def test_custom_project_tools( function test_custom_project_platforms (line 535) | def test_custom_project_platforms( FILE: tests/commands/pkg/test_list.py function test_project (line 36) | def test_project(clirunner, validate_cliresult, isolated_pio_core, tmp_p... function test_global_packages (line 100) | def test_global_packages(clirunner, validate_cliresult, isolated_pio_cor... FILE: tests/commands/pkg/test_outdated.py function test_project (line 39) | def test_project(clirunner, validate_cliresult, isolated_pio_core, tmp_p... FILE: tests/commands/pkg/test_search.py function test_empty_query (line 18) | def test_empty_query(clirunner, validate_cliresult): function test_pagination (line 27) | def test_pagination(clirunner, validate_cliresult): function test_sorting (line 43) | def test_sorting(clirunner, validate_cliresult): function test_not_found (line 52) | def test_not_found(clirunner, validate_cliresult): FILE: tests/commands/pkg/test_show.py function test_spec_name (line 21) | def test_spec_name(clirunner, validate_cliresult): function test_spec_owner (line 50) | def test_spec_owner(clirunner, validate_cliresult): function test_complete_spec (line 68) | def test_complete_spec(clirunner, validate_cliresult): function test_name_conflict (line 87) | def test_name_conflict(clirunner): function test_spec_version (line 96) | def test_spec_version(clirunner, validate_cliresult): FILE: tests/commands/pkg/test_uninstall.py function pkgs_to_names (line 42) | def pkgs_to_names(pkgs): function test_global_packages (line 46) | def test_global_packages( function test_project (line 192) | def test_project(clirunner, validate_cliresult, isolated_pio_core, tmp_p... function test_custom_project_libraries (line 242) | def test_custom_project_libraries( function test_custom_project_tools (line 319) | def test_custom_project_tools( function test_custom_project_platforms (line 383) | def test_custom_project_platforms( FILE: tests/commands/pkg/test_update.py function pkgs_to_specs (line 49) | def pkgs_to_specs(pkgs): function test_global_packages (line 56) | def test_global_packages( function test_project (line 151) | def test_project( function test_custom_project_libraries (line 224) | def test_custom_project_libraries( function test_custom_project_tools (line 292) | def test_custom_project_tools( function test_custom_project_platforms (line 339) | def test_custom_project_platforms( FILE: tests/commands/test_account_org_team.py function verify_account (line 57) | def verify_account(email_contents): function test_account_register (line 71) | def test_account_register( function test_account_login (line 94) | def test_account_login( function test_account_summary (line 106) | def test_account_summary( function test_account_token (line 141) | def test_account_token(clirunner, validate_cliresult, isolated_pio_core): function test_account_change_password (line 202) | def test_account_change_password(clirunner, validate_cliresult, isolated... function test_account_update (line 239) | def test_account_update( function test_org_create (line 322) | def test_org_create(clirunner, validate_cliresult, isolated_pio_core): function test_org_list (line 330) | def test_org_list(clirunner, validate_cliresult, isolated_pio_core): function test_org_add_owner (line 350) | def test_org_add_owner(clirunner, validate_cliresult, isolated_pio_core): function test_org_remove_owner (line 359) | def test_org_remove_owner(clirunner, validate_cliresult, isolated_pio_co... function test_org_update (line 368) | def test_org_update(clirunner, validate_cliresult, isolated_pio_core): function test_team_create (line 417) | def test_team_create(clirunner, validate_cliresult, isolated_pio_core): function test_team_list (line 430) | def test_team_list(clirunner, validate_cliresult, isolated_pio_core): function _test_team_add_member (line 444) | def _test_team_add_member(clirunner, validate_cliresult, isolated_pio_co... function _test_team_remove (line 459) | def _test_team_remove(clirunner, validate_cliresult, isolated_pio_core): function _test_team_update (line 474) | def _test_team_update(clirunner, validate_cliresult, receive_email, isol... function test_cleanup (line 516) | def test_cleanup(clirunner, validate_cliresult, receive_email, isolated_... FILE: tests/commands/test_boards.py function test_board_json_output (line 21) | def test_board_json_output(clirunner, validate_cliresult): function test_board_raw_output (line 29) | def test_board_raw_output(clirunner, validate_cliresult): function test_board_options (line 35) | def test_board_options(clirunner, validate_cliresult): FILE: tests/commands/test_check.py function check_dir (line 77) | def check_dir(tmpdir_factory): function count_defects (line 84) | def count_defects(output): function test_check_cli_output (line 96) | def test_check_cli_output(clirunner, validate_cliresult, check_dir): function test_check_json_output (line 105) | def test_check_json_output(clirunner, validate_cliresult, check_dir): function test_check_tool_defines_passed (line 117) | def test_check_tool_defines_passed(clirunner, check_dir): function test_check_tool_complex_defines_handled (line 125) | def test_check_tool_complex_defines_handled( function test_check_language_standard_definition_passed (line 167) | def test_check_language_standard_definition_passed(clirunner, tmpdir): function test_check_language_standard_option_is_converted (line 177) | def test_check_language_standard_option_is_converted(clirunner, tmpdir): function test_check_language_standard_is_prioritized_over_build_flags (line 188) | def test_check_language_standard_is_prioritized_over_build_flags(clirunn... function test_check_language_standard_for_c_language (line 201) | def test_check_language_standard_for_c_language(clirunner, tmpdir): function test_check_severity_threshold (line 212) | def test_check_severity_threshold(clirunner, validate_cliresult, check_d... function test_check_includes_passed (line 225) | def test_check_includes_passed(clirunner, check_dir): function test_check_silent_mode (line 237) | def test_check_silent_mode(clirunner, validate_cliresult, check_dir): function test_check_no_source_files (line 248) | def test_check_no_source_files(clirunner, tmpdir): function test_check_bad_flag_passed (line 262) | def test_check_bad_flag_passed(clirunner, check_dir): function test_check_success_if_no_errors (line 275) | def test_check_success_if_no_errors(clirunner, validate_cliresult, tmpdir): function test_check_individual_flags_passed (line 301) | def test_check_individual_flags_passed(clirunner, validate_cliresult, tm... function test_check_cppcheck_misra_addon (line 332) | def test_check_cppcheck_misra_addon(clirunner, validate_cliresult, tmpdi... function test_check_fails_on_defects_only_with_flag (line 376) | def test_check_fails_on_defects_only_with_flag(clirunner, validate_clire... function test_check_fails_on_defects_only_on_specified_level (line 391) | def test_check_fails_on_defects_only_on_specified_level( function test_check_pvs_studio_free_license (line 421) | def test_check_pvs_studio_free_license(clirunner, tmpdir): function test_check_pvs_studio_fails_without_license (line 445) | def test_check_pvs_studio_fails_without_license(clirunner, tmpdir): function test_check_pvs_studio_fails_broken_license (line 465) | def test_check_pvs_studio_fails_broken_license(clirunner, tmpdir): function test_check_embedded_platform_all_tools (line 490) | def test_check_embedded_platform_all_tools( function test_check_skip_includes_from_packages (line 530) | def test_check_skip_includes_from_packages(clirunner, validate_cliresult... function test_check_multiline_error (line 555) | def test_check_multiline_error(clirunner, tmpdir_factory): function test_check_handles_spaces_in_paths (line 582) | def test_check_handles_spaces_in_paths( function test_check_src_filter (line 630) | def test_check_src_filter( function test_check_src_filter_from_config (line 659) | def test_check_src_filter_from_config(clirunner, validate_cliresult, tmp... function test_check_custom_pattern_absolute_path_legacy (line 683) | def test_check_custom_pattern_absolute_path_legacy( function test_check_custom_pattern_relative_path_legacy (line 705) | def test_check_custom_pattern_relative_path_legacy( function test_check_src_filter_from_config_legacy (line 727) | def test_check_src_filter_from_config_legacy( function test_check_src_filter_multiple_envs (line 753) | def test_check_src_filter_multiple_envs(clirunner, validate_cliresult, t... function test_check_sources_in_project_root (line 789) | def test_check_sources_in_project_root(clirunner, validate_cliresult, tm... function test_check_sources_in_external_dir (line 809) | def test_check_sources_in_external_dir(clirunner, validate_cliresult, tm... FILE: tests/commands/test_ci.py function test_ci_empty (line 21) | def test_ci_empty(clirunner): function test_ci_boards (line 27) | def test_ci_boards(clirunner, validate_cliresult): function test_ci_build_dir (line 41) | def test_ci_build_dir(clirunner, tmpdir_factory, validate_cliresult): function test_ci_keep_build_dir (line 57) | def test_ci_keep_build_dir(clirunner, tmpdir_factory, validate_cliresult): function test_ci_keep_build_dir_single_src_dir (line 91) | def test_ci_keep_build_dir_single_src_dir( function test_ci_keep_build_dir_nested_src_dirs (line 112) | def test_ci_keep_build_dir_nested_src_dirs( function test_ci_project_conf (line 151) | def test_ci_project_conf(clirunner, validate_cliresult): function test_ci_lib_and_board (line 165) | def test_ci_lib_and_board(clirunner, tmpdir_factory, validate_cliresult): FILE: tests/commands/test_init.py function validate_pioproject (line 25) | def validate_pioproject(pioproject_dir): function test_init_default (line 33) | def test_init_default(clirunner, validate_cliresult): function test_init_duplicated_boards (line 40) | def test_init_duplicated_boards(clirunner, validate_cliresult, tmpdir): function test_init_ide_without_board (line 64) | def test_init_ide_without_board(clirunner, tmpdir): function test_init_ide_vscode (line 71) | def test_init_ide_vscode(clirunner, validate_cliresult, tmpdir): function test_init_ide_eclipse (line 132) | def test_init_ide_eclipse(clirunner, validate_cliresult): function test_init_special_board (line 143) | def test_init_special_board(clirunner, validate_cliresult): function test_init_enable_auto_uploading (line 167) | def test_init_enable_auto_uploading(clirunner, validate_cliresult): function test_init_custom_framework (line 192) | def test_init_custom_framework(clirunner, validate_cliresult): function test_init_incorrect_board (line 215) | def test_init_incorrect_board(clirunner): FILE: tests/commands/test_lib.py function test_saving_deps (line 30) | def test_saving_deps(clirunner, validate_cliresult, isolated_pio_core, t... function test_update (line 160) | def test_update(clirunner, validate_cliresult, isolated_pio_core, tmpdir... FILE: tests/commands/test_lib_complex.py function test_search (line 29) | def test_search(clirunner, validate_cliresult): function test_global_install_registry (line 41) | def test_global_install_registry(clirunner, validate_cliresult, isolated... function test_global_install_archive (line 75) | def test_global_install_archive(clirunner, validate_cliresult, isolated_... function test_global_install_repository (line 111) | def test_global_install_repository(clirunner, validate_cliresult, isolat... function test_install_duplicates (line 137) | def test_install_duplicates( # pylint: disable=unused-argument function test_global_lib_list (line 173) | def test_global_lib_list(clirunner, validate_cliresult): function test_global_lib_update_check (line 233) | def test_global_lib_update_check(clirunner, validate_cliresult): function test_global_lib_update (line 242) | def test_global_lib_update(clirunner, validate_cliresult): function test_global_lib_uninstall (line 268) | def test_global_lib_uninstall(clirunner, validate_cliresult, isolated_pi... function test_lib_show (line 316) | def test_lib_show(clirunner, validate_cliresult): function test_lib_builtin (line 325) | def test_lib_builtin(clirunner, validate_cliresult): function test_lib_stats (line 332) | def test_lib_stats(clirunner, validate_cliresult): FILE: tests/commands/test_platform.py function test_search_json_output (line 25) | def test_search_json_output(clirunner, validate_cliresult, isolated_pio_... function test_search_raw_output (line 37) | def test_search_raw_output(clirunner, validate_cliresult): function test_install_unknown_version (line 43) | def test_install_unknown_version(clirunner): function test_install_unknown_from_registry (line 49) | def test_install_unknown_from_registry(clirunner): function test_install_core_3_dev_platform (line 63) | def test_install_core_3_dev_platform(clirunner, validate_cliresult, isol... function test_install_known_version (line 71) | def test_install_known_version(clirunner, validate_cliresult, isolated_p... function test_install_from_vcs (line 82) | def test_install_from_vcs(clirunner, validate_cliresult, isolated_pio_co... function test_list_json_output (line 95) | def test_list_json_output(clirunner, validate_cliresult): function test_list_raw_output (line 105) | def test_list_raw_output(clirunner, validate_cliresult): function test_update_check (line 111) | def test_update_check(clirunner, validate_cliresult, isolated_pio_core): function test_update_raw (line 127) | def test_update_raw(clirunner, validate_cliresult, isolated_pio_core): function test_uninstall (line 136) | def test_uninstall(clirunner, validate_cliresult, isolated_pio_core): FILE: tests/commands/test_run.py function test_generic_build (line 20) | def test_generic_build(clirunner, validate_cliresult, tmpdir): function test_build_unflags (line 143) | def test_build_unflags(clirunner, validate_cliresult, tmpdir): function test_debug_default_build_flags (line 200) | def test_debug_default_build_flags(clirunner, validate_cliresult, tmpdir): function test_debug_custom_build_flags (line 226) | def test_debug_custom_build_flags(clirunner, validate_cliresult, tmpdir): function test_symlinked_libs (line 255) | def test_symlinked_libs(clirunner, validate_cliresult, tmp_path: Path): function test_stringification (line 290) | def test_stringification(clirunner, validate_cliresult, tmp_path: Path): function test_ldf (line 330) | def test_ldf(clirunner, validate_cliresult, tmp_path: Path): FILE: tests/commands/test_settings.py function test_settings_check (line 19) | def test_settings_check(clirunner, validate_cliresult): FILE: tests/commands/test_test.py function test_calculator_example (line 28) | def test_calculator_example(tmp_path: Path): function test_list_tests (line 73) | def test_list_tests(clirunner, validate_cliresult, tmp_path: Path): function test_group_and_custom_runner (line 98) | def test_group_and_custom_runner(clirunner, tmp_path: Path): function test_crashed_program (line 196) | def test_crashed_program(clirunner, tmpdir): function test_unity_setup_teardown (line 299) | def test_unity_setup_teardown(clirunner, validate_cliresult, tmpdir): function test_unity_custom_config (line 338) | def test_unity_custom_config(clirunner, validate_cliresult, tmp_path: Pa... function test_legacy_unity_custom_transport (line 385) | def test_legacy_unity_custom_transport(clirunner, validate_cliresult, tm... function test_doctest_framework (line 447) | def test_doctest_framework(clirunner, tmp_path: Path): function test_googletest_framework (line 573) | def test_googletest_framework(clirunner, tmp_path: Path): FILE: tests/conftest.py function pytest_configure (line 29) | def pytest_configure(config): function validate_cliresult (line 34) | def validate_cliresult(): function clirunner (line 43) | def clirunner(request, tmpdir_factory): function _isolated_pio_core (line 69) | def _isolated_pio_core(request, tmpdir_factory): function isolated_pio_core (line 82) | def isolated_pio_core(request, tmpdir_factory): function func_isolated_pio_core (line 87) | def func_isolated_pio_core(request, tmpdir_factory): function without_internet (line 92) | def without_internet(monkeypatch): function receive_email (line 97) | def receive_email(): # pylint:disable=redefined-outer-name, too-many-lo... function get_pkg_latest_version (line 140) | def get_pkg_latest_version(): FILE: tests/misc/ino2cpp/test_ino2cpp.py function pytest_generate_tests (line 23) | def pytest_generate_tests(metafunc): function test_example (line 34) | def test_example(clirunner, validate_cliresult, piotest_dir): function test_warning_line (line 39) | def test_warning_line(clirunner, validate_cliresult): FILE: tests/misc/test_maintenance.py function test_check_pio_upgrade (line 24) | def test_check_pio_upgrade(clirunner, isolated_pio_core, validate_clires... FILE: tests/misc/test_misc.py function test_platformio_cli (line 24) | def test_platformio_cli(): function test_ping_internet_ips (line 31) | def test_ping_internet_ips(): function test_api_internet_offline (line 36) | def test_api_internet_offline(without_internet, isolated_pio_core): function test_api_cache (line 42) | def test_api_cache(monkeypatch, isolated_pio_core): FILE: tests/package/test_manager.py function test_download (line 38) | def test_download(isolated_pio_core): function test_find_pkg_root (line 56) | def test_find_pkg_root(isolated_pio_core, tmpdir_factory): function test_build_legacy_spec (line 93) | def test_build_legacy_spec(isolated_pio_core, tmpdir_factory): function test_build_metadata (line 122) | def test_build_metadata(isolated_pio_core, tmpdir_factory): function test_install_from_uri (line 149) | def test_install_from_uri(isolated_pio_core, tmpdir_factory): function test_install_from_registry (line 197) | def test_install_from_registry(isolated_pio_core, tmpdir_factory): function test_install_lib_depndencies (line 237) | def test_install_lib_depndencies(isolated_pio_core, tmpdir_factory): function test_install_force (line 271) | def test_install_force(isolated_pio_core, tmpdir_factory): function test_symlink (line 287) | def test_symlink(tmp_path: Path): function test_scripts (line 342) | def test_scripts(isolated_pio_core, tmp_path: Path): function test_install_circular_dependencies (line 376) | def test_install_circular_dependencies(tmp_path: Path): function test_get_installed (line 423) | def test_get_installed(isolated_pio_core, tmpdir_factory): function test_uninstall (line 490) | def test_uninstall(isolated_pio_core, tmpdir_factory): function test_registry (line 538) | def test_registry(isolated_pio_core): function test_update_with_metadata (line 565) | def test_update_with_metadata(isolated_pio_core, tmpdir_factory): function test_update_without_metadata (line 603) | def test_update_without_metadata(isolated_pio_core, tmpdir_factory): FILE: tests/package/test_manifest.py function test_library_json_parser (line 27) | def test_library_json_parser(): function test_module_json_parser (line 140) | def test_module_json_parser(): function test_library_properties_parser (line 199) | def test_library_properties_parser(): function test_library_json_schema (line 297) | def test_library_json_schema(): function test_library_properties_schema (line 451) | def test_library_properties_schema(): function test_platform_json_schema (line 568) | def test_platform_json_schema(): function test_package_json_schema (line 656) | def test_package_json_schema(): function test_parser_from_dir (line 715) | def test_parser_from_dir(tmpdir_factory): function test_examples_from_dir (line 730) | def test_examples_from_dir(tmpdir_factory): function test_parser_from_archive (line 845) | def test_parser_from_archive(tmpdir_factory): function test_broken_schemas (line 860) | def test_broken_schemas(): FILE: tests/package/test_meta.py function test_outdated_result (line 29) | def test_outdated_result(): function test_spec_owner (line 44) | def test_spec_owner(): function test_spec_id (line 54) | def test_spec_id(): function test_spec_name (line 62) | def test_spec_name(): function test_spec_requirements (line 67) | def test_spec_requirements(): function test_spec_local_urls (line 84) | def test_spec_local_urls(tmpdir_factory): function test_spec_external_urls (line 108) | def test_spec_external_urls(): function test_spec_vcs_urls (line 138) | def test_spec_vcs_urls(): function test_spec_as_dict (line 187) | def test_spec_as_dict(): function test_spec_as_dependency (line 213) | def test_spec_as_dependency(): function test_metadata_as_dict (line 231) | def test_metadata_as_dict(): function test_metadata_dump (line 268) | def test_metadata_dump(tmpdir_factory): function test_metadata_load (line 284) | def test_metadata_load(tmpdir_factory): function test_compatibility (line 318) | def test_compatibility(): FILE: tests/package/test_pack.py function test_base (line 27) | def test_base(tmpdir_factory): function test_filters (line 48) | def test_filters(tmpdir_factory): function test_gitgnore_filters (line 98) | def test_gitgnore_filters(tmpdir_factory): function test_symlinks (line 132) | def test_symlinks(tmpdir_factory): function test_source_root (line 157) | def test_source_root(tmpdir_factory): function test_manifest_uri (line 168) | def test_manifest_uri(tmpdir_factory): FILE: tests/project/test_config.py function config (line 120) | def config(tmpdir_factory): function test_empty_config (line 129) | def test_empty_config(): function test_warnings (line 138) | def test_warnings(config): function test_defaults (line 147) | def test_defaults(config): function test_sections (line 165) | def test_sections(config): function test_envs (line 184) | def test_envs(config): function test_options (line 196) | def test_options(config): function test_has_option (line 220) | def test_has_option(config): function test_sysenv_options (line 228) | def test_sysenv_options(config): function test_getraw_value (line 288) | def test_getraw_value(config): function test_get_value (line 327) | def test_get_value(config): function test_items (line 367) | def test_items(config): function test_update_and_save (line 439) | def test_update_and_save(tmpdir_factory): function test_update_and_clear (line 486) | def test_update_and_clear(tmpdir_factory): function test_dump (line 503) | def test_dump(tmpdir_factory): function test_win_core_root_dir (line 570) | def test_win_core_root_dir(tmpdir_factory): function test_this (line 603) | def test_this(tmp_path: Path): function test_project_name (line 619) | def test_project_name(tmp_path: Path): function test_nested_interpolation (line 639) | def test_nested_interpolation(tmp_path: Path): function test_extends_order (line 675) | def test_extends_order(tmp_path: Path): function test_invalid_env_names (line 694) | def test_invalid_env_names(tmp_path: Path): function test_linting_errors (line 704) | def test_linting_errors(tmp_path: Path): function test_linting_warnings (line 719) | def test_linting_warnings(tmp_path: Path): FILE: tests/project/test_metadata.py function test_metadata_dump (line 20) | def test_metadata_dump(clirunner, validate_cliresult, tmpdir): FILE: tests/project/test_savedeps.py function test_save_libraries (line 47) | def test_save_libraries(tmp_path): function test_save_tools (line 134) | def test_save_tools(tmp_path): FILE: tests/test_examples.py function pytest_generate_tests (line 28) | def pytest_generate_tests(metafunc): function test_run (line 67) | def test_run(pioproject_dir):