Skip to content

Commit 2a1a583

Browse files
authored
set lintrunner merge_base_with main instead of origin/main (#8020)
If origin points to a fork that you haven't updated in a while, lintrunner will be very slow. Similarly, if you're working in a branch off main and have fetched origin/main but not updated main, lintrunner will lint excess files.
1 parent 267f024 commit 2a1a583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.lintrunner.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
merge_base_with = "origin/main"
1+
merge_base_with = "main"
22

33
[[linter]]
44
code = 'FLAKE8'

0 commit comments

Comments
 (0)