Skip to content

How to fix CI

Yuchao Yan edited this page Mar 14, 2023 · 8 revisions

Overview

This doc shows some common problems and resolution in CI.

Problems and resolution

Check spelling (cspell)

image For new service up error usually happens, just need to update .vscode/cspell.json like devcenter image

Pylint/Mypy/Pyright failure

image You can add package-name in PYLINT_OPT_OUT/MYPY_OPT_OUT/PYRIGHT_OPT_OUT of environment_exclusions.py to skip the CI check like this example.

nit: To keep python code robust, it is better to fix it according to hint instead of skipping the check