Static analysis tool for WeeChat scripts.
Project description
weechat-script-lint
Weechat-script-lint is a static analysis tool for WeeChat scripts.
The script just requires Python ≥ 3.7.
Installation
$ pip install weechat-script-lint
Example
$ weechat-script-lint script.py
/path/to/script.py:44: info [url_weechat]: URL http://www.weechat.org should be changed to https://weechat.org
/path/to/script.py:45: warning [sys_exit]: sys.exit() causes WeeChat to exit itself
/path/to/script.py:98: error [python2_bin]: the info python2_bin must not be used any more
/path/to/script.py:167: error [missing_infolist_free]: missing call to infolist_free
Copyright
Copyright © 2021 Sébastien Helleu
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for weechat-script-lint-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbc90bb79fd052d3479ec0e66423df08489a3b47063dc59fb7ddf72109909924 |
|
MD5 | 292f1909451e70f43fc357e7502a86bc |
|
BLAKE2b-256 | 750bd6cdafd9216c7b0933d5422abf49112e496eb3c7cdb55f6eca2be3642e70 |
Hashes for weechat_script_lint-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f66329b2664125a41c63d96a8926721b9095063e8515a0ec46f174747b8715c |
|
MD5 | 616977d3417189d1f1de7e1d3775e255 |
|
BLAKE2b-256 | 4189d38ef0259afaed4e4165322491dde6b43d2ad0fa9d4ed13638fb07c6a568 |