summary refs log tree commit diff
path: root/setup.cfg (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix (final) Bugbear violations (#9838)Jonathan de Jong2021-04-201-2/+1
|
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-2/+1
|
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-081-2/+2
| | | | | | | Part of #9366 Adds in fixes for B006 and B008, both relating to mutable parameter lint errors. Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>
* Enable addtional flake8-bugbear linting checks. (#9659)Jonathan de Jong2021-03-241-2/+2
|
* Enable flake8-bugbear, but disable most checks. (#9499)Jonathan de Jong2021-03-161-1/+2
| | | | * Adds B00 to ignored checks. * Fixes remaining issues.
* Add a list of hashes to ignore during git blame. (#9560)Patrick Cloke2021-03-091-0/+1
| | | | | | | The hashes are from commits due to auto-formatting, e.g. running black. git can be configured to use this automatically by running the following: git config blame.ignoreRevsFile .git-blame-ignore-revs
* Remove docs/sphinx and related references (#8480)Andrew Morgan2020-10-071-5/+0
| | | https://github.com/matrix-org/synapse/tree/develop/docs/sphinx doesn't seem to really be utilised or changed recently since the initial commit. I like the idea of exportable documentation of the codebase, but at the moment after running through the build instructions the generated website wasn't very useful...
* isort 5 compatibility (#7786)Will Hunt2020-07-051-1/+0
| | | The CI appears to use the latest version of isort, which is a problem when isort gets a major version bump. Rather than try to pin the version, I've done the necessary to make isort5 happy with synapse.
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-1/+1
|
* Run Black. (#5482)Amber Brown2019-06-201-4/+3
|
* Fix a number of flake8 errorsRichard van der Hoff2018-10-241-9/+8
| | | | | | | | | | | | Broadly three things here: * disable W504 which seems a bit whacko * remove a bunch of `as e` expressions from exception handlers that don't use them * use `r""` for strings which include backslashes Also, we don't use pep8 any more, so we can get rid of the duplicate config there.
* Port http/ to Python 3 (#3771)Amber Brown2018-09-061-2/+3
|
* Move v1-only APIs into their own module & isolate deprecated ones (#3460)Amber Brown2018-07-191-0/+1
|
* add config for pep8Richard van der Hoff2018-07-181-3/+8
| | | | | | | | Since, for better or worse, we seem to have configured isort to generate 89-character lines, pycharm is now complaining at me that our lines are too long. So, let's configure pep8 to behave consistently with flake8.
* Add an isort configuration (#3463)Amber Brown2018-07-091-0/+12
|
* Port to sortedcontainers (with tests!) (#3332)Amber Brown2018-06-061-1/+2
|
* Fix flake8 configurationRichard van der Hoff2016-07-261-4/+2
| | | | | | | | Apparently flake8 v3 doesn't like trailing comments on config settings. Also remove the pep8 config, which didn't work (because it was missing W503) and duplicated the flake8 config. We don't use pep8 on its own, so the config was duplicative.
* Use google style doc strings.Mark Haines2016-04-011-0/+3
| | | | | | | pycharm supports them so there is no need to use the other format. Might as well convert the existing strings to reduce the risk of people accidentally cargo culting the wrong doc string format.
* Explain what W503 isDaniel Wagner-Hall2016-02-021-1/+1
|
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-0/+1
|
* Make 'setup.py test' run toxMark Haines2015-08-261-3/+0
|
* Add max-line-length to the flake8 section of setup.cfgMark Haines2015-08-131-0/+3
|
* Fix manifest. Ignore contrib and docs directories when checking manifest ↵Mark Haines2015-01-221-0/+8
| | | | against source control.
* Reference Matrix Home Servermatrix.org2014-08-121-0/+10