https://github.com/christopherpickering/sublimelinter-contrib-radon
https://github.com/christopherpickering/sublimelinter-contrib-radon
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/christopherpickering/sublimelinter-contrib-radon
- Owner: christopherpickering
- License: mit
- Created: 2021-06-25T12:51:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-28T17:26:26.000Z (almost 5 years ago)
- Last Synced: 2025-02-14T05:33:44.593Z (over 1 year ago)
- Language: Python
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SublimeLinter-contrib-radon
================================
[](https://travis-ci.com/christopherpickering/SublimeLinter-contrib-radon)
This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [radon](https://radon.readthedocs.io/en/latest/index.html) cyclomatic complexity. It will be used with files that have the “python” syntax.
Any python function/class/method with a complexity over 5 will have a warning showing the current complexity values.
## Installation
SublimeLinter must be installed in order to use this plugin.
Please use [Package Control](https://packagecontrol.io) to install the linter plugin.
Before installing this plugin, you must ensure that `radon` is installed on your system.
In order for `radon` to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover [troubleshooting PATH configuration](http://sublimelinter.readthedocs.io/en/latest/troubleshooting.html#finding-a-linter-executable).
## Settings
- SublimeLinter settings: http://sublimelinter.readthedocs.org/en/latest/settings.html
- Linter settings: http://sublimelinter.readthedocs.org/en/latest/linter_settings.html