Commit graph

6848 commits

Author SHA1 Message Date
Joel Gerber
d6387bc66e
Switch @deprecated StrictVersion usage to LooseVersion
It appears that the circleci build process introduces a non-SemVer
compliant version number into xonsh.__init__ during build, thus
breaking my test. Switching to LooseVersion checks over
StrictVersion, as this should hopefully allow CI/CD to pass.
2017-06-10 10:45:52 -04:00
Joel Gerber
5d9c40b171
Correct improper word usage in timeit_alias 2017-06-10 10:37:44 -04:00
Joel Gerber
a9e1a31c2c
Correct spelling issue in make_pygments_style 2017-06-10 10:36:34 -04:00
Joel Gerber
17b102da04
Fix incorrect word usage in the CompoundColorMap docstring 2017-06-10 10:35:49 -04:00
Joel Gerber
5494325ac9
Fix incorrect word usage and improve the grammar of _signal_int 2017-06-10 10:31:57 -04:00
Joel Gerber
a2a54292be
Fix spelling error in lopen_loc docstring 2017-06-10 10:28:19 -04:00
Joel Gerber
e7a2d019fc
Fix spelling error and adjust grammar for the --timings argument 2017-06-10 10:27:34 -04:00
Joel Gerber
f128571e3c
Reword the History.append method docstring
This hopefully contains an accurate and readable description of
the cmd parameter that is passed in a History().append() call.
2017-06-10 10:23:37 -04:00
Joel Gerber
c33abf0ebf
Mark make_pallete() as deprecated
Using the new deprecated() decorator, mark make_pallete() as
deprecated in version 0.5.10 and removed in version 0.6.0.
2017-06-10 10:13:07 -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
Joel Gerber
8a220e1514
Slight rewording of msg text in rewrite_imports function 2017-06-09 11:09:06 -04:00
Joel Gerber
9e3d6bfa14
Reword docstring on class While as well as its __init__ method 2017-06-09 11:07:56 -04:00
Joel Gerber
f85bbf4776
Reword populate_buffer docstring 2017-06-09 11:07:01 -04:00
Joel Gerber
b6670b3f2b
Change subprocess' to subprocesses in _fix_null_cmd_bytes() comment 2017-06-09 11:06:24 -04:00
Joel Gerber
177ba80b8a
Reword sentence regarding bounding parentheses. 2017-06-09 11:04:43 -04:00
Joel Gerber
b1d436332d
CHANGELOG entries
Include CHANGELOG entries for the changes made in spelling_fixes.rst.
2017-06-07 12:21:13 -04:00
Joel Gerber
ef53e5f8be
Rename xonsh.color_tools.make_pallette() to make_palette()
A spelling error referring to a color palette as a piece of medieval
armour in the xonsh.color_tools.make_pallette() function definition
has been resolved. I've left a statement binding make_pallette() to
make_palette() in case other users have been using this, but I would
think it should eventually be deprecated.
2017-06-07 11:51:46 -04:00
Joel Gerber
213ecf7d6b
Local variable spelling corrections
A number of common spelling typos found within a few source code files'
local variables have been identified and resolved.
2017-06-07 11:51:40 -04:00
Joel Gerber
aa285e932c
Text string spelling corrections
A number of common spelling typos found within text strings in various
source code files have been identified and resolved.
2017-06-07 11:51:26 -04: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
Joel Gerber
12e2fb80cc
Documentation spelling corrections
A number of common spelling typos found within various restructuredText
files have been identified and resolved.
2017-06-07 11:51:06 -04:00
Konstantinos Tsakiltzidis
daa909fe13 Merge pull request #2392 from nathan-hoad/xonfig-output
Don't show the repr of the LazyBool for whether or not xonsh is running on Linux.
2017-05-30 08:47:06 +03:00
Konstantinos Tsakiltzidis
6fcee1ffbe Merge pull request #2390 from xonsh/autorelease
Use github3.py to do github release in release.xsh
2017-05-30 08:41:57 +03:00
Nathan Hoad
54747d3676 Don't show the repr of the LazyBool for whether or not xonsh is running on Linux. 2017-05-30 13:57:02 +10:00
Gil Forsyth
adcb4c685f Use github3.py to do github release in release.xsh 2017-05-29 16:02:50 -04:00
Konstantinos Tsakiltzidis
54ebf9e3db Merge pull request #2391 from xonsh/fix_sphinx_ci
Pin sphinx to 1.5.6 to avoid bug in 1.6.1
2017-05-29 22:46:15 +03:00
Gil Forsyth
c46869e6e7 Pin sphinx to 1.5.6 to avoid bug in 1.6.1 2017-05-26 13:29:54 -04:00
laerus
68d80a458e version bump to 0.5.10 2017-05-25 23:50:56 +03:00
laerus
174a7210ef version bump to 0.5.10 2017-05-25 23:47:50 +03:00
Jamie Bliss
9caf3826fd Merge pull request #2384 from shahinism/master
Add xontrib-fzf-widgets
2017-05-25 14:48:47 -04:00
Shahin
a238f8f6ed
Fix CI fail 2017-05-20 09:24:21 +04:30
Shahin
5527a8b84d
Add news entry and update installation package installation direction to use xip 2017-05-18 21:42:22 +04:30
Shahin
e5fa25f19d
Add xontrib-fzf-widgets 2017-05-18 14:28:43 +04:30
Gil Forsyth
da1f0a3d91 Merge pull request #2368 from anddam/anddam-patch-1
Minor change: fix typo, rephrase sentence
2017-05-01 09:24:05 -04:00
Andrea D'Amore
4784f7cd1a Minor change: fix typo, rephrase sentence 2017-04-28 23:23:34 +02: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
Gil Forsyth
341208ebe9 Merge pull request #2360 from xonsh/fix_at_dollar
Fix at dollar
2017-04-21 19:02:32 -04:00
Jamie Bliss
bf11df618c Add test 2017-04-21 17:46:04 -04:00
Gil Forsyth
b77bc1d3f3 add news entry 2017-04-21 15:28:59 -04:00
Gil Forsyth
fe36bfc218 fix @$ behavior with aliases
This was borking out when using `@$` with aliased commands (due, I think, to a
trailing newline character that wasn't being stripped out).

Should resolve #2340
2017-04-21 15:25:33 -04:00
Gil Forsyth
d33003959e add test for --rc flags 2017-04-21 14:34:47 -04:00
Gil Forsyth
ce3f87dba0 fix --rc option for xonsh startup 2017-04-21 09:14:21 -04:00
Jamie Bliss
f6fb9ba5bb Merge pull request #2357 from xonsh/more_threadable_predictors
add xclip and repo to threadable predictors
2017-04-17 14:41:11 -04:00
Gil Forsyth
329db7ac5e add xclip and repo to threadable predictors
To address issues #2355 and #2348
2017-04-17 14:21:55 -04:00
Jamie Bliss
a891b21ab3 Merge pull request #2308 from xonsh/linecont
Line continuations not always working on Win
2017-03-29 11:54:33 -04:00
Jamie Bliss
f1b154f252 Fixing some docstring typos. 2017-03-29 10:54:31 -04:00
Hugo Wang
34c73351ec Merge pull request #2344 from xonsh/codecov
codecov raised threshold at 2%
2017-03-28 21:25:29 +08:00
laerus
e6fbfb010c codecov threshold 2% 2017-03-28 15:15:58 +03:00
laerus
9902367e0e codecov raised threshold at 5% 2017-03-27 22:43:03 +03:00