Skip to content

Commit 6b99e92

Browse files
committed
chore: Apply linting and introduce precommit hooks to auto run repo
linting Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 6c3f51d commit 6b99e92

File tree

556 files changed

+32401
-33541
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

556 files changed

+32401
-33541
lines changed

.bazelversion

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.1.1
1+
5.2.0

.circleci/config.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ commands:
1111
default: "x86_64"
1212
version:
1313
type: string
14-
default: "5.1.1"
14+
default: "5.2.0"
1515
steps:
1616
- run:
1717
name: Install bazel
@@ -67,7 +67,7 @@ commands:
6767
default: "8.2.4"
6868
bazel-version:
6969
type: string
70-
default: "5.1.1"
70+
default: "5.2.0"
7171
bazel-platform:
7272
type: string
7373
default: "x86_64"
@@ -374,7 +374,7 @@ jobs:
374374
platform: "sbsa"
375375
cudnn-version: << pipeline.parameters.cudnn-jetson-version >>
376376
trt-version-short: << pipeline.parameters.trt-jetson-version-short >>
377-
bazel-version: "5.1.1"
377+
bazel-version: << pipeline.parameters.bazel-version >>
378378
bazel-platform: "arm64"
379379
- run:
380380
name: Set python version
@@ -430,7 +430,7 @@ jobs:
430430
platform: "x86_64"
431431
cudnn-version: << pipeline.parameters.cudnn-release-version >>
432432
trt-version-short: << pipeline.parameters.trt-release-version-short >>
433-
bazel-version: "5.1.1"
433+
bazel-version: << pipeline.parameters.bazel-version >>
434434
bazel-platform: "x86_64"
435435
- install-torch-from-index:
436436
torch-build: << parameters.torch-build >>
@@ -475,7 +475,7 @@ jobs:
475475
platform: "x86_64"
476476
cudnn-version: << pipeline.parameters.cudnn-nightly-version >>
477477
trt-version-short: << pipeline.parameters.trt-nightly-version-short >>
478-
bazel-version: "5.1.1"
478+
bazel-version: << pipeline.parameters.bazel-version >>
479479
bazel-platform: "x86_64"
480480
- install-torch-from-index:
481481
torch-build: << parameters.torch-build >>
@@ -526,7 +526,7 @@ jobs:
526526
platform: "x86_64"
527527
cudnn-version: << parameters.cudnn-version >>
528528
trt-version-short: << parameters.trt-version-short >>
529-
bazel-version: "5.1.1"
529+
bazel-version: << pipeline.parameters.bazel-version >>
530530
bazel-platform: "x86_64"
531531
- create-py-env:
532532
trt-version-long: << parameters.trt-version-long >>
@@ -744,6 +744,10 @@ jobs:
744744

745745

746746
parameters:
747+
bazel-version:
748+
type: string
749+
default: "5.2.0"
750+
747751
# Nightly platform config
748752
torch-nightly-build:
749753
type: string

.clang-tidy

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ performance-*,
3333
HeaderFilterRegex: 'torch/csrc/.*'
3434
AnalyzeTemporaryDtors: false
3535
CheckOptions:
36-
...
36+
...

.dockerignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ examples/int8/training/vgg16/data/*
6161
examples/int8/datasets/data/*
6262
env/**/*
6363
*.ts
64-
.nox/**/*
64+
.nox/**/*

.github/actions/assigner/.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
# don't diff machine generated files
55
dist/index.js -diff
6-
package-lock.json -diff
6+
package-lock.json -diff

.github/actions/assigner/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.DS_Store
22
node_modules/
33
lib/
4-
!dist
4+
!dist

0 commit comments

Comments
 (0)