Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Dec 11, 2024
1 parent a415278 commit c062e4e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 401 deletions.
9 changes: 7 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@ repos:
name: pyright
language: system
pass_filenames: false
entry: uv run pyright
entry: uvx --with 's3transfer[crt]' pyright
- id: mypy
name: mypy
language: system
pass_filenames: false
entry: uv run mypy s3transfer-stubs
entry: uvx --with 's3transfer[crt]' mypy s3transfer-stubs
- id: istub
name: istub
language: system
pass_filenames: false
entry: uvx --with 's3transfer[crt]' istub -u
- id: sanity
name: sanity
language: system
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ classifiers = [
]

[dependency-groups]
dev = ["setuptools", "awscrt", "s3transfer", "mypy", "pyright", "istub"]
dev = ["setuptools"]
types = [
"botocore-stubs",
"types-awscrt",
"types-requests",
"types-python-dateutil",
"types-dataclasses",
]
Expand Down
1 change: 0 additions & 1 deletion scripts/before_commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ ROOT_PATH=$(dirname $(dirname $0))
cd $ROOT_PATH

uvx pre-commit run --all-files
uv run istub -u
Loading

0 comments on commit c062e4e

Please sign in to comment.