Commit 515fd01c authored by moto's avatar moto Committed by Facebook GitHub Bot
Browse files

Update lint config (#2389)

Summary:
Following the formatter changes heppened in fbcode, this commit update the linter config.

Pull Request resolved: https://github.com/pytorch/audio/pull/2389

Reviewed By: hwangjeff

Differential Revision: D37659649

Pulled By: mthrok

fbshipit-source-id: 1c52ff93f0b10cb2e7303d2ad13b2d65ffccfcb0
parent 09daa438
......@@ -118,7 +118,7 @@ jobs:
command: pre-commit install-hooks
- run:
name: Lint Python code and config files
command: pre-commit run --all-files || true
command: pre-commit run --all-files
- run:
name: Required lint modifications
when: always
......
......@@ -118,7 +118,7 @@ jobs:
command: pre-commit install-hooks
- run:
name: Lint Python code and config files
command: pre-commit run --all-files || true
command: pre-commit run --all-files
- run:
name: Required lint modifications
when: always
......
......@@ -9,9 +9,11 @@ repos:
- id: end-of-file-fixer
- repo: https://github.com/omnilib/ufmt
rev: v1.3.0
rev: v1.3.2
hooks:
- id: ufmt
additional_dependencies:
- black == 21.9b0
- usort == 0.6.4
- black == 22.3
- usort == 1.0.2
- libcst == 0.4.1
exclude: examples
......@@ -1524,4 +1524,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment