Commit Graph

26 Commits (6a41e5022ef640b2e6b085b06b035e6d946e476d)

Author SHA1 Message Date
Patrick Cloke 8a23bde823
Consistently use collections.abc.Mapping to check frozendict. (#12564) 3 years ago
reivilibre 524b8ead77
Add types to synapse.util. (#10601) 3 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Ankit Dobhal d66f9070cd
Fixed code misc. quality issues (#9649) 4 years ago
Richard van der Hoff 90c900a8ff Merge pull request #8678 from matrix-org/rav/fix_frozen_events 4 years ago
Richard van der Hoff b6ca69e4f1 Remove frozendict_json_encoder and support frozendicts everywhere 4 years ago
Patrick Cloke 72bec36d50
Directly import json from the standard library. (#8259) 4 years ago
David Vo 4dd27e6d11
Reduce unnecessary whitespace in JSON. (#7372) 4 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 5 years ago
Patrick Cloke 56b66db78a
Strictly enforce canonicaljson requirements in a new room version (#7381) 5 years ago
Patrick Cloke 509e381afa
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Amber Brown da7785147d
Python 3: Convert some unicode/bytes uses (#3569) 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Amber Brown 6350bf925e
Attempt to be more performant on PyPy (#3462) 7 years ago
Adrian Tschira 7873cde526 pep8 7 years ago
Adrian Tschira 4ee4450d66 fix recursion error 7 years ago
Adrian Tschira dd068ca979 remaining isintance fixes 7 years ago
Richard van der Hoff 05630758f2 Use static JSONEncoders 7 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Erik Johnston ddb816cf60 Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder that understands FrozenDict 10 years ago
Erik Johnston dfa05f0cd6 Optimize FrozenEvent creation 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Erik Johnston 5a465b67ba Fix pyflakes 10 years ago
Erik Johnston 58168498b0 Remove FrozenEncoder 10 years ago
Erik Johnston bc6564bac0 Add PEP8 newlines 10 years ago
Erik Johnston 721482c83e Add forgotten file 10 years ago