]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Mitigate deprecation of aiohttp's `@middleware` decorator (#3259)
authorRichard Si <63936253+ichard26@users.noreply.github.com>
Mon, 5 Sep 2022 20:27:05 +0000 (16:27 -0400)
committerGitHub <noreply@github.com>
Mon, 5 Sep 2022 20:27:05 +0000 (16:27 -0400)
commit062e644aae4299a320aeac59085df4c020ba6c81
treee3a244c2d62d6ad21555b869981f23d2ad3ae49e
parent92c93a278036870a76740d5b0b8f06504925e7dc
Mitigate deprecation of aiohttp's `@middleware` decorator (#3259)

This is deprecated since aiohttp 4.0. If it doesn't exist just define a
no-op decorator that does nothing (after the other aiohttp imports
though!). By doing this, it's safe to ignore the DeprecationWarning
without needing to require the latest aiohttp once they remove
`@middleware`.
pyproject.toml
src/blackd/middlewares.py