-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use uv instead of poetry, bump to py38
- Loading branch information
Showing
11 changed files
with
429 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
repos: | ||
- repo: local | ||
hooks: | ||
- id: lint | ||
name: lint | ||
language: system | ||
pass_filenames: false | ||
entry: uv run ruff check --fix | ||
- id: format | ||
name: format | ||
language: system | ||
pass_filenames: false | ||
entry: uv run ruff format | ||
- id: pyright | ||
name: pyright | ||
language: system | ||
pass_filenames: false | ||
entry: uv run pyright | ||
- id: mypy | ||
name: mypy | ||
language: system | ||
pass_filenames: false | ||
entry: uv run mypy awscrt-stubs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"samuelcolvin.jinjahtml", | ||
"tamasfe.even-better-toml", | ||
"ms-python.black-formatter", | ||
"ms-python.isort", | ||
"ms-python.vscode-pylance", | ||
"ms-python.flake8" | ||
"charliermarsh.ruff" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
awscrt-stubs/py.typed | ||
awscrt-stubs/*.pyi | ||
awscrt-stubs/*/*.pyi |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
SITE_PACKAGES=`poetry run python -c "import sys; import os; paths = filter(lambda x: x.startswith(os.getcwd()), sys.path); print(list(paths)[0])"` | ||
SITE_PACKAGES=`uv run python -c "import sys; import os; paths = filter(lambda x: x.startswith(os.getcwd()), sys.path); print(list(paths)[0])"` | ||
echo "Site packages:" $SITE_PACKAGES | ||
code $SITE_PACKAGES/awscrt |
Oops, something went wrong.