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]
|
||||
branch = true
|
||||
#branch = true
|
||||
source =
|
||||
xonsh/
|
||||
xontrib/
|
||||
|
|
|
@ -44,6 +44,7 @@ xonsh
|
|||
|
||||
p'/etc/passwd'.read_text().find('root')
|
||||
|
||||
xontrib load dalias
|
||||
id = $(@json docker ps --format json)['ID']
|
||||
|
||||
- .. code-block:: python
|
||||
|
@ -52,6 +53,7 @@ xonsh
|
|||
echo @(name) > /tmp/@(name)
|
||||
|
||||
ls @(input('file: '))
|
||||
touch @([f"file{i}" for i in range(0,10)])
|
||||
|
||||
aliases['e'] = 'echo @(2+2)'
|
||||
aliases['a'] = lambda args: print(args)
|
||||
|
|
|
@ -45,6 +45,7 @@ def test(
|
|||
"""
|
||||
|
||||
if report_cov:
|
||||
$COVERAGE_CORE="sysmon"
|
||||
![pytest @(_replace_args(pytest_args, 0)) --cov --cov-report=xml --cov-report=term]
|
||||
else:
|
||||
# during CI run, some tests take longer to complete on windows
|
||||
|
|
Loading…
Add table
Reference in a new issue