summary refs log tree commit diff
path: root/synapse/util/versionstring.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* More types for synapse.util, part 1 (#10888)David Robertson2021-10-061-7/+18
| | | | | | | | | | | | | | The following modules now pass `disallow_untyped_defs`: * synapse.util.caches.cached_call * synapse.util.caches.lrucache * synapse.util.caches.response_cache * synapse.util.caches.stream_change_cache * synapse.util.caches.ttlcache pass * synapse.util.daemonize * synapse.util.patch_inline_callbacks pass `no-untyped-defs` * synapse.util.versionstring Additional typing in synapse.util.metrics. Didn't get this to pass `no-untyped-defs`, think I'll need to watch #10847
* Add types to synapse.util. (#10601)reivilibre2021-09-101-1/+1
|
* Remove shebang line from module files (#10415)V024602021-07-291-1/+0
| | | Signed-off-by: Kai A. Hiller <V02460@gmail.com>
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Handle FileNotFound error in checking git repository version (#6284)Andrew Morgan2019-10-301-4/+6
|
* Cache get_version_string.Erik Johnston2019-07-221-2/+21
| | | | | | | | | The version of a module isn't going to change over the lifetime of the process (assuming no funky hot reloading is going on, which it isn't), so let's just cache the result to avoid spawning lots of git subprocesses. Fixes #5672.
* Run Black. (#5482)Amber Brown2019-06-201-29/+32
|
* Port over enough to get some sytests running on Python 3 (#3668)Amber Brown2018-08-201-6/+6
|
* run isortAmber Brown2018-07-091-2/+2
|
* Add federation /version APIErik Johnston2016-08-051-4/+4
|
* Move the versionstring code out of app.homeserver into utilMark Haines2016-04-111-0/+84