Skip to content

Commit 28614c6

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 291341e commit 28614c6

File tree

561 files changed

+34018
-35134
lines changed

Some content is hidden

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

561 files changed

+34018
-35134
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.1.1
1+
5.2.0

.circleci/config.yml

Lines changed: 10 additions & 7 deletions
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"
@@ -354,7 +354,7 @@ jobs:
354354
platform: "sbsa"
355355
cudnn-version: << pipeline.parameters.cudnn-jetson-version >>
356356
trt-version-short: << pipeline.parameters.trt-jetson-version-short >>
357-
bazel-version: "5.1.1"
357+
bazel-version: << pipeline.parameters.bazel-version >>
358358
bazel-platform: "arm64"
359359
- run:
360360
name: Set python version
@@ -410,7 +410,7 @@ jobs:
410410
platform: "x86_64"
411411
cudnn-version: << pipeline.parameters.cudnn-release-version >>
412412
trt-version-short: << pipeline.parameters.trt-release-version-short >>
413-
bazel-version: "5.1.1"
413+
bazel-version: << pipeline.parameters.bazel-version >>
414414
bazel-platform: "x86_64"
415415
- install-torch-from-index:
416416
torch-build: << parameters.torch-build >>
@@ -455,7 +455,7 @@ jobs:
455455
platform: "x86_64"
456456
cudnn-version: << pipeline.parameters.cudnn-nightly-version >>
457457
trt-version-short: << pipeline.parameters.trt-nightly-version-short >>
458-
bazel-version: "5.1.1"
458+
bazel-version: << pipeline.parameters.bazel-version >>
459459
bazel-platform: "x86_64"
460460
- install-torch-from-index:
461461
torch-build: << parameters.torch-build >>
@@ -506,7 +506,7 @@ jobs:
506506
platform: "x86_64"
507507
cudnn-version: << parameters.cudnn-version >>
508508
trt-version-short: << parameters.trt-version-short >>
509-
bazel-version: "5.1.1"
509+
bazel-version: << pipeline.parameters.bazel-version >>
510510
bazel-platform: "x86_64"
511511
- create-py-env:
512512
trt-version-long: << parameters.trt-version-long >>
@@ -580,6 +580,10 @@ jobs:
580580
- test-fx
581581

582582
parameters:
583+
bazel-version:
584+
type: string
585+
default: "5.2.0"
586+
583587
# Nightly platform config
584588
torch-nightly-build:
585589
type: string
@@ -795,4 +799,3 @@ workflows:
795799
trt-version-long: << pipeline.parameters.trt-nightly-version-long >>
796800
requires:
797801
- build-x86_64-pyt-nightly
798-

.clang-tidy

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)