From 15205ca5993e553002ead806ccdd89ca622f0386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 11 Nov 2022 19:25:37 +0100 Subject: [PATCH] Add error "mixed_tabs_spaces" in README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 378926c..1addb67 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,12 @@ Note that some systems may not provide Python 2 at all any more. consider using function [hook_process](https://weechat.org/files/doc/stable/weechat_plugin_api.en.html#_hook_process) or [hook_process_hashtable](https://weechat.org/files/doc/stable/weechat_plugin_api.en.html#_hook_process_hashtable). +### Error: mixed_tabs_spaces (Python script only) + +**Issue**: mixed tabs and spaces are used for indentation. + +**How to fix**: replace all tabs by spaces for indentation. + ### Warning: sys_exit (Python script only) **Issue**: the function `sys.exit()` causes WeeChat to exit itself, so it