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
|
||||
name: "pylint & mypy"
|
||||
install:
|
||||
- pip install astroid pylint mypy==0.701
|
||||
- make install
|
||||
script: make lint
|
||||
|
||||
- stage: test
|
||||
name: "LBRY Unit Tests"
|
||||
install:
|
||||
- pip install coverage
|
||||
- make install
|
||||
script:
|
||||
- cd lbry && HOME=/tmp coverage run -p --source=lbry -m unittest discover -vv tests.unit
|
||||
|
@ -48,7 +46,6 @@ jobs:
|
|||
|
||||
- name: "Run Examples"
|
||||
install:
|
||||
- pip install coverage
|
||||
- make install
|
||||
script:
|
||||
- cd lbry && HOME=/tmp coverage run -p --source=lbry scripts/generate_json_api.py
|
||||
|
|
4
Makefile
4
Makefile
|
@ -1,6 +1,8 @@
|
|||
install:
|
||||
cd torba && pip install -e .
|
||||
cd lbry && pip install -e .
|
||||
pip install mypy==0.701
|
||||
pip install coverage astroid pylint
|
||||
|
||||
lint:
|
||||
cd lbry && pylint lbry
|
||||
|
@ -9,4 +11,4 @@ lint:
|
|||
|
||||
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