mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
[pre-commit.ci] pre-commit autoupdate (#5584)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.5.1) * [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>
This commit is contained in:
parent
31ee913eb7
commit
2c826c9b75
2 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ default_language_version:
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
# Ruff version.
|
# Ruff version.
|
||||||
rev: 'v0.5.0'
|
rev: 'v0.5.1'
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [., --fix, --exit-non-zero-on-fix]
|
args: [., --fix, --exit-non-zero-on-fix]
|
||||||
|
|
|
@ -21,7 +21,7 @@ xonsh
|
||||||
cat /etc/passwd | grep root > ~/root.txt
|
cat /etc/passwd | grep root > ~/root.txt
|
||||||
|
|
||||||
$PROMPT = '@ '
|
$PROMPT = '@ '
|
||||||
|
|
||||||
|
|
||||||
- .. code-block:: python
|
- .. code-block:: python
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ xonsh
|
||||||
|
|
||||||
aliases['e'] = 'echo @(2+2)'
|
aliases['e'] = 'echo @(2+2)'
|
||||||
aliases['a'] = lambda args: print(args)
|
aliases['a'] = lambda args: print(args)
|
||||||
|
|
||||||
|
|
||||||
If you like xonsh, :star: the repo, `write a tweet`_ and stay tuned by watching releases.
|
If you like xonsh, :star: the repo, `write a tweet`_ and stay tuned by watching releases.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue