Skip to content

Commit 531a1f0

Browse files
authored
Remove test samples (#11906)
I don't know that these have caught any real issues in the last couple years, however, the standard library ones have been a bit of a pain, most recently in #11905. Jukka was okay removing the stdlib samples two years ago, see #8838 (comment) We now have tooling like mypy primer that runs mypy over a much larger and more varied corpus of code on every PR. The other samples haven't caused me much bother (except for crawl, which I removed in #9375), but except for crawl2, they're all very simple. I don't think they provide us much value, unless they have sentimental or historical value.
1 parent 254d41e commit 531a1f0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2
-16213
lines changed

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ DEALINGS IN THE SOFTWARE.
2626

2727
= = = = =
2828

29-
Portions of mypy and mypyc are licensed under different licenses. The
30-
files under stdlib-samples as well as the files
29+
Portions of mypy and mypyc are licensed under different licenses.
30+
The files
3131
mypyc/lib-rt/pythonsupport.h, mypyc/lib-rt/getargs.c and
3232
mypyc/lib-rt/getargsfast.c are licensed under the PSF 2 License, reproduced
3333
below.

mypy/test/testsamples.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

test-data/samples/bottles.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

test-data/samples/class.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

test-data/samples/cmdline.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)