Commit graph

1527 commits

Author SHA1 Message Date
Noortheen Raja
c4ee058e6e test: update vc-branch test. default branch could be main as well 2020-10-23 17:58:34 +05:30
Anthony Scopatz
c18b3e1ca9
Merge pull request #3913 from anki-code/commands_cache_speed
Reading the directory from PATH and the symlink to this directory from PATH only once while create CommandCache
2020-10-21 08:59:01 -05:00
a
982ce976ec fix 2020-10-21 03:52:31 +03:00
Anthony Scopatz
3afd5430a0
Procs Initial Refactor (#3897)
* refectored builtins

* refectored posix and readers

* refectored posix and readers

* proxies

* pipelines

* basic procs import cleanup

* fixed / refactored tests

* procs docs

* amalgamate

* XONSH_DEBUG=1 in tests

* exclude xonsh.procs mypy

* Use `pip install` instead of `python setup.py install`

* Update docs/api/procs/pipelines.rst

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

Co-authored-by: Gil Forsyth <gil@forsyth.dev>
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2020-10-20 10:21:11 -04:00
anki-code
3e59c45653
xonfig xontribs (#3894)
* xonfig xontribs

* news

* news

* black

* v2

* v2

* v2

* simpler condition

* xontribs_loaded

* isinstance

* test

* v3

Co-authored-by: a <a>
2020-10-19 11:48:55 -04:00
David Strobach
164e2fd728
Merge pull request #3883 from xonsh/get-repo-url
get_repo_url() test
2020-10-16 18:34:16 +02:00
Gyuri Horak
120fc0a154
merge with upstream 2020-10-14 15:09:24 +02:00
Gyuri Horak
a2213d614c
unit tests for xonsh.tools.register_custom_style 2020-10-14 15:03:30 +02:00
Anthony Scopatz
8fada74d64 get_repo_url() test 2020-10-13 16:33:53 -05:00
Gyuri Horak
4076ee1177
pyghooks.register_custom_style renamed to pyghooks.register_custom_pygments_style to avoid confusion 2020-10-13 22:21:27 +02:00
Gyuri Horak
10a21aa9b9
unit tests for register_custom_ansi_style 2020-10-13 21:48:47 +02:00
Gyuri Horak
024021882c
unit test for custom theme registration 2020-10-12 17:30:54 +02:00
Noortheen Raja
a930134ccf fix: env handle optional values
handle None value for ASYNC_PROMPT_THREAD_WORKERS

fixes #3858
2020-10-10 22:14:30 +05:30
a
d88fdc6609 simple_random_choice 2020-10-09 22:08:10 +03:00
a
87ce6bfc4d test 2020-10-09 19:12:48 +03:00
a
04df5c75ad env path 2020-10-07 19:22:02 +03:00
a
9f3170dbe3 fix 3818: Env variables wrong substitution 2020-10-05 13:56:44 +03:00
a
b53df868ce windows tests to the god of windows tests 2020-10-01 00:09:48 +03:00
a
7049c250b4 Merge branch 'master' of https://github.com/xonsh/xonsh into env_get_path 2020-09-30 23:44:37 +03:00
a
85fc912cf7 tests to the god of tests 2020-09-30 23:34:51 +03:00
Anthony Scopatz
7b1b5d2874
Merge pull request #3793 from cafehaine/master
Change the behavior of NO_COLOR, add RESET
2020-09-30 13:30:38 -07:00
a
fb4c52a5ef Fix register 2020-09-30 21:36:59 +03:00
cafehaine
f3bf1d287f Fix tests 2020-09-23 21:15:37 +02:00
Anthony Scopatz
17e2cb0d03
Merge pull request #3748 from bobhy/environment_fixes
Environment fixes
2020-09-23 10:36:25 -07:00
Bob Hyman
f07d016995 Merge branch 'master' into xonfig-kernel 2020-09-23 04:41:31 -04:00
Bob Hyman
88bba37c3a Merge branch 'master' into environment_fixes 2020-09-23 04:40:26 -04:00
Bob Hyman
48238beec1 more mocks for test_xonfig_kernel 2020-09-23 04:35:44 -04:00
Anthony Scopatz
089fb90b0b
Merge pull request #3785 from Eadaen/history_testing-ead
Commands to easily manage deletion of history from the current session.
2020-09-22 09:10:04 -07:00
Eadaen1
3933b74278 Improve comments in tests 2020-09-20 19:28:54 +01:00
Gyuri Horak
ef6634097b
ANSI OSC - tests, news item 2020-09-20 18:55:01 +02:00
Eadaen1
d7141856ae add docs, bugfixes, misc changes 2020-09-17 14:22:41 +01:00
Bob Hyman
a7e6511381 fix test failure on linux only. 2020-09-17 03:37:23 -04:00
Bob Hyman
9b2827ee80 Merge branch 'master' into environment_fixes 2020-09-17 03:05:14 -04:00
Bob Hyman
2f3a7a4e72 Merge branch 'master' into xonfig-kernel 2020-09-17 02:57:19 -04:00
Bob Hyman
ec320857c8 add fake_lib for mocks of packages;refine tests on xonsh jupyter-kernel. 2020-09-17 02:56:01 -04:00
Eadaen1
5e0228aa09 Tests succeeded. 2020-09-17 01:25:56 +01:00
Eadaen1
2ada0badbb Add tests, other misc changes. 2020-09-17 00:26:19 +01:00
David Strobach
6461d9ec73 Add subproc from envvar test 2020-09-16 14:56:45 +02:00
David Strobach
607d649497 Fix environment variable assignment grammar ambiguity 2020-09-16 14:41:38 +02:00
Bob Hyman
e24fe29d50 WIP -- unit tests for xonfig jupyter_kernel 2020-09-16 02:17:59 -04:00
Bob Hyman
47a85c7ed9 Merge branch 'master' into wizard-fail 2020-09-11 12:31:17 -04:00
Bob Hyman
53c0f25e77 fix per review 2020-09-11 12:31:11 -04:00
Bob Hyman
06986fc0d4 Merge branch 'master' into environment_fixes 2020-09-11 01:15:49 -04:00
Bob Hyman
034f9f325d Cleanup per review. 2020-09-11 01:11:29 -04:00
Bob Hyman
d0096fb655 Test cases, news and fix one bug. 2020-09-08 14:44:26 -04:00
Bob Hyman
a9048d2841 Allow "ANSICON", "TERM", "VIRTUAL_ENV" registered envvars to not be in env. 2020-09-07 20:39:35 -04:00
David Strobach
76cd2ea43e Add test for leading variable initialization 2020-09-04 21:55:12 +02:00
David Strobach
00aeb7645a tests: Add VIRTUAL_ENV key to DummyEnv
Needed by test_vox.py.
2020-08-29 16:39:14 +02:00
David Strobach
f9f485f25d Add tests for args non-default following default 2020-08-28 17:55:05 +02:00
David Strobach
2eb5271fa0 Add PEP 570 pos-only parameters to lambda varargs 2020-08-27 03:28:44 +02:00