pytorch/.github
Aaron Gokaslan 6d725e7d66 [BE]: enable ruff rules PLR1722 and PLW3301 (#109461)
Enables two ruff rules derived from pylint:
* PLR1722 replaces any exit() calls with sys.exit(). exit() is only designed to be used in repl contexts as may not always be imported by default. This always use the version in the sys module which is better
* PLW3301 replaces nested min / max calls with simplified versions (ie. `min(a, min(b, c))` => `min(a, b. c)`). The new version is more idiomatic and more efficient.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/109461
Approved by: https://github.com/ezyang
2023-09-18 02:07:21 +00:00
..
actions Fix the use of head_branch in filter-test-configs action (#107753) 2023-08-23 03:14:36 +00:00
ci_commit_pins Forward rank and world size info to Torchbench models when using dynamo runner (#108438) 2023-09-14 21:01:20 +00:00
ISSUE_TEMPLATE
requirements Add tensorboard to pip requirements (#109349) 2023-09-15 10:39:48 +00:00
scripts [BE]: enable ruff rules PLR1722 and PLW3301 (#109461) 2023-09-18 02:07:21 +00:00
templates Try to use linux.arm64.2xlarge runners (#107672) 2023-09-06 22:06:57 +00:00
workflows Build CUDA image for lintrunner (#109456) 2023-09-18 02:05:17 +00:00
actionlint.yaml Adding aarch64 wheel CI workflows (#104109) 2023-06-29 18:58:43 +00:00
auto_request_review.yml Remove jbschlosser from symbolic-shapes auto request list (#107482) 2023-08-18 20:51:19 +00:00
ISSUE_TEMPLATE.md
labeler.yml Add some more files to ciflow/inductor (#105112) 2023-07-13 14:44:42 +00:00
merge_rules.yaml Add test/onnx_caffe2 to ONNX Exporter merge rule (#109295) 2023-09-14 19:06:12 +00:00
PULL_REQUEST_TEMPLATE.md
pytorch-circleci-labels.yml
pytorch-probot.yml
regenerate.sh
requirements-gha-cache.txt Bump requests from 2.26 to 2.31.0 in /.github (#102057) 2023-05-25 21:06:44 +00:00