mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
Merge branch 'main' into fix_bad_file_descriptor
This commit is contained in:
commit
ad77f6d2a9
3 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
[run]
|
[run]
|
||||||
branch = true
|
#branch = true
|
||||||
source =
|
source =
|
||||||
xonsh/
|
xonsh/
|
||||||
xontrib/
|
xontrib/
|
||||||
|
|
|
@ -44,6 +44,7 @@ xonsh
|
||||||
|
|
||||||
p'/etc/passwd'.read_text().find('root')
|
p'/etc/passwd'.read_text().find('root')
|
||||||
|
|
||||||
|
xontrib load dalias
|
||||||
id = $(@json docker ps --format json)['ID']
|
id = $(@json docker ps --format json)['ID']
|
||||||
|
|
||||||
- .. code-block:: python
|
- .. code-block:: python
|
||||||
|
@ -52,6 +53,7 @@ xonsh
|
||||||
echo @(name) > /tmp/@(name)
|
echo @(name) > /tmp/@(name)
|
||||||
|
|
||||||
ls @(input('file: '))
|
ls @(input('file: '))
|
||||||
|
touch @([f"file{i}" for i in range(0,10)])
|
||||||
|
|
||||||
aliases['e'] = 'echo @(2+2)'
|
aliases['e'] = 'echo @(2+2)'
|
||||||
aliases['a'] = lambda args: print(args)
|
aliases['a'] = lambda args: print(args)
|
||||||
|
|
|
@ -45,6 +45,7 @@ def test(
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if report_cov:
|
if report_cov:
|
||||||
|
$COVERAGE_CORE="sysmon"
|
||||||
![pytest @(_replace_args(pytest_args, 0)) --cov --cov-report=xml --cov-report=term]
|
![pytest @(_replace_args(pytest_args, 0)) --cov --cov-report=xml --cov-report=term]
|
||||||
else:
|
else:
|
||||||
# during CI run, some tests take longer to complete on windows
|
# during CI run, some tests take longer to complete on windows
|
||||||
|
|
Loading…
Add table
Reference in a new issue