Skip to content

Commit

Permalink
Add error "mixed_tabs_spaces" in README
Browse files Browse the repository at this point in the history
  • Loading branch information
flashcode committed Nov 11, 2022
1 parent 3266919 commit 15205ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15205ca

Please sign in to comment.