Commit Graph

12 Commits

Author SHA1 Message Date
Akuli
754473a30d Add a few more upstream_repository URLs (#10489) 2023-07-20 17:23:19 +02:00
Avasam
ed6748fb32 Stubtest settings: change ignore_missing_stub default to false (#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Alex Waygood
a4e3cfefac Improve pre-commit config (#9563)
- Add a few more hooks. These are all very fast, and I've found them useful in other projects:
  - Autofixes:
    - `trailing-whitespace`: fixes trailing whitespace
    - `requirements-txt-fixer`: alphabetises items in `requirements.txt` files
    - `end-of-file-fixer`: makes sure every file ends with a single newline character
    - `mixed-line-ending`: Makes sure Windows users don't accidentally introduce CRLF line endings into a file that uses LF line endings
  - None-autofixes:
    - `check-yaml`: loads YAML files to validate syntax
    - `check-toml`: loads TOML files to validate syntax
    - `check-merge-conflict`: detects merge-conflict strings in files and blocks them from accidentally being committed
    - `check-case-conflict`: checks for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT; blocks them from being committed.
  - Change the bot schedule to quarterly, to reduce noisy PRs
  - Change the `black` language target-version to Python 3.10, synching the setting here with the changes that were made to our `pyproject.toml` file in #7538
2023-01-18 06:29:18 -08:00
Alex Waygood
805452f896 editdistance: delete the bycython submodule (#9380) 2022-12-18 07:25:11 -08:00
Nikita Sobolev
918f2266da Remove editdistance from pyright's exclude (#8941) 2022-10-20 07:15:09 -07:00
Shantanu
4b34b345f1 Add missing third party modules (#8321)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: hauntsaninja <>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-19 08:11:29 +01:00
Shantanu
9df28aac13 Make xxhash, editdistance into packages (#8320)
This matches the runtime. Also see #8319
2022-07-17 12:26:18 -07:00
Shantanu
22532ba504 dj-database-url, docopt, editdistance, first: check missing defs (#8154) 2022-06-25 08:16:59 +01:00
Shantanu
ec33d7ba87 [stubsabot] Bump editdistance to 0.6.* (#8120)
Co-authored-by: hauntsaninja <>
2022-06-20 22:16:34 -07:00
Alex Waygood
653f2c6ba4 Third-party stubs: import from collections.abc where possible (#7637) 2022-04-16 14:52:57 +01:00
Sebastian Rittau
9f86972350 Add star to all non-0.1 versions (#6146) 2021-10-11 13:41:19 -07:00
Louis Duperier
bfff7d763b add type stubs (#5932) 2021-08-18 17:02:14 +03:00