forked from publiclab/plots2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CodeClimate documentation (publiclab#3068)
* CodeClimate documentation * Changing image: doc/images/code_climate.png
- Loading branch information
Showing
5 changed files
with
24 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Code Climate | ||
|
||
We are implementing a [Code Climate](https://docs.codeclimate.com/docs) automation test to improve the quality of our code. | ||
|
||
# Issues | ||
|
||
CodeClimate is picky -- any time you think it's being too particular, you can ping @publiclab/reviewers and they can manually "approve" a PR and you can move forward -- not a problem! But if you click "details" next to CodeClimate, it'll offer some advice: | ||
|
||
 | ||
|
||
The most common is to refactor your code to avoid duplication or methods with | ||
too many lines. | ||
|
||
Below you can see CodeClimate complaining about "cognitive complexity" -- basically, | ||
asking you to try to simplify how the code is written in order to make it more readable: | ||
|
||
 | ||
|
||
If you hover over the right-side of each issue, it has a "read more" link which offers some tips on how to resolve it: | ||
|
||
 | ||
|
||
CodeClimate is picky so if you have more questions or need help, you can always | ||
ask for help. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.