Commit Graph

7 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
d4d0ece49e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-11-20 03:12:27 +00:00
Dan Yeaw
6513631bc2
Sourcery refactoring 2022-11-19 22:09:49 -05:00
pre-commit-ci[bot]
640e0710a5
[pre-commit.ci] pre-commit autoupdate (#239)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 22.8.0 → 22.10.0](https://github.com/psf/black/compare/22.8.0...22.10.0)
- [github.com/pre-commit/mirrors-mypy: v0.981 → v0.982](https://github.com/pre-commit/mirrors-mypy/compare/v0.981...v0.982)
- [github.com/asottile/pyupgrade: v2.38.2 → v3.0.0](https://github.com/asottile/pyupgrade/compare/v2.38.2...v3.0.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-10 18:54:50 -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
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