mirror of https://github.com/apache/superset.git
Merge pull request #4582 from john-bodley/john-bodley-javascript-codecov
[code-climate] Deprecating Code Climate from JavaScript tests
This commit is contained in:
commit
c85eea3037
|
@ -1,40 +0,0 @@
|
|||
engines:
|
||||
csslint:
|
||||
enabled: false
|
||||
duplication:
|
||||
enabled: false
|
||||
eslint:
|
||||
enabled: true
|
||||
checks:
|
||||
import/extensions:
|
||||
enabled: false
|
||||
import/no-extraneous-dependencies:
|
||||
enabled: false
|
||||
config:
|
||||
config: superset/assets/.eslintrc
|
||||
pep8:
|
||||
enabled: true
|
||||
fixme:
|
||||
enabled: false
|
||||
radon:
|
||||
enabled: true
|
||||
checks:
|
||||
Complexity:
|
||||
enabled: false
|
||||
ratings:
|
||||
paths:
|
||||
- "**.py"
|
||||
- "superset/assets/**.js"
|
||||
- "superset/assets/**.jsx"
|
||||
exclude_paths:
|
||||
- ".*"
|
||||
- "**.pyc"
|
||||
- "**.gz"
|
||||
- "env/"
|
||||
- "tests/"
|
||||
- "superset/assets/images/"
|
||||
- "superset/assets/vendor/"
|
||||
- "superset/assets/node_modules/"
|
||||
- "superset/assets/javascripts/dist/"
|
||||
- "superset/migrations"
|
||||
- "docs/"
|
|
@ -1,9 +1,6 @@
|
|||
language: python
|
||||
services:
|
||||
- redis-server
|
||||
addons:
|
||||
code_climate:
|
||||
repo_token: 5f3a06c425eef7be4b43627d7d07a3e46c45bdc07155217825ff7c49cb6a470c
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.wheelhouse/
|
||||
|
|
1
setup.py
1
setup.py
|
@ -95,7 +95,6 @@ setup(
|
|||
'cors': ['Flask-Cors>=2.0.0'],
|
||||
},
|
||||
tests_require=[
|
||||
'codeclimate-test-reporter',
|
||||
'coverage',
|
||||
'mock',
|
||||
'nose',
|
||||
|
|
|
@ -9,4 +9,3 @@ npm run lint
|
|||
npm run test
|
||||
npm run build
|
||||
npm run cover
|
||||
CODECLIMATE_REPO_TOKEN=ded6121d25d593a1c5aee9f26d85717b19df058f7408cef26910aa731aa7cc3f ./node_modules/.bin/codeclimate-test-reporter < ./coverage/lcov.info
|
||||
|
|
|
@ -122,7 +122,6 @@
|
|||
"babel-preset-airbnb": "^2.1.1",
|
||||
"chai": "^4.0.2",
|
||||
"clean-webpack-plugin": "^0.1.16",
|
||||
"codeclimate-test-reporter": "^0.5.0",
|
||||
"css-loader": "^0.28.0",
|
||||
"enzyme": "^2.0.0",
|
||||
"eslint": "^3.19.0",
|
||||
|
|
Loading…
Reference in New Issue