Skip to content

Commit 515fd01

Browse files
mthrokfacebook-github-bot
authored andcommitted
Update lint config (#2389)
Summary: Following the formatter changes heppened in fbcode, this commit update the linter config. Pull Request resolved: #2389 Reviewed By: hwangjeff Differential Revision: D37659649 Pulled By: mthrok fbshipit-source-id: 1c52ff93f0b10cb2e7303d2ad13b2d65ffccfcb0
1 parent 09daa43 commit 515fd01

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/config.yml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
command: pre-commit install-hooks
119119
- run:
120120
name: Lint Python code and config files
121-
command: pre-commit run --all-files || true
121+
command: pre-commit run --all-files
122122
- run:
123123
name: Required lint modifications
124124
when: always

.pre-commit-config.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ repos:
99
- id: end-of-file-fixer
1010

1111
- repo: https://github.com/omnilib/ufmt
12-
rev: v1.3.0
12+
rev: v1.3.2
1313
hooks:
1414
- id: ufmt
1515
additional_dependencies:
16-
- black == 21.9b0
17-
- usort == 0.6.4
16+
- black == 22.3
17+
- usort == 1.0.2
18+
- libcst == 0.4.1
19+
exclude: examples

docs/source/hw_acceleration_tutorial.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1524,4 +1524,4 @@
15241524
},
15251525
"nbformat": 4,
15261526
"nbformat_minor": 0
1527-
}
1527+
}

0 commit comments

Comments
 (0)