Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts: compliance: handle multi-line output from pylint #72592

Merged
merged 1 commit into from May 14, 2024

Conversation

carlescufi
Copy link
Member

@carlescufi carlescufi commented May 10, 2024

Switch from plain text to JSON output in the pylint compliance check in order to handle multi-line messages, which were so far being dropped by the regex.

Fixes #68037.

Switch from plain text to JSON output in the pylint compliance check in
order to handle multi-line messages, which were so far being dropped
by the regex.

Fixes zephyrproject-rtos#68037.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
@nashif nashif merged commit ae9096f into zephyrproject-rtos:main May 14, 2024
21 checks passed
PerMac added a commit to PerMac/zephyr that referenced this pull request May 22, 2024
PR zephyrproject-rtos#72592 made pylint to use json2 output format. However, this
format is introduced in pylint v3. This commit adds an appropriate
setting in the requirements file.

Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
SebastianBoe pushed a commit to SebastianBoe/zephyr that referenced this pull request May 23, 2024
PR zephyrproject-rtos#72592 made pylint to use json2 output format. However, this
format is introduced in pylint v3. This commit adds an appropriate
setting in the requirements file.

Upstream PR: zephyrproject-rtos#73152

Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scripts: ci: check_compliance strips required information
7 participants