mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-27 08:11:01 -05:00
Compare commits
2 commits
2243411693
...
2b71f2bd03
Author | SHA1 | Date | |
---|---|---|---|
|
2b71f2bd03 | ||
|
29ac4557b7 |
2 changed files with 5 additions and 5 deletions
|
@ -1,11 +1,11 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||||
rev: 24.10.0
|
rev: 23.9.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v5.0.0
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
@ -15,6 +15,6 @@ repos:
|
||||||
- id: check-json
|
- id: check-json
|
||||||
|
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.7.4
|
rev: v0.0.290
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
|
|
|
@ -22,7 +22,7 @@ installs, or use of pipx as alternatives to executing arbitrary, unversioned cod
|
||||||
script to alternatives, consider maintaining a local copy as part of your infrastructure.
|
script to alternatives, consider maintaining a local copy as part of your infrastructure.
|
||||||
|
|
||||||
For full documentation, visit https://python-poetry.org/docs/#installation.
|
For full documentation, visit https://python-poetry.org/docs/#installation.
|
||||||
"""
|
""" # noqa: E501
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
@ -278,7 +278,7 @@ A. Append the bin directory to your user environment variable `PATH`:
|
||||||
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";{poetry_home_bin}", "User")
|
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";{poetry_home_bin}", "User")
|
||||||
```
|
```
|
||||||
|
|
||||||
B. Try to append the bin directory to PATH every when you run PowerShell (>=6 recommended):
|
B. Tries to appends the bin directory to PATH every when you run PowerShell (>=6 recommended):
|
||||||
|
|
||||||
```
|
```
|
||||||
echo 'if (-not (Get-Command poetry -ErrorAction Ignore)) {{ $env:Path += ";{poetry_home_bin}" }}' | Out-File -Append $PROFILE
|
echo 'if (-not (Get-Command poetry -ErrorAction Ignore)) {{ $env:Path += ";{poetry_home_bin}" }}' | Out-File -Append $PROFILE
|
||||||
|
|
Loading…
Reference in a new issue