()
| 15 | CONFIG_BSP_USING_X = ["CONFIG_BSP_USING_UART", "CONFIG_BSP_USING_I2C", "CONFIG_BSP_USING_SPI", "CONFIG_BSP_USING_ADC", "CONFIG_BSP_USING_DAC"] |
| 16 | |
| 17 | def init_logger(): |
| 18 | log_format = "[%(filename)s %(lineno)d %(levelname)s] %(message)s " |
| 19 | date_format = '%Y-%m-%d %H:%M:%S %a ' |
| 20 | logging.basicConfig(level=logging.INFO, |
| 21 | format=log_format, |
| 22 | datefmt=date_format, |
| 23 | ) |
| 24 | |
| 25 | def diff(): |
| 26 | result = subprocess.run(['git', 'diff', '--name-only', 'HEAD', 'origin/master', '--diff-filter=ACMR', '--no-renames', '--full-index'], stdout = subprocess.PIPE) |
no outgoing calls
no test coverage detected