Commit Graph

88 Commits

Author SHA1 Message Date
Sebastian Rittau
055d0431ad Document the supported stdlib versions (#12731) 2024-10-11 13:48:54 +02:00
Sebastian Rittau
c0a44be33f Depend on Pillow instead of types-Pillow (#11720) 2024-04-05 13:30:27 +02:00
Jelle Zijlstra
f94bbfbcc4 Update the README (#11553)
Read through the README and changed anything that no longer made sense. In particular, the documentation of our stub versioning scheme was outdated.
2024-03-09 15:59:15 -08:00
Sebastian Rittau
4e5f7a7142 Drop support for Python 3.7 (#11234) 2024-01-04 14:48:44 +01:00
Sebastian Rittau
a042be6b17 Add a section "Stub package versioning" (#10840) 2023-10-08 13:00:55 +02:00
Sebastian Rittau
114949b5ad Note that Python 3.7 support is limited (#10601) 2023-08-21 13:39:45 +01:00
Avasam
e584337a72 Update actively supported type checker list in readme (#9472)
- Added pyright mention in readme
- Add links to help navigate away readers looking for type-checkers
- Add missing code-block
2023-01-06 13:45:51 -08:00
Sebastian Rittau
3aaf6b9999 'master' branch was updated to 'main' (#9045) 2022-11-01 12:57:57 +01:00
Alex Waygood
c4ca110c5c README: Add a link to https://typing.readthedocs.io (#8575) 2022-08-20 09:40:57 -07:00
Talal
4897e7ce9b Update README badges (#8323) 2022-07-18 11:33:47 +01:00
Alex Waygood
78d96cd17e Drop support for Python 2 (#8272) 2022-07-12 09:08:56 +02:00
Sebastian Rittau
9a5c865034 Drop support for Python 3.6, part 1 (#8250)
* Document that typeshed support 3.7+.
* Don't run tests on Python 3.6.
* Remove Python 3.6 allow lists.
* Merge common allowlist items.

Part of #6189
2022-07-07 14:42:02 +02:00
Joachim Jablon
ddcef53af4 Link from README to the release script (#6458)
And update language about type checkers

Co-authored-by: Akuli <akuviljanen17@gmail.com>
2021-12-02 06:17:16 -08:00
Sam Martin
c83a455d67 Fix malformed typeschool URL (#5927) 2021-08-14 22:57:46 +03:00
Sebastian Rittau
30ad9e945f Mention discussions forum (#5901) 2021-08-09 22:11:41 +02:00
Sebastian Rittau
21e647a184 Document _typeshed (#5501)
* Document _typeshed

Closes: #5486

* Allow README.md files
2021-05-19 22:15:21 +03:00
Sebastian Rittau
1b188921fd Move code of conduct to separate file (#5432)
The file CODE_OF_CONDUCT.md is the standard location for it and
is treated specially by GitHub, for example by linking to it directly
when opening issues and PRs.
2021-05-13 06:04:31 -07:00
Sebastian Rittau
b1577ad1cb Rework README and CONTRIBUTING (#5429)
This shuffles sections around between README.md and CONTRIBUTING.md. CONTRIBUTING now contains information pertaining to opening PRs, README all other information. I have also moved the list of maintainers to a separate file.

I have kept most information intact for now, with two main exceptions:

I removed duplicated information.
For brevity's sake, I trimmed some explanations from the section about version checks.
I have restructured the CONTRIBUTING file to follow the order of the introductory "contribution process at a glance" section. This now serves as a bit of a table of contents.

Closes: #5422
2021-05-12 16:25:47 -07:00
Jelle Zijlstra
e14085014f more thorough documentation for VERSIONS (#5395) 2021-05-11 06:56:14 -07:00
Akuli
24532a101e readme: delete old mypy submodule stuff (#5399) 2021-05-10 07:56:26 -07:00
spaghEddieDoyle
740f672450 Fix typo in README (#5389) 2021-05-09 17:00:15 -07:00
Akuli
e885820bb7 document pyright test better (#5362) 2021-05-07 22:20:43 -07:00
Akuli
0bfb28b0b6 do not require running tests locally (#5356) 2021-05-06 14:33:53 -07:00
Sebastian Rittau
d16017ba0d Drop mypy self test (#5344)
Closes: #5303
2021-05-06 06:55:49 -07:00
Greg Ward
4aa8b4bd9d Format shell commands in README consistently (#5100)
Any command that includes the "(.venv3) $" prompt is hard to read when
it's set inline. So put them all into triple-backtick blocks.
2021-03-22 19:14:46 -07:00
Jake Bailey
c00c7258ea Add pyright to test suite, pyrightconfig.json (#5059)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2021-02-23 23:07:42 +01:00
Ivan Levkivskyi
e70d06962a Update documentation to better reflect new directory structure. (#4976)
See #2491 for previous discussion.

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-28 09:09:29 +00:00
Shantanu
c3e04054cf README.md: update for the times (#4757)
Fixes #4754

Co-authored-by: hauntsaninja <>
2020-11-10 20:52:57 +01:00
Sebastian Rittau
d2a7889fe0 Drop support for Python 3.5 (#4675)
Python 3.5 EOL was on 2020-09-30.
2020-11-02 16:18:20 +01:00
Sebastian Rittau
0583738a41 Add a mypy self test (#4337)
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
Co-authored-by: hauntsaninja <>
2020-10-24 17:58:04 -07:00
Sebastian Rittau
473044cf1f Add information about removing third-party packages (#4637)
Closes: #4608
2020-10-09 16:27:56 +02:00
Oleg Höfling
308b25f8dc replace travis status badge with gh actions one (#4628) 2020-10-06 18:10:45 +02:00
Jürgen Gmach
ee44a5c323 Update test setup description (#4307)
The description, as it was, did not work with an older version of pip,
as the installation errored. An updated version of pip fixes the installation problem.
2020-07-03 14:31:22 +02:00
wouter bolsterlee
3efb675dba Use ‘exclude list’ instead of ‘blacklist’ (#4297)
This replaces all uses of ‘blacklist’ with ‘exclude list’. Benefits:

- It is racially neutral terminology; see e.g. [1]

- It makes the meaning more clear. In fact, with the popular Python
  autoformatter called ‘black’, also used by this project, files can be
  ‘blackened’ which is something completely different from them being on
  a blacklist.

[1] https://chromium.googlesource.com/chromium/src/+/master/styleguide/inclusive_code.md#racially-neutral
2020-07-01 09:10:37 +02:00
Shantanu
aa6e3efcca README.md: better document test_stubtest pitfall (#3793)
Document that the test will likely fail locally, to help cases like #3782
2020-02-29 13:58:47 +01:00
Shantanu
5324bd02f2 typeshed: run stubtest in CI (#3727)
* README.md: refactor "Running the tests"

This organises the section a little better. Previously some tests were
unmentioned; it read as if mypy_test and pytype_test were the only
tests. The section is now organised by test, making it easy to keep
track of the requirements and details of each. This also makes it
easier to add documentation for stubtest.

Also mention turning on Travis CI on your fork, since that is very
useful.

* README.md: document stubtest_test.py

* stubtest_test: add it

* travis: add stubtest_test to CI

* stubtest_test: add whitelists
2020-02-20 22:16:52 -08:00
Sebastian Rittau
0e3286bc43 Remove consent requirement for third-party stubs (#3643)
This was discussed a while ago on typing-sig. Consequently the
requirement of asking third-party maintainers for permission was
removed from PEP 484.
2020-01-23 15:01:30 +01:00
Brett Cannon
5e051d8848 Clarify contributions are from people external to the project (#3421)
Closes #3420
2019-10-29 17:17:04 -07:00
Guido van Rossum
8ec25708d9 Update 'format' README section -- don't imply it is executable (#3350) 2019-10-12 19:18:34 +02:00
Sebastian Rittau
9ccf9356bf Remove Python 3.4 support (#3147)
Closes #3123
2019-07-27 10:58:21 +02:00
Sebastian Rittau
0e5b3770f8 Add a "pull requests welcome" batch (#3033)
We get quite a few bug reports where after a maintainer writes
"Pull Requests Welcome" we get a PR by the submitter. Maybe this
badge will help a bit to encourage people directly submit PRs,
reducing maintainer workload.
2019-06-05 07:51:01 -07:00
Sean McLemon
0efb2469d4 README.md suggests running tests with PYTHONPATH instead of MYPYPATH (#2813)
* The 'Running the tests' section suggests setting PYTHONPATH instead of MYPYPATH when testing typeshed as a submodule of mypy

* actually PYTHONPATH was the right var to set ... but it was set slightly wrong after a directory reshuffle
2019-02-25 09:34:08 -08:00
Rebecca Chen
eb09e2898b Update pytype_test to be easier to run manually. (#2469)
* Moves the pytype installation to requirements-tests-py3.txt, now
  that pytype can run under Python 3.5+.
* Changes tests/pytype_test.py to not require a --python{version}-exe
  argument when it can automatically find the Python interpreter, and
  cleans up a few typos and out-of-date things.
* Updates the appropriate documentation.
* Updates .travis.yml.
2018-09-21 09:38:33 -07:00
Sebastian Rittau
fa74160e1f Drop support for Python 3.3 (#2258)
Closes #2257.
2018-06-19 15:37:13 -07:00
Martin DeMello
754789b031 modify pytype_test to run from within pytype too, and support python3 (#1817) 2018-01-22 12:18:58 -08:00
Sebastian Rittau
9656febaee Merge style guide from README.md into CONTRIBUTING.md (#1696) 2017-11-08 09:02:59 -08:00
Sebastian Rittau
cbea45f19a Fix style example (#1689)
* Replace `self` with `cls` in classmethod
* Group classmethods together, as in the actual stub
* Use float instead of Union[int, float] in coding style example
2017-10-26 10:54:18 -04:00
Sebastian Rittau
0b0a9588f3 Document default argument syntax (#1687) 2017-10-26 00:57:46 -04:00
Matthias Kramm
a5d044361b Add "conventions" section to README.md (#1470)
This documents, among others, the unicode -> Union[bytes, unicode] promotion that python/peps#302 removes from PEP 484.
2017-07-18 13:58:24 -07:00
Svyatoslav Ilinskiy
45f2d9d625 Add travis badge (#1474) 2017-07-10 14:23:05 -07:00