Andy Kipp
7905520f2d
Update xontribs.py
2023-01-23 21:04:29 +05:30
Andy Kipp
6d02e5d241
Update xontribs.py
2023-01-23 21:04:29 +05:30
Andy Kipp
1e57bc7f69
Update xontribs.py
2023-01-23 21:04:29 +05:30
a
a5614a54a0
black
2023-01-23 21:04:29 +05:30
Andy Kipp
8fc4cb0d72
Delete xontrib_load_skip_missing.srt
2023-01-23 21:04:29 +05:30
Andy Kipp
30416dd42a
Create xontrib_load_skip_missing.rst
2023-01-23 21:04:29 +05:30
Andy Kipp
e2d9a7eb48
Create xontrib_load_skip_missing.srt
2023-01-23 21:04:29 +05:30
Andy Kipp
f469f20c0f
Update xontribs.py
2023-01-23 21:04:29 +05:30
AkshayWarrier
359b4b2ab1
Handle regex error ( #5034 )
...
fixes https://github.com/xonsh/xonsh/issues/4993
2023-01-23 10:15:38 -05:00
Gil Forsyth
75f351821a
chore: fix formatting in aliases.py
2023-01-17 13:27:17 -05:00
Gil Forsyth
df8952d99e
fix(sqlite): skip sqlite history tests on windows with python 3.11
...
I've tried several workarounds and this isn't important enough to keep
spending time on.
2023-01-17 13:27:17 -05:00
Gil Forsyth
9b4ca3e5fe
ci: add python 3.11 to CI
2023-01-17 13:27:17 -05:00
Gil Forsyth
33b2ac052b
fix: update ptk highlight tests to reflect new tokenizing
...
temporary fix while we sort out what broke upstream
2023-01-17 13:27:17 -05:00
Tobias Becker
d173ad7f3b
Add a warning to the docs about $args in ExecAlias ( #5033 )
2023-01-17 13:05:39 -05:00
Andy Kipp
81e3bdd207
Bump APPIMAGE_PYTHON_VERSION to 3.11 and fix xpip for AppImage ( #5024 )
2023-01-12 09:22:34 -05:00
Mark Bestley
1e6faa47ce
Remove python REPL prompts so that you can copy the code ( #5022 )
2023-01-11 17:27:44 -05:00
pre-commit-ci[bot]
455b85e719
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pycqa/isort: v5.11.3 → 5.11.4](https://github.com/pycqa/isort/compare/v5.11.3...5.11.4 )
2022-12-27 02:29:22 +05:30
Noorhteen Raja NJ
2d29b04a4a
fix: mypy errors since v0.991
2022-12-20 10:25:28 +05:30
Noorhteen Raja NJ
bb183244a9
chore: update flake8 config which fails with flake8-v6
2022-12-20 10:25:28 +05:30
pre-commit-ci[bot]
5be65dbd11
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 22.10.0 → 22.12.0](https://github.com/psf/black/compare/22.10.0...22.12.0 )
- [github.com/pycqa/isort: 5.10.1 → v5.11.3](https://github.com/pycqa/isort/compare/5.10.1...v5.11.3 )
- [github.com/pycqa/flake8: 5.0.4 → 6.0.0](https://github.com/pycqa/flake8/compare/5.0.4...6.0.0 )
- [github.com/pre-commit/mirrors-mypy: v0.982 → v0.991](https://github.com/pre-commit/mirrors-mypy/compare/v0.982...v0.991 )
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0 )
- [github.com/asottile/pyupgrade: v3.2.0 → v3.3.1](https://github.com/asottile/pyupgrade/compare/v3.2.0...v3.3.1 )
2022-12-20 10:25:28 +05:30
Gil Forsyth
bcf2592b7d
doc: remove references to deprecated RC location, update changelog ( #5012 )
2022-12-14 22:00:15 -05:00
Gil Forsyth
a587e7ec8c
chore: add 3.11 to wheel release action ( #5009 )
2022-12-11 14:14:50 +05:30
Gil Forsyth
ebadfac8d9
Updated CHANGELOG for 0.13.4
2022-12-08 09:37:21 -05:00
Gil Forsyth
4e2e83b5b1
bumped version to 0.13.4
2022-12-08 09:37:21 -05:00
Gil Forsyth
dad0ccc0a4
Updated authorship for 0.13.4
2022-12-08 09:37:21 -05:00
yotamolenik
e6932747f9
commands_cache: ignore mtime check on non-darwin os ( #4988 )
...
* environ: add a configurable value to disable cache
* docs: update env variable doc
Co-authored-by: Noorhteen Raja NJ <jnoortheen@gmail.com>
2022-12-05 21:04:20 +05:30
Qyriad
c07155dbe2
cmd cache: check possibilities when checking if alias overrides ( #4996 )
...
* cmd cache: check possibilities when checking if alias overrides
This fixes an issue on Windows where an alias could not override a
command without specifying the path extension.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-23 23:15:19 +05:30
Noorhteen Raja NJ
c63f75efd0
cmd cache refactor - optimize cache usage ( #4954 )
...
* todo:
* refactor: remove usage of singleton in cmd-cache
* refactor: pass aliases/env to commands_cache on creation
reduce the usage of singletons
* fix: setting up mockups for tests
* feat: add $XONSH_CACHE_DIR
* refactor: use cache path to stire cmds-cache
* chore: todo
* feat: efficient cache commands per path and modified time
* refactor: move aliases to commands cache
now XonshSession is not needed to setup cmds-cache
* refactor: update tests
* fix: type annotation
* refactor: init aliases at commands-cache
* test: update failing tests
* fix: handle paths mtime changing
* docs: add news item
* refactor: remove $COMMANDS_CACHE_SIZE_WARNING
* fix: loading on windows fails because of setup sequence
* fix: failing tests
2022-11-14 23:52:10 +05:30
Marco Rubin
f61a6d3da0
Add whitespace after full stop in alias message ( #4987 )
2022-11-09 16:10:34 +05:30
pre-commit-ci[bot]
2da559cd24
[pre-commit.ci] pre-commit autoupdate ( #4980 )
...
updates:
- [github.com/asottile/pyupgrade: v3.1.0 → v3.2.0](https://github.com/asottile/pyupgrade/compare/v3.1.0...v3.2.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-01 17:56:50 +05:30
Justin
1fe284122d
fix: web config tool including \r in prompt ( #4969 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2022-10-25 10:07:20 -04:00
austin-yang
ed11f319fa
Fix: Allows user to assign #XONSH_STYLE_OVERRIDES a {Token:str} dictionary #4375 ( #4973 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-24 10:46:52 -04:00
Vasilis Gerakaris
9c1a751fee
Fix auto-suggestion completion stacking if no normal completion exists ( #4970 )
...
* Fix auto-suggestion completion stacking if no normal completion exists
* Add tests for auto-suggest completions
2022-10-21 00:48:31 +05:30
Vasilis Gerakaris
1d61d8d711
Document that xonshrc files not applied on non-interactive mode
2022-10-20 03:20:33 +05:30
pre-commit-ci[bot]
81f321d670
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v3.0.0 → v3.1.0](https://github.com/asottile/pyupgrade/compare/v3.0.0...v3.1.0 )
2022-10-18 00:19:48 +05:30
Blake Ramsdell
b0c81048af
feat: add on_command_not_found event ( #4959 )
2022-10-11 08:54:12 -04:00
pre-commit-ci[bot]
7774f76130
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 22.8.0 → 22.10.0](https://github.com/psf/black/compare/22.8.0...22.10.0 )
- [github.com/pre-commit/mirrors-mypy: v0.981 → v0.982](https://github.com/pre-commit/mirrors-mypy/compare/v0.981...v0.982 )
- [github.com/asottile/pyupgrade: v2.38.2 → v3.0.0](https://github.com/asottile/pyupgrade/compare/v2.38.2...v3.0.0 )
2022-10-11 01:12:09 +05:30
Noorhteen Raja NJ
c60368ec82
fix: mypy error on implicit optional
2022-10-05 11:54:05 +05:30
pre-commit-ci[bot]
4c3c361cf9
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.971 → v0.981](https://github.com/pre-commit/mirrors-mypy/compare/v0.971...v0.981 )
2022-10-05 11:54:05 +05:30
Blake Ramsdell
b5c42d6716
Add XONSH_HISTORY_IGNORE_REGEX support ( #4953 )
...
* Add XONSH_HISTORY_IGNORE_REGEX support
* Add changelog text
* Add cleanup notes for XONSH_HISTORY_IGNORE_REGEX
* Rename should_append to is_ignored
* Change is_ignored to a History method
* Remove unused re imports
* Docstring formatting cleanup, Black compliance
* Move XONSH_HISTORY_IGNORE_REGEX to History class
* Clarify with parenthesis
* Formatting compliance
* Add validate_ignore_regex check
* Remove validation comment
* Remove XONSH_HISTORY_IGNORE_REGEX test comments
* Add __init__ chaining to DummyHistory
* Add broken test for XONSH_IGNORE_REGEX
* Remove extra test variants
* Fix unit test environment variable name
* Add test for bad regex error output
* Remove unneeded __init__ chaining
* Add test_is_ignore
* Add is_regex and associated tests
* Add doc for XONSH_HISTORY_IGNORE_REGEX
* Change validate_ignore_regex to use is_regex
* Compile regex once and use a cached property
* Let cached_property handle saving regex
2022-10-05 00:16:42 +05:30
Lie Ryan
490f6f2636
#4951 Fix gitstatus prompt when rebasing ( #4952 )
...
* #4951 Fix gitstatus prompt when rebasing
* Create fix-gitstatus-rebase.rst
2022-09-28 14:07:51 +06:00
pre-commit-ci[bot]
f54f6978a5
[pre-commit.ci] pre-commit autoupdate ( #4949 )
...
updates:
- [github.com/asottile/pyupgrade: v2.38.0 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.38.0...v2.38.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-27 03:30:43 +05:30
pre-commit-ci[bot]
3c6ef1bdde
[pre-commit.ci] pre-commit autoupdate ( #4943 )
...
updates:
- [github.com/asottile/pyupgrade: v2.37.3 → v2.38.0](https://github.com/asottile/pyupgrade/compare/v2.37.3...v2.38.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-20 00:59:05 +05:30
Gil Forsyth
0b8c105e5a
Updated CHANGELOG for 0.13.3
2022-09-15 09:52:28 -04:00
Gil Forsyth
dad7d9f8be
bumped version to 0.13.3
2022-09-15 09:52:27 -04:00
Gil Forsyth
469f3118ac
Updated authorship for 0.13.3
2022-09-15 09:52:27 -04:00
Gil Forsyth
7365ad1bc0
fix: do not prepend bg:
to noinherit
style directives ( #4939 )
...
Pygments does not understand a "background" of `noinherit`, only
`noinherit` -- so if we are setting `noinherit`, even for a background
color, we do not prepend `bg:`
2022-09-15 19:18:43 +05:30
Gil Forsyth
84405423df
Updated CHANGELOG for 0.13.2
2022-09-15 08:47:38 -04:00
Gil Forsyth
5fb7bfa2da
bumped version to 0.13.2
2022-09-15 08:47:38 -04:00
Gil Forsyth
1e9be618bc
Updated authorship for 0.13.2
2022-09-15 08:47:24 -04:00