Commit Graph

25 Commits

Author SHA1 Message Date
Stephen Morton
097581ea47 Update to mypy 1.14 (#13272) 2024-12-20 17:29:38 -08:00
Peter Bierma
df29ce93ac Allow simplejson encoding arguments to be None. (#12466)
Allow None in encoding parameter.
2024-07-31 19:10:10 -07:00
Shantanu
4d8ae17776 Bump mypy to 1.9, add to json.encoder, small fixups (#11549)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-03-09 14:25:00 -08:00
Nikita Sobolev
3fa6374c9a Mark simplejson as completed (#9211)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-17 14:50:46 -08:00
Sebastian Rittau
afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Avasam
db0149859c Add partial_stub metadata field (#10157) 2023-05-10 17:04:18 +02:00
Nikita Sobolev
7dcec5b3db Bump simplejson to 3.19.* (#10049) 2023-04-15 01:22:41 -07:00
Sebastian Rittau
027460f11a Remove unnecessary ellipsis expressions (#9976)
Ignore flake8 F821 warnings in stub files
2023-03-29 13:28:06 +02:00
Alex Waygood
b69b17c3d8 Add defaults for third-party stubs Q-T (#9959) 2023-03-28 13:16:31 +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
github-actions[bot]
dc072ea937 [stubsabot] Bump simplejson to 3.18.* (#9198)
Release: https://pypi.org/pypi/simplejson/3.18.0
Homepage: https://github.com/simplejson/simplejson
Diff: https://github.com/simplejson/simplejson/compare/v3.17.6...v3.18.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 3 files included in typeshed's stubs have been modified or renamed: `simplejson/__init__.py`, `simplejson/decoder.py`, `simplejson/encoder.py`.
 - Total lines of Python code added: 63.
 - Total lines of Python code deleted: 25.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2022-11-15 00:26:37 +00:00
anthony sottile
b13f8e37a3 add default for simplejson.JSONEncoder.iterencode (#9135)
4364525222/simplejson/encoder.py (L304)
2022-11-08 17:30:05 +00:00
Nikita Sobolev
4276136d7a Remove simplejson from pyright's exclude (#8945) 2022-10-20 13:22:15 +01:00
Alex Waygood
6348a58b8b Import Match and Pattern from re, not typing (#8277) 2022-07-12 15:32:48 +02:00
Sebastian Rittau
fa4677424a Remove Python 2 support from simplejson (#7704) 2022-04-27 11:57:29 +02:00
Alex Waygood
740193a8fc Use TypeAlias where possible for type aliases (#7630) 2022-04-15 18:01:00 -07:00
Alex Waygood
3ab250eec8 Use PEP 604 syntax wherever possible (#7493) 2022-03-16 16:01:33 +01:00
Samuel T
2610c5ee37 Create simplejson.errors (#6492) 2021-12-05 12:32:37 +02:00
Sebastian Rittau
9f86972350 Add star to all non-0.1 versions (#6146) 2021-10-11 13:41:19 -07:00
jack1142
bfa1d043d7 Add RawJSON to simplejson stubs (#5921)
Update METADATA.toml version
2021-08-13 17:50:59 +02:00
Akuli
ee487304d7 Big diff: Use new "|" union syntax (#5872) 2021-08-08 11:05:21 +02:00
Shantanu
7244ea1f71 Test third party stubs with stubtest (#5615) 2021-06-13 00:17:40 +02:00
Eric Traut
4b4ced5fa0 Added missing type annotations and type arguments (#5070)
Co-authored-by: Eric Traut <erictr@microsoft.com>
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
2021-02-25 15:09:58 -08:00
Eric Traut
c7c025ae08 Removed a bunch of unused import symbols detected by pyright. (#5060)
Co-authored-by: Eric Traut <erictr@microsoft.com>
2021-02-23 19:46:46 +01:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00