Commit graph

6 commits

Author SHA1 Message Date
Noorhteen Raja NJ
38295a1dd9
Remove globals (#4280)
* refactor: remove usage of global variables in abbrevs.py

* chore: add flake8-mutable to prevent mutable defaults

* fix: abbrevs expand test

* refactor: add xonsh session singleton

* refactor: fix circular errors when using xonshSession as singleton

* refactor: remove black magicked builtin attributes

* style: black format tests as well

* refactor: update tests to use xonsh-session singleton

* refactor: update abbrevs to not use builtins

* test: remove DummyCommandsCache and patch orig class

* fix: failing test_command_completers

* test: use monkeypatch to update xession fixture

* fix: failing test_pipelines

* fix: failing test_main

* chore: run test suit as single invocation

* test: fix tests/test_xonsh.xsh

* refactor: remove builtins from docs/conf.py

* fix: mypy error in jobs

* fix: test error from test_main

* test: close xession error in test_command_completers

* chore: use pytest-cov for reporting coverage

this will include subprocess calls, and will increase coverage

* style:
2021-05-20 13:14:26 +03:00
David Strobach
98bd6b6a48 Make autovox work with Python 3.5
We still can't use f-strings because of Python 3.5 support.
2020-04-08 20:13:12 +02:00
Jamie Bliss
66d133952d autovox: Fix algorithm to cd correctly 2020-02-03 13:25:06 -05:00
Jamie Bliss
82fbac63e3 Bug in autovox 2019-08-28 14:50:19 -04:00
Jamie Bliss
d4ba3b5789 Remove print() 2019-08-28 14:34:20 -04:00
Jamie Bliss
c7e5b7b0f9 Add autovox xontrib to support automatic vox 2019-08-18 21:09:57 -04:00