Skip to content

[WIP] CI: Codeclimate integration [skip appveyor]#4800

Closed
blueyed wants to merge 1 commit intopytest-dev:masterfrom
blueyed:codeclimate
Closed

[WIP] CI: Codeclimate integration [skip appveyor]#4800
blueyed wants to merge 1 commit intopytest-dev:masterfrom
blueyed:codeclimate

Conversation

@blueyed
Copy link
Contributor

@blueyed blueyed commented Feb 14, 2019

Followup of #4459.

TODO:

  • appveyor (or straight into Azure), @nicoddemus ?
  • remove debug output (-d)

@codecov
Copy link

codecov bot commented Feb 14, 2019

Codecov Report

Merging #4800 into master will decrease coverage by 4.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4800      +/-   ##
==========================================
- Coverage   95.64%   91.61%   -4.03%     
==========================================
  Files         113      113              
  Lines       25054    25054              
  Branches     2488     2353     -135     
==========================================
- Hits        23963    22954    -1009     
- Misses        769     1687     +918     
- Partials      322      413      +91
Flag Coverage Δ
#docs ?
#doctesting ?
#linting ?
#linux 91.61% <ø> (-3.86%) ⬇️
#nobyte ?
#numpy ?
#pexpect ?
#pluggymaster ?
#py27 91.61% <ø> (-2.06%) ⬇️
#py34 ?
#py35 ?
#py36 ?
#py37 ?
#trial ?
#windows ?
#xdist 91.61% <ø> (-2.02%) ⬇️
Impacted Files Coverage Δ
testing/test_pdb.py 39.81% <0%> (-59.26%) ⬇️
src/_pytest/debugging.py 47.16% <0%> (-30.82%) ⬇️
testing/python/approx.py 80.45% <0%> (-19.18%) ⬇️
src/_pytest/compat.py 77.88% <0%> (-19.1%) ⬇️
src/_pytest/unittest.py 75.66% <0%> (-18.52%) ⬇️
testing/code/test_excinfo.py 83.16% <0%> (-13.64%) ⬇️
testing/test_unittest.py 85.58% <0%> (-13.52%) ⬇️
src/_pytest/python_api.py 85.77% <0%> (-11.72%) ⬇️
testing/test_compat.py 82.27% <0%> (-8.87%) ⬇️
testing/test_pathlib.py 91.17% <0%> (-8.83%) ⬇️
... and 39 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2106515...98d61a3. Read the comment docs.

@blueyed blueyed force-pushed the codeclimate branch 3 times, most recently from 4da8f94 to cf6d8fb Compare February 15, 2019 21:05
@asottile
Copy link
Member

I'm really not a fan of codeclimate -- for a lot of the same reasons I don't use pylint (which seems to power a lot of its suggestions)

here's an example useless suggestion: https://codeclimate.com/github/pytest-dev/pytest/pull/4804

I'm fine using it to replace coveralls / codecov, but please turn off the rest of it <3

@nicoddemus
Copy link
Member

I'm on the fence here. I lean towards @asottile suggestion that most of the suggestions are not really useful, but I'm OK with we activating it and see how it goes. A month or two later we then decide if we want to keep using it (and taking the suggestions seriously) or just drop it altogether.

What do you guys think?

@asottile
Copy link
Member

If the first time a long error is brought up is after the PR is created that's way too late, especially if the error isn't actionable.

@nicoddemus
Copy link
Member

nicoddemus commented Feb 16, 2019

If the first time a long error is brought up is after the PR is created that's way too late, especially if the error isn't actionable.

So you are 👎 on adding it in a provisional state?

@asottile
Copy link
Member

If we can get the coverage bits without any of the rest of it that's great :)

@nicoddemus
Copy link
Member

Let's hear what @blueyed has to say then. 👍

@blueyed
Copy link
Contributor Author

blueyed commented Feb 16, 2019

Yeah, only added it for coverage mainly - which cannot be used alone it seems.
The status is not required, so should be OK.

@asottile
Copy link
Member

I fear it'll be confusing for newcomers and annoying to have all of our PRs red. I definitely use the PR icon as to whether to look at something or not

@blueyed
Copy link
Contributor Author

blueyed commented Feb 18, 2019

I've pinged Codeclimate support about this (only having coverage related things cause a red X).

@blueyed blueyed closed this Apr 2, 2019
@blueyed blueyed deleted the codeclimate branch April 2, 2019 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants