-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jedi-vim:08f13af066fad3a60cf241b37ac1878b8cfafa46 Signed-off-by: lilei <[email protected]>
- Loading branch information
lilei
committed
Dec 1, 2019
1 parent
706da01
commit 72a9117
Showing
35 changed files
with
3,919 additions
and
675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[run] | ||
branch = 1 | ||
# Used by/for neovim-python-client. | ||
concurrency = greenlet | ||
|
||
[report] | ||
include = pythonx/jedi_*.py,test/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
dist: xenial | ||
language: python | ||
python: 3.7 | ||
env: | ||
matrix: | ||
- ENV=test | ||
- ENV=check | ||
- ENV=test_coverage | ||
matrix: | ||
include: | ||
- env: ENV=test_coverage | ||
python: 2.7 | ||
install: | ||
- | | ||
if [ "$ENV" = "test" ]; then | ||
pip install pytest | ||
elif [ "$ENV" = "test_coverage" ]; then | ||
sudo add-apt-repository ppa:neovim-ppa/stable -y | ||
sudo apt-get update -q | ||
sudo apt-get install neovim -y | ||
pip install pynvim pytest-cov | ||
else | ||
vim --version | ||
fi | ||
script: | ||
- make --keep-going "$ENV" BUILD_VIRTUAL_ENV=$VIRTUAL_ENV | ||
|
||
after_success: | ||
- | | ||
if [ "$ENV" = "test_coverage" ]; then | ||
coverage xml | ||
bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy -X fix -X search -X xcode -f coverage.xml -F py${TRAVIS_PYTHON_VERSION//./} | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
Main Authors | ||
============ | ||
|
||
David Halter (@davidhalter) <[email protected]> | ||
|
||
|
||
Contributors (in order of contributions) | ||
======================================== | ||
|
||
Patrice Peterson (@runiq) | ||
tek (@tek) | ||
heavenshell (@heavenshell) <[email protected]> | ||
Danilo Bargen (@dbrgn) <[email protected]> | ||
mattn (@mattn) <[email protected]> | ||
Enrico Batista da Luz (@ricobl) <[email protected]> | ||
coot (@coot) <[email protected]> | ||
Artur Dryomov (@ming13) <[email protected]> | ||
andviro (@andviro) | ||
Jean-Louis Fuchs (@ganwell) <[email protected]> | ||
Mathieu Comandon (@strycore) <[email protected]> | ||
Nick Hurley (@todesschaf) <[email protected]> | ||
gpoulin (@gpoulin) | ||
Akinori Hattori (@hattya) | ||
Luper Rouch (@flupke) | ||
Matthew Moses (@mlmoses) <[email protected]> | ||
Tyler Wymer (@twymer) | ||
Artem Nezvigin (@artnez) | ||
rogererens (@rogererens) | ||
Emily Strickland (@emilyst) <[email protected]> | ||
Tin Tvrtković (@Tinche) <[email protected]> | ||
Zekeriya Koc (@zekzekus) <[email protected]> | ||
ethinx (@ethinx) <[email protected]> | ||
Wouter Overmeire (@lodagro) <[email protected]> | ||
Stephen J. Fuhry (@fuhrysteve) <[email protected]> | ||
Sheng Yun (@ShengYun) <[email protected]> | ||
Yann Thomas-Gérard (@inside) <[email protected]> | ||
Colin Su (@littleq0903) <[email protected]> | ||
Arthur Jaron (@eyetracker) | ||
Justin M. Keyes (@justinmk) | ||
nagev (@np1) | ||
Chris Lasher (@gotgenes) <[email protected]> | ||
Doan Thanh Nam (@tndoan) | ||
Markus Koller (@toupeira) | ||
Justin Cheevers @justincheevers | ||
Talha Ahmed (@talha81) <[email protected]> | ||
Matthew Tylee Atkinson (@matatk) | ||
Pedro Ferrari (@petobens) | ||
Daniel Hahler (@blueyed) | ||
Dave Honneffer (@pearofducks) | ||
Bagrat Aznauryan (@n9code) | ||
Tomoyuki Kashiro (@kashiro) | ||
Tommy Allen (@tweekmonster) | ||
Mingliang (@Aulddays) | ||
Brian Mego (@brianmego) | ||
Stevan Milic (@stevanmilic) <[email protected]> | ||
|
||
@something are github user names. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# We <3 pull requests! | ||
|
||
1. Fork the Repo on github. | ||
2. Add yourself to AUTHORS.txt | ||
3. Add a test if possible. | ||
4. Push to your fork and submit a pull request. | ||
|
||
Please use PEP8 as a Python code style. For VIM, just try to style your | ||
code similar to the jedi-vim code that is already there. | ||
|
||
# Bug reports | ||
Please include the output of `:version` and `:JediDebugInfo`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) <2013> <David Halter and others, see AUTHORS.txt> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
BUILD_VIRTUAL_ENV:=build/venv | ||
|
||
test: | ||
pytest | ||
|
||
test_nvim: | ||
VSPEC_VIM=nvim pytest | ||
|
||
test_coverage: export PYTEST_ADDOPTS:=--cov pythonx --cov test --cov-report=term-missing:skip-covered | ||
test_coverage: test_nvim | ||
|
||
$(dir $(BUILD_VIRTUAL_ENV)): | ||
mkdir -p $@ | ||
|
||
$(BUILD_VIRTUAL_ENV): | $(dir $(BUILD_VIRTUAL_ENV)) | ||
python -m venv $@ | ||
|
||
$(BUILD_VIRTUAL_ENV)/bin/vint: | $(BUILD_VIRTUAL_ENV) | ||
$|/bin/python -m pip install vim-vint==0.3.21 | ||
|
||
$(BUILD_VIRTUAL_ENV)/bin/flake8: | $(BUILD_VIRTUAL_ENV) | ||
$|/bin/python -m pip install -q flake8==3.7.8 | ||
|
||
vint: $(BUILD_VIRTUAL_ENV)/bin/vint | ||
$(BUILD_VIRTUAL_ENV)/bin/vint after autoload ftplugin plugin | ||
|
||
flake8: $(BUILD_VIRTUAL_ENV)/bin/flake8 | ||
$(BUILD_VIRTUAL_ENV)/bin/flake8 pythonx/jedi_*.py | ||
|
||
check: vint flake8 | ||
|
||
clean: | ||
rm -rf build | ||
|
||
.PHONY: test check clean vint flake8 |
Oops, something went wrong.