Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7c4ba9

Browse files
committed
Add cmdline test for .git/info/exclude support in --exclude-gitignore
1 parent 1bccdfd commit d7c4ba9

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

test-data/unit/cmdline.test

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -989,6 +989,17 @@ b
989989
[out]
990990
b/bpkg.py:1: error: "int" not callable
991991

992+
[case testCmdlineExcludeGitignoreWithGitInfoExclude]
993+
# cmd: mypy --exclude-gitignore .
994+
[file .git/info/exclude]
995+
abc
996+
[file abc/apkg.py]
997+
1()
998+
[file c/cpkg.py]
999+
1()
1000+
[out]
1001+
c/cpkg.py:1: error: "int" not callable
1002+
9921003
[case testCmdlineCfgExclude]
9931004
# cmd: mypy .
9941005
[file mypy.ini]

0 commit comments

Comments
 (0)