savoirfairelinux / sous-chef

Sous-Chef is a web application to help organizations to plan and deliver meals, and to manage clients files.
GNU Affero General Public License v3.0
66 stars 45 forks source link

Add Code Climate configuration. #741

Closed peakwinter closed 7 years ago

peakwinter commented 7 years ago

Changes proposed in this pull request:

Status

Additional notes

Code Climate (https://codeclimate.com/) is a tool for checking the quality of code using a variety of metrics. Rather than just giving a single pass/fail score if the app's tests pass, or giving a percentage number for code coverage, Code Climate also assesses a project's code complexity in general, including duplication of code and style checks. A GPA-like score is then given after each build, and detailed information can be obtained for each file and code block.

I would encourage reviewers to clone this configuration and get started with using Code Climate in their own forks, to check to see if this is a worthy tool to integrate deeper into the project. It could potentially replace Coveralls, integrate checks into Github pull requests, and much more.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.04%) to 95.298% when pulling bca9d61ec318adf152ea934f2c9f7ef167e87ae7 on peakwinter:dev into d38a344e07d2a578f2efbacc6e51e5d531451e02 on savoirfairelinux:dev.

lingxiaoyang commented 7 years ago

@peakwinter I'll try to configure this. Thank you!

lingxiaoyang commented 7 years ago

@peakwinter I can't add it on Code Climate. We need @manumilou to follow this link: https://github.com/integrations/code-climate as he's the owner/administrator (if I'm correct).

peakwinter commented 7 years ago

@lingxiaoyang For the main project, that is correct. You can merge this with your own fork, however, and check it out from there, to see if it would be useful to use with the main project.