Commit graph

16 commits

Author SHA1 Message Date
Noorhteen Raja NJ
15ff663530
Rm xontrib meta (#4790) 2022-05-04 15:02:20 -04:00
Noortheen Raja
78091a22f3 style: isort imports
fix #4584
2022-01-31 11:16:51 -05:00
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
Noortheen Raja
7fe724255f feat: upgrade black version to 20.8b1
this changes docstring indendation
but facilitates additional control over new lines with comma
2020-11-25 12:46:35 +05:30
Gil Forsyth
258c2fc610 Run black on all bundled xontribs 2019-04-26 11:11:11 -04:00
Anthony Scopatz
2264f72b45 fixed some more bugs 2018-09-13 17:08:01 -04:00
Morten Enemark Lund
3d8c350127 Fix bug with free_cwd xontrib
The _chdir_up() returned a pathlike object, which
isn't handled well by  __xonsh_env__['PWD']. Fixed
by returning the absolute path as a string.
2018-04-25 09:26:32 +02:00
Maximilian Köhl
dbe03b105e add ON_MSYS across all modules 2017-12-31 16:32:19 +01:00
Morten Enemark Lund
93a72c0b85 Use pathlib for path manipulations 2017-12-03 21:35:32 +01:00
Morten Enemark Lund
1e10c8ca53 Fix doc typos 2017-12-03 21:34:51 +01:00
Morten Enemark Lund
f066f6bf20 Ensure free_cwd is only active on pure windows 2017-12-03 21:34:04 +01: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
Morten Enemark Lund
502fb9f1a6 flake8 again 2017-03-10 08:20:16 +01:00
Morten Enemark Lund
20a0db2d35 Get the logic right 2017-03-09 23:02:26 +01:00
Morten Enemark Lund
049c3931d6 forgot to import print_exception 2017-03-09 22:32:58 +01:00
Morten Enemark Lund
f6a5c85cb0 Move to a xontrib 2017-03-09 22:29:49 +01:00