Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update submodules/template digest to 3f1b455 - abandoned #59

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: 2024.1.1-176-g3f08a30
_commit: 2024.1.1-178-g3f1b455
_src_path: gh:blakeNaccarato/copier-python
actions_runner: ubuntu-22.04
active: true
Expand Down
26 changes: 16 additions & 10 deletions scripts/Sync-Py.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,22 @@ if (!$CI -and !$Devcontainer -and (Get-Command -Name 'code' -ErrorAction 'Ignore
"--install-extension=$Pylance@$Env:PYRIGHT_PYTHON_PYLANCE_VERSION"
)
code @Install
$PylanceExtension = Get-ChildItem -Path $LocalExtensions -Filter "$Pylance-*"
# Remove other files
Get-ChildItem -Path $LocalExtensions |
Where-Object { Compare-Object $_ $PylanceExtension } |
Remove-Item -Recurse
# Remove local Pylance bundled stubs
$PylanceExtension |
ForEach-Object { Get-ChildItem "$_/dist/bundled" -Filter '*stubs' } |
Remove-Item -Recurse
'INSTALLED PYLANCE LOCALLY' | Write-Progress -Done
if (!(Test-Path $LocalExtensions)) {
'COULD NOT INSTALL PYLANCE LOCALLY' | Write-Progress -Info
'PROCEEDING WITHOUT LOCAL PYLANCE INSTALL' | Write-Progress -Done
}
else {
$PylanceExtension = Get-ChildItem -Path $LocalExtensions -Filter "$Pylance-*"
# Remove other files
Get-ChildItem -Path $LocalExtensions |
Where-Object { Compare-Object $_ $PylanceExtension } |
Remove-Item -Recurse
# Remove local Pylance bundled stubs
$PylanceExtension |
ForEach-Object { Get-ChildItem "$_/dist/bundled" -Filter '*stubs' } |
Remove-Item -Recurse
'INSTALLED PYLANCE LOCALLY' | Write-Progress -Done
}
}
'FINDING UV' | Write-Progress
$uvVersionRe = Get-Content 'requirements/uv.txt' | Select-String -Pattern '^uv==(.+)$'
Expand Down
2 changes: 1 addition & 1 deletion submodules/template