Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/rubik/radon
- Loading branch information
Showing
8 changed files
with
105 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Flake8 plugin | ||
============= | ||
|
||
.. program:: flake8 | ||
|
||
Radon exposes a plugin for the Flake8 tool. In order to use it you will have to | ||
install both `radon` and `flake8`. | ||
|
||
To enable the Radon checker, you will have to supply *at least* one of the | ||
following options: | ||
|
||
.. option:: --radon-max-cc <int> | ||
|
||
Set the cyclomatic complexity threshold. The default value is `10`. Blocks | ||
with a greater complexity will be reported by the tool. | ||
|
||
.. option:: --radon-no-assert | ||
|
||
Instruct radon not to count `assert` statements towards cyclomatic | ||
complexity. The default behaviour is the opposite. | ||
|
||
|
||
For more information visit the `Flake8 documentation | ||
<http://flake8.readthedocs.org/en/latest/>`_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ Contents: | |
|
||
intro | ||
commandline | ||
flake8 | ||
api | ||
changelog | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters