Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 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
1 change: 1 addition & 0 deletions aws/lambda/pytorch-auto-revert/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.zip
deployment/
venv/
*.html
6 changes: 1 addition & 5 deletions aws/lambda/pytorch-auto-revert/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,10 @@ venv/bin/python:
venv/bin/pip install -r requirements.txt

venv/bin/lintrunner: venv/bin/python
venv/bin/pip install lintrunner==0.12.5 boto3-stubs==1.34.51
venv/bin/pip install -r dev_requirements.txt
# lintrunner only works properly with virtualenv if you activate it first
. venv/bin/activate && lintrunner init --config ../../../.lintrunner.toml

.PHONY: run-local
run-local: venv/bin/python
NOTIFY_ISSUE_NUMBER=265 REPO_FULL_NAME=pytorch/pytorch-canary venv/bin/python -m pytorch_auto_revert --dry-run

.PHONY: run-local-workflows
run-local-workflows: venv/bin/python
NOTIFY_ISSUE_NUMBER=265 REPO_FULL_NAME=pytorch/pytorch-canary venv/bin/python -m pytorch_auto_revert --dry-run autorevert-checker Lint trunk pull inductor linux-binary-manywheel --hours 8
Expand Down
3 changes: 3 additions & 0 deletions aws/lambda/pytorch-auto-revert/dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
boto3-stubs>=1.34.51
lintrunner==0.12.5
setuptools>=80.9.0
Loading