Skip to content

Commit 591965c

Browse files
authored
new requirements file for formatter versions
Differential Revision: D55490073 Pull Request resolved: #866
1 parent 907e855 commit 591965c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.lintrunner.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ init_command = [
1717
'run',
1818
'pip_init',
1919
'--dry-run={{DRYRUN}}',
20-
'black==24.2.0',
21-
'ufmt==2.5.1',
22-
'usort==1.0.5',
20+
'--requirement=fmt-requirements.txt',
21+
'ufmt==2.5.1', # TODO: remove when synced fmt-requirements.txt includes ufmt
2322
]
2423
is_formatter = true
2524

fmt-requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# generated by `pyfmt --requirements`
2+
black==24.2.0
3+
usort==1.0.5

0 commit comments

Comments
 (0)