Commit Graph

9 Commits

Author SHA1 Message Date
Dan Yeaw
15627f607f
Enable pyupgrade to modernize syntax 2021-07-03 15:13:29 -04:00
Dan Yeaw
b33155a79f
Enable docformatter pre-commit checks
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-09-15 19:50:55 -04:00
Dan Yeaw
8714be7aac
Add flake8 to pre-commit
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-08-28 22:13:46 -04:00
Dan Yeaw
34f7a524bc
Add isort, check-toml, and check-yaml to pre-commit
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-08-28 22:08:26 -04:00
Arjan Molenaar
afb1a7996f Fix error in multimethod's otherwise clause 2019-11-09 19:27:15 +01:00
Arjan Molenaar
7b7041173e Add back generic methods
From the old code, updated to Python 3.
2019-11-08 17:40:14 +01:00
Arjan Molenaar
8aba6a7955 Add back multimethod support in a separate module
Note that overriding is no longer possible from within the same class!
2019-11-08 17:27:16 +01:00
Arjan Molenaar
bb20f6992b Replace old code by Python3 implementation from Gaphor
Multimethods are missing now. Those have to be added back.
2019-11-08 16:35:11 +01:00
Arjan Molenaar
b7f4d5b12c Move tests to toplevel 2019-11-08 13:52:19 +01:00