cleaned up make idea

This commit is contained in:
Lex Berezhny 2019-06-21 11:39:35 -04:00
parent e6d42b5319
commit 0a6eb76542
4 changed files with 4 additions and 8 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/.idea

View file

@ -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

View file

@ -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

View file

@ -1,4 +0,0 @@
# ignore everything
*
# except the .gitignore file
!.gitignore