Commit graph

24 commits

Author SHA1 Message Date
Alexey Kotlyarov dc3f16b840 Python: search for Pylint and Flake8 in the virtualenvs 2017-05-24 12:44:19 +02:00
Pedro Algarvio 9c226d8201 .python-version can contain more than one version specified.
https://github.com/yyuu/pyenv/blob/master/COMMANDS.md#pyenv-local-advanced
2017-04-17 22:31:50 -04:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
Koray Al aaefaa3573
Added auto load virtualenv support via .venv file
The `pyvenv-mode` doesn't provide a list of available virtual
environments. So it's not currently possible to check if the
provided virtualenv name is available
2016-12-27 09:55:28 +02:00
ksjogo 12284e16b0 Removed deprecated insert-string and replace by insert 2016-11-11 15:23:49 +02:00
yangguang760 67ac25c80a fix debug string for python3
fix debug string for python3:
ipdb  ->  ipdb3
pudb  -> pudb3
2016-10-23 19:44:35 +02:00
Eivind Fonn 9c966a8d8f Simplify python test runner setup 2016-10-23 19:44:35 +02:00
bmag 6e896d3796 Restore fix for #2569 2016-10-17 13:19:46 +02:00
Alexey Kotlyarov a7d8a4f3db Support wdb for debugging Python
wdb (https://github.com/Kozea/wdb) is a Web-based debugger
for Python. Use it if installed for python-toggle-breakpoint.
2016-10-17 13:15:54 +02:00
Eivind Fonn d94d0d9f71 Some improvements to py-isort config
- Rename variable
- Wrap the save function to check condition variable at runtime
- Add keybinding
2016-08-21 17:49:20 +02:00
Christoph Paulik 6b41426d8d Python: Set breakpoints correctly when pyenv is used.
pyenv shims fool executable-find into thinking that ipdb is always
installed if it is installed in one environment.
2016-08-18 21:06:56 +02:00
Christoph Paulik ebbfbaf2d1 Use --simple-prompt for IPython 5 and set correctly on env switch.
IPython 5 does no longer use readline and so the emacs integration is
broken. See also
http://ipython.readthedocs.io/en/stable/whatsnew/version5.html#id1

Fix #6622 and related to #6580

This also works if different environments have different IPython
versions since the shell parameters are setup on every environment
switch.
2016-08-06 18:18:25 +02:00
syl20bnr 56ee037cd7 python: prefix functions with spacemacs 2016-06-05 21:53:14 -04:00
Christoph Paulik 9f28409b0c Allow multiple python test runners by using dispatch functions.
This allows python-test-runner to also be a list of either '(nose
pytest) or '(pytest nose) which then calls the correct test runner in
the dispatch functions.
2016-06-05 21:41:23 -04:00
syl20bnr 47776e8999 python: move semantic config and fix error with semantic-idle-summary-mode
Move all semantic related config to semantic post-init and correctly
fix the error with void function semantic-idle-summary-mode when
opening a python without the semantic layer enabled.
2016-04-17 00:37:47 -04:00
Neal D. Becker 4ca8b55819 set semantic-idle-summary-mode on hook 2016-04-17 00:37:47 -04:00
syl20bnr 6c2665e0f7 python: move disable semantic hook to anaconda init function 2016-04-12 22:38:48 -04:00
Christoph Paulik f50859ab97 Revert "Set global pyenv version if no .python-version file exists"
This reverts commit bddf9de8f1.

When pyenv-auto-set-local-pyenv-version is set to 'on-visit then this
switched the python version when e.g. using jump to definition.
2016-01-26 01:21:02 -05:00
Christoph Paulik bddf9de8f1 Set global pyenv version if no .python-version file exists 2016-01-23 17:09:52 +01:00
syl20bnr 046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
Fredrik Bergroth c302ae4e67 Properly read version in .python-version
Fixes #4514
2016-01-11 01:13:09 -05:00
syl20bnr db5901b3be python: Remove call to dash -when-let
Plus remove unnecessary defer t
2015-12-19 22:33:24 -05:00
Fredrik Bergroth 577e7b2d86 Auto-activate local pyenv version 2015-12-19 22:30:07 -05:00
justbur 6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00
Renamed from layers/!lang/python/funcs.el (Browse further)