summary refs log tree commit diff
path: root/tox.ini (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add type hints to the spam check module (#6915)Patrick Cloke2020-02-141-0/+1
| | | | Add typing information to the spam checker modules.
* Add typing to synapse.federation.sender (#6871)Erik Johnston2020-02-071-0/+1
|
* Add typing to SyncHandler (#6821)Erik Johnston2020-02-031-0/+1
| | | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Fix sending server up commands from workers (#6811)Erik Johnston2020-01-301-0/+1
| | | | Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* Fixup synapse.rest to pass mypy (#6732)Erik Johnston2020-01-201-2/+1
|
* Fixup synapse.api to pass mypy (#6733)Erik Johnston2020-01-201-0/+1
|
* Fixup synapse.replication to pass mypy checks (#6667)Erik Johnston2020-01-141-0/+1
|
* Remove unused, undocumented "content repo" resource (#6628)Richard van der Hoff2020-01-031-1/+0
| | | | | | This looks like it got half-killed back in #888. Fixes #6567.
* Bump version of mypyErik Johnston2019-12-121-1/+1
|
* Include more folders in mypyErik Johnston2019-12-121-1/+13
|
* Add benchmarks for structured logging performance (#6266)Amber Brown2019-12-031-0/+9
|
* Python 3.8 for tox (#6341)Richard van der Hoff2019-11-071-1/+1
| | | | | | | ... and update INSTALL.md to include py3.8. We'll also have to update the buildkite pipeline to run it
* Update black to 19.10b0 (#6304)Amber Brown2019-11-011-2/+2
| | | * update version of black and also fix the mypy config being overridden
* Update CI to run isort on scripts and scripts-dev (#6270)Andrew Morgan2019-10-301-1/+1
|
* Remove redundant arguments to CI's flake8 (#6277)Andrew Morgan2019-10-301-1/+1
|
* Add comment as to why we're pinning black in testsErik Johnston2019-10-291-1/+1
|
* Pin black versionErik Johnston2019-10-291-1/+1
|
* Add config linting script that checks for bool casing (#6203)Andrew Morgan2019-10-231-0/+1
| | | | | Add a linting script that enforces all boolean values in the default config be lowercase. This has annoyed me for a while so I decided to fix it.
* Fix presence timeouts when synchrotron restarts. (#6212)Erik Johnston2019-10-181-1/+1
| | | | | | | | | * Fix presence timeouts when synchrotron restarts. Handling timeouts would fail if there was an external process that had timed out, e.g. a synchrotron restarting. This was due to a couple of variable name typoes. Fixes #3715.
* Refactor HomeserverConfig so it can be typechecked (#6137)Amber Brown2019-10-101-2/+1
|
* Fix for structured logging tests stomping on logs (#6023)Amber Brown2019-09-131-6/+24
|
* Fix coverage in sytest and use plugins for buildkite (#5922)Amber Brown2019-08-291-13/+9
|
* Implement a structured logging output system. (#5680)Amber Brown2019-08-281-0/+10
|
* Run Black. (#5482)Amber Brown2019-06-201-3/+6
|
* Remove Python 2.7 support. (#5425)Amber Brown2019-06-121-2/+2
| | | | | | | | * remove 2.7 from CI and publishing * fill out classifiers and also make it not be installed on 3.5 * some minor bumps so that the old deps work on python 3.5
* Pin eliot to <1.8 on python 3.5.2 (#5218)Richard van der Hoff2019-05-211-1/+1
| | | | | | | | | | * Pin eliot to <1.8 on python 3.5.2 Fixes https://github.com/matrix-org/synapse/issues/5199 * Add support for 'markers' to python_dependencies * tell xargs not to strip quotes
* set PIP_USE_PEP517 = False for testsRichard van der Hoff2019-04-251-0/+5
| | | | | pip 19.1 otherwise complains about "editable mode is not supported for pyproject.toml-style projects"
* Add comment back inErik Johnston2019-03-191-0/+1
|
* Revert changesErik Johnston2019-03-191-12/+2
|
* Bring py27-old into line with other test envsErik Johnston2019-03-181-0/+14
|
* Add coverage to py27-oldErik Johnston2019-03-181-3/+6
|
* Include a default configuration file in the 'docs' directory. (#4791)Richard van der Hoff2019-03-041-0/+3
|
* Run unit tests against python 3.7 (#4677)Richard van der Hoff2019-02-201-27/+2
| | | | | | | | | | | | * Run unit tests against python 3.7 ... so that we span the full range of our supported python versions * Switch to xenial * fix psql fail * pep8 etc want python 3.6
* Merge pull request #4420 from matrix-org/jaywink/openid-listenerErik Johnston2019-02-111-0/+1
|\ | | | | New listener resource for the federation API "openid/userinfo" endpoint
| * Add parameterized Python module to test dependenciesJason Robinson2019-01-231-0/+1
| | | | | | | | | | | | Allows running parameterized tests. BSD license. Signed-off-by: Jason Robinson <jasonr@matrix.org>
* | Use native UPSERTs where possible (#4306)Amber Brown2019-01-241-0/+1
|/
* Make the dependencies more like a standard Python project and hook up the ↵Amber Brown2018-12-221-3/+1
| | | | optional dependencies to setuptools (#4298)
* Merge branch 'master' into developRichard van der Hoff2018-12-201-0/+1
|\
| * Debian packaging via dh_virtualenv (#4285)Richard van der Hoff2018-12-201-0/+1
| |
* | Make isort tox check print diff when it failsErik Johnston2018-12-101-2/+2
|/
* Report combined coverage to codecov (#4225)Amber Brown2018-11-281-12/+17
|
* Add a coveragerc (#4180)Amber Brown2018-11-151-2/+13
|
* Port hash_password to Python 3 (#4161)Amber Brown2018-11-081-1/+1
| | | | | | * port hash_password * changelog
* Attempt to fix tox installsRichard van der Hoff2018-10-301-0/+14
| | | | | | | | | | | | It seems that, at some point, the ability to run tox on old servers (with old setuptools) got broken - and it was only working on our Jenkins instance by dint of reusing the tox environments. Let's try to get tox to do the right thing, and remove the guff from jenkins/prepare_synapse.sh. (There is a separate question about whether the jenkins builds should be using tox to prepare the virtualenv at all here, but that is somewhat orthogonal).
* disable coverage checkingRichard van der Hoff2018-10-251-4/+1
| | | | | I don't think we ever use this, and it slows things down. If we want to use it, we should just do so on a couple of builds rather than all of them.
* Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase ↵Amber Brown2018-10-201-2/+2
| | | | on py3) (#4068)
* Run our oldest supported configuration in CI (#3952)Amber Brown2018-09-271-0/+20
|
* Fix client IPs being broken on Python 3 (#3908)Amber Brown2018-09-201-0/+10
|
* Add a way to run tests in PostgreSQL in Docker (#3699)Amber Brown2018-09-201-1/+1
|
* merge (#3576)Amber Brown2018-09-141-41/+3
|
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-1/+19
|
* rename 'isort' to 'check_isort' as requestedKrombel2018-07-161-2/+2
|
* check isort by travisKrombel2018-07-161-2/+6
|
* Use towncrier to build the changelog (#3425)Amber Brown2018-06-251-0/+8
|
* update tox.ini to cover 292 succeeding testsKrombel2018-06-051-11/+19
| | | | Signed-Off-By: Matthias Kesler <krombel@krombel.de>
* extend tox testing for py3 to avoid regressionsKrombel2018-05-291-1/+28
|
* tests/metrics is gone nowAmber Brown2018-05-221-1/+1
|
* run config tests on py3Adrian Tschira2018-04-301-1/+2
| | | | Signed-off-by: Adrian Tschira <nota@notafile.com>
* Update tox.iniRichard van der Hoff2018-04-301-1/+1
| | | add missing comma
* Add py3 tests to tox with folders that workAdrian Tschira2018-04-271-1/+9
| | | | | | | | It's just a few tests, but it will at least prevent a few files from regressing. Also, it makes it easiert to check your code against py36 while writing it. Signed-off-by: Adrian Tschira <nota@notafile.com>
* do tox install with pip -eRichard van der Hoff2017-09-051-5/+29
| | | | | - this ensures we end up with a working virtualenv which we can use for other things.
* Fix unittests under toxRichard van der Hoff2016-12-061-0/+7
| | | | | We now need to set PYTHONPATH when running the unit tests; update tox config to do so.
* Change /bin/bash to /bin/sh in tox.iniBartek Rutkowski2016-06-101-2/+2
| | | No features of Bash are used here, so using /bin/sh makes it more portable to systems that don't have Bash natively (like BSD systems).
* Fix flake8 warnings for testsMark Haines2016-02-191-1/+1
|
* Remove pyc files before running testsDaniel Wagner-Hall2016-02-091-1/+1
|
* Generate code coverage report when running jenkins.shMark Haines2015-12-181-1/+2
|
* Output results files on jenkinsDaniel Wagner-Hall2015-11-161-3/+3
| | | | | | | Outputs: * results.xml * coverage.xml * violations.flake8.log
* Pull out jenkins script into a checked in scriptDaniel Wagner-Hall2015-11-131-1/+3
|
* Update the other place check_joined_room is calledMark Haines2015-10-301-0/+1
|
* Use the version of "matrix-angular-sdk" hosted on pypiMark Haines2015-09-011-2/+0
|
* Make 'setup.py test' run toxMark Haines2015-08-261-1/+1
|
* Allow tests to be filter when using toxDaniel Wagner-Hall2015-08-261-1/+1
| | | | | `tox` will run all tests `tox tests.api.test_auth.AuthTestCase` will run just the tests in AuthTestCase
* Set PYTHONDONTWRITEBYTECODE in the tox environment so that we don't spew ↵Mark Haines2015-08-251-0/+2
| | | | .pyc files everywhere
* Add tox.ini file for synapseMark Haines2015-08-251-0/+25