forked from LBRYCommunity/lbry-sdk
cleaned up make idea
This commit is contained in:
parent
e6d42b5319
commit
0a6eb76542
4 changed files with 4 additions and 8 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/.idea
|
|
@ -9,14 +9,12 @@ jobs:
|
||||||
- stage: code quality
|
- stage: code quality
|
||||||
name: "pylint & mypy"
|
name: "pylint & mypy"
|
||||||
install:
|
install:
|
||||||
- pip install astroid pylint mypy==0.701
|
|
||||||
- make install
|
- make install
|
||||||
script: make lint
|
script: make lint
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
name: "LBRY Unit Tests"
|
name: "LBRY Unit Tests"
|
||||||
install:
|
install:
|
||||||
- pip install coverage
|
|
||||||
- make install
|
- make install
|
||||||
script:
|
script:
|
||||||
- cd lbry && HOME=/tmp coverage run -p --source=lbry -m unittest discover -vv tests.unit
|
- cd lbry && HOME=/tmp coverage run -p --source=lbry -m unittest discover -vv tests.unit
|
||||||
|
@ -48,7 +46,6 @@ jobs:
|
||||||
|
|
||||||
- name: "Run Examples"
|
- name: "Run Examples"
|
||||||
install:
|
install:
|
||||||
- pip install coverage
|
|
||||||
- make install
|
- make install
|
||||||
script:
|
script:
|
||||||
- cd lbry && HOME=/tmp coverage run -p --source=lbry scripts/generate_json_api.py
|
- cd lbry && HOME=/tmp coverage run -p --source=lbry scripts/generate_json_api.py
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -1,6 +1,8 @@
|
||||||
install:
|
install:
|
||||||
cd torba && pip install -e .
|
cd torba && pip install -e .
|
||||||
cd lbry && pip install -e .
|
cd lbry && pip install -e .
|
||||||
|
pip install mypy==0.701
|
||||||
|
pip install coverage astroid pylint
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
cd lbry && pylint lbry
|
cd lbry && pylint lbry
|
||||||
|
@ -9,4 +11,4 @@ lint:
|
||||||
|
|
||||||
idea:
|
idea:
|
||||||
mkdir -p .idea
|
mkdir -p .idea
|
||||||
cp -r lbry/scripts/idea/* .idea/
|
cp -r lbry/scripts/idea/* .idea
|
||||||
|
|
4
lbry/scripts/idea/.gitignore
vendored
4
lbry/scripts/idea/.gitignore
vendored
|
@ -1,4 +0,0 @@
|
||||||
# ignore everything
|
|
||||||
*
|
|
||||||
# except the .gitignore file
|
|
||||||
!.gitignore
|
|
Loading…
Reference in a new issue