Anthony Scopatz
9f6e88ec02
added file inserter to wizard
2017-12-15 14:43:35 -05:00
Gil Forsyth
e3c03388b6
Merge pull request #2556 from xonsh/synstar
...
Fixed def spam(*): pass issue
2017-12-09 13:58:18 -05:00
Anthony Scopatz
ce030eb85e
fixed callable alias e>o redirection
2017-12-07 23:24:06 -05:00
Anthony Scopatz
38cffd2bdc
Py v3.4 compat
2017-12-07 17:17:53 -05:00
Anthony Scopatz
70d7ef7c31
added test for iglobpath
2017-12-07 16:44:01 -05:00
Anthony Scopatz
3f9bfed62c
Fixed def spam(*): pass issue
2017-12-06 22:12:50 -05:00
Jamie Bliss
517b176456
Remove lines/columns from the default environment
2017-11-29 13:51:13 -05:00
Anthony Scopatz
80712dbd36
conda test fixes
2017-11-22 19:23:47 -05:00
Anthony Scopatz
70b5b85d37
fix for running tests as root
2017-11-22 19:19:22 -05:00
Gil Forsyth
cf973c202b
Escape regex in path completion
2017-11-16 18:44:31 -05:00
Anthony Scopatz
b1ec6c7069
fix for echo * spam ; echo spam
2017-11-09 20:20:40 -05:00
Anthony Scopatz
be64cf9864
fix for eating semicolons
2017-11-08 20:54:18 -05:00
Anthony Scopatz
88647b4a8f
Merge pull request #2434 from xonsh/no_rc_for_scripts
...
Don't load xonshrc is xonsh is running a script
2017-11-07 21:33:38 -05:00
Gil Forsyth
2bc22c9d18
Merge pull request #2516 from nilehmann/add_fstrings_to_check_quotes
...
Allow f-strings in check_quotes
2017-11-06 18:40:52 -05:00
Nico Lehmann
0b27206d50
Allow fstrings in check_quotes
2017-10-27 23:58:25 -07:00
Gordon Ball
bd2bcdc291
Skip parser tests if python < 3.6
2017-10-09 13:36:34 +00:00
Gordon Ball
d45daf97e4
Test numeric underscores in parser, lexer
2017-10-09 13:13:28 +00:00
Gil Forsyth
12362d7dd5
Resolve behavior between script
call and -i
2017-09-27 19:16:14 -04:00
Gil Forsyth
14df0792de
Preserve xonsh interactive flag when running scripts
2017-09-27 19:16:14 -04:00
Gil Forsyth
1f464fb193
Don't load xonshrc is xonsh is running a script
...
As per discussions with @asmeurer -- if xonsh is being used to launch a script,
e.g.
```
xonsh run_my_cool_deploy.xsh
```
then it should not load the `xonshrc` file since this should be reserved for
interactive functionality and we don't want side effects in the script.
Basically, if you need a xontrib to be loaded for your script, load it in your
script
2017-09-27 19:16:14 -04:00
Jean-Benoist Leger
c839fcea0e
adding test for libgpm used in background threadable predictors
2017-09-05 10:22:49 +02:00
Morten Enemark Lund
876740b535
Fixed escape_windows_cmd_string
not handling ^ correctly
2017-08-01 21:43:46 +02:00
Gil Forsyth
27ffb8d3d8
Merge pull request #2449 from xonsh/fstr
...
F-strings
2017-07-24 16:33:56 -04:00
Anthony Scopatz
a39dc73c18
rm print
2017-07-23 16:06:32 -07:00
Anthony Scopatz
1df6b22203
EnvPath __add__() and __radd__() methods
2017-07-22 16:31:16 -04:00
Anthony Scopatz
6a1a2404ae
restrict tests to py36
2017-07-22 15:40:28 -04:00
Anthony Scopatz
936f738516
f-string tests working
2017-07-22 15:35:38 -04:00
Anthony Scopatz
ef9c357a73
some upassign AST tests
2017-07-17 13:04:53 -05:00
Anthony Scopatz
1781410d97
Merge branch 'master' into fstr
2017-07-16 16:19:52 -05:00
Morten Enemark Lund
b54a320ac0
Merge pull request #2439 from xonsh/barestarz
...
x, y, *z unpacking
2017-07-16 23:16:31 +02:00
Anthony Scopatz
18450f4330
Merge branch 'master' into fstr
2017-07-16 16:15:49 -05:00
Anthony Scopatz
1bc4920dbf
lex f-strings
2017-07-16 16:13:20 -05:00
Anthony Scopatz
078c44703c
fixed triple quote issue when open triple quotes are on the last line
2017-07-16 15:34:20 -05:00
Anthony Scopatz
1123a0af9b
fix for comma test list rules
2017-07-16 14:17:38 -05:00
Anthony Scopatz
ec0c2ef143
don't check error status for window
2017-07-15 18:06:19 -05:00
Anthony Scopatz
19be0c409d
fixed zero line test
2017-07-15 17:53:47 -05:00
Anthony Scopatz
4df37c0d73
fixed EOF in multi-line statement line number error
2017-07-15 17:51:21 -05:00
Jamie Bliss
f05c4d86b8
Merge pull request #2398 from Jitsusama/spelling_fixes
...
Spelling Fixes
2017-06-16 11:12:05 -04:00
Joel Gerber
0b94c3ceec
raise AssertionError on deprecated when removed_in exceeded
...
As there was some worry raised over whether people would remember
to remove a deprecated function once the removed_in version had been
reached, I've decided to add functionality that will force the
issue. When a @deprecated function is tagged with a removed_in
release that is greater than or equal to the current release, the
@deprecated decorator will raise an AssertionError, which will
hopefully break CI/CD and force the function to be removed.
2017-06-10 09:57:49 -04:00
Joel Gerber
5c33aac9f2
Introduce deprecated function/method decorator
...
This method allows for import time modification of a decorated
method/function such that it's docstring will reflect when the
function was deprecated, when it will be removed and that it is in
fact deprecated. It will also use the warnings system to flag
a DeprecationWarning that Python will report on when run with the
`-W` flag, or, when run through certain static/dynamic code
analyzers.
2017-06-09 21:50:38 -04:00
laerus
9edfafaf99
Add flush method to tests/tools::DummyHistory
2017-06-07 21:55:04 +03:00
Joel Gerber
2abb24f4f6
Docstring and comment spelling corrections
...
A number of common spelling typos found within various docstrings and
comments found within source code files have been identified and resolved.
2017-06-07 11:51:17 -04:00
Konstantinos Tsakiltzidis
18873742df
Merge pull request #2359 from xonsh/custom_rc
...
fix `--rc` option for xonsh startup
2017-04-22 02:32:21 +03:00
Jamie Bliss
bf11df618c
Add test
2017-04-21 17:46:04 -04:00
Gil Forsyth
d33003959e
add test for --rc
flags
2017-04-21 14:34:47 -04:00
Morten Enemark Lund
5f60bea8c4
Removed %foo% environment expansion on windows
2017-03-15 22:33:21 +01:00
Gil Forsyth
d6540ce66d
add test that all int and bool envvars have ensurers
...
hopefully this will stop this from cropping up again in the future
2017-03-15 09:09:08 -04:00
Gil Forsyth
08d7f8b0fc
test that _get_hg_root doesn't barf
...
There was no test for what the `hg` call would do if it weren't in a
repo at all.
2017-03-06 16:13:16 -05:00
Anthony Scopatz
bdd0ecbe5c
fix windows tests
2017-03-02 23:25:30 -05:00
Anthony Scopatz
7f8634a215
ambiguous fix
2017-03-02 22:49:52 -05:00