diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 479072e2..7e1dc51e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.4.2 hooks: - id: black - repo: https://github.com/PyCQA/isort @@ -8,6 +8,6 @@ repos: hooks: - id: isort - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.1.0 hooks: - id: flake8 diff --git a/jazzband/hookserver.py b/jazzband/hookserver.py index df50b824..878c06b3 100644 --- a/jazzband/hookserver.py +++ b/jazzband/hookserver.py @@ -23,7 +23,6 @@ class Hooks(object): - """The Hooks object registers handlers to GitHub webhooks events. :param app: the optional :class:`~flask.Flask` instance to register @@ -108,7 +107,6 @@ def wrapper(fn): class _timed_memoize(object): - """Decorator that caches the value of function. Does not care about arguments to the function, will still only cache diff --git a/migrations/versions/0bc7f15b1164_.py b/migrations/versions/0bc7f15b1164_.py index e1f9c7dd..3c4ecd1d 100644 --- a/migrations/versions/0bc7f15b1164_.py +++ b/migrations/versions/0bc7f15b1164_.py @@ -4,6 +4,7 @@ Revises: 7f447c94347a Create Date: 2017-11-19 22:22:16.026133 """ + import sqlalchemy as sa from alembic import op diff --git a/migrations/versions/1083bb6545c9_.py b/migrations/versions/1083bb6545c9_.py index 805e9c4a..1456a1f6 100644 --- a/migrations/versions/1083bb6545c9_.py +++ b/migrations/versions/1083bb6545c9_.py @@ -4,6 +4,7 @@ Revises: 56c000fd001d Create Date: 2017-10-30 20:20:34.414930 """ + import sqlalchemy as sa from alembic import op from sqlalchemy.dialects import postgresql diff --git a/migrations/versions/17164a7d1c2e_.py b/migrations/versions/17164a7d1c2e_.py index fa2fec3d..75500cd8 100644 --- a/migrations/versions/17164a7d1c2e_.py +++ b/migrations/versions/17164a7d1c2e_.py @@ -4,6 +4,7 @@ Revises: cc0e3906ecfb Create Date: 2017-09-28 19:53:27.500788 """ + import sqlalchemy as sa from alembic import op from sqlalchemy.dialects import postgresql diff --git a/migrations/versions/1b61e2aecb30_.py b/migrations/versions/1b61e2aecb30_.py index 3fc2433a..def90320 100644 --- a/migrations/versions/1b61e2aecb30_.py +++ b/migrations/versions/1b61e2aecb30_.py @@ -4,6 +4,7 @@ Revises: e40889bed1ba Create Date: 2019-04-13 20:03:55.206723 """ + import sqlalchemy as sa from alembic import op from sqlalchemy_utils import JSONType diff --git a/migrations/versions/2c9e39e05b87_.py b/migrations/versions/2c9e39e05b87_.py index df2ff416..08492205 100644 --- a/migrations/versions/2c9e39e05b87_.py +++ b/migrations/versions/2c9e39e05b87_.py @@ -4,6 +4,7 @@ Revises: 1083bb6545c9 Create Date: 2017-10-30 20:22:24.721562 """ + from alembic import op # revision identifiers, used by Alembic. diff --git a/migrations/versions/31a627ff26d0_.py b/migrations/versions/31a627ff26d0_.py index b1cd4f2d..ee7d9064 100644 --- a/migrations/versions/31a627ff26d0_.py +++ b/migrations/versions/31a627ff26d0_.py @@ -4,6 +4,7 @@ Revises: d3b2cffb2b9c Create Date: 2018-05-18 16:05:12.490642 """ + import sqlalchemy as sa from alembic import op diff --git a/migrations/versions/56c000fd001d_.py b/migrations/versions/56c000fd001d_.py index 8e45916d..caafb8fb 100644 --- a/migrations/versions/56c000fd001d_.py +++ b/migrations/versions/56c000fd001d_.py @@ -4,6 +4,7 @@ Revises: bcc2ac4b6ecc Create Date: 2017-10-30 20:19:07.278647 """ + import sqlalchemy as sa from alembic import op from sqlalchemy.dialects import postgresql diff --git a/migrations/versions/5eff8a811c74_.py b/migrations/versions/5eff8a811c74_.py index 87510221..c94dc64a 100644 --- a/migrations/versions/5eff8a811c74_.py +++ b/migrations/versions/5eff8a811c74_.py @@ -4,6 +4,7 @@ Revises: 90291b6d31e4 Create Date: 2021-03-26 19:37:03.459550 """ + import sqlalchemy as sa from alembic import op diff --git a/migrations/versions/73d96d3120ff_.py b/migrations/versions/73d96d3120ff_.py index 2ddcce3a..af3b40c8 100644 --- a/migrations/versions/73d96d3120ff_.py +++ b/migrations/versions/73d96d3120ff_.py @@ -4,6 +4,7 @@ Revises: 2c9e39e05b87 Create Date: 2017-11-06 18:14:34.532051 """ + import sqlalchemy as sa from alembic import op from sqlalchemy.dialects import postgresql diff --git a/migrations/versions/7f447c94347a_.py b/migrations/versions/7f447c94347a_.py index fb3f1244..8de47971 100644 --- a/migrations/versions/7f447c94347a_.py +++ b/migrations/versions/7f447c94347a_.py @@ -4,6 +4,7 @@ Revises: a78f4b5d7dee Create Date: 2017-11-17 14:59:36.177805 """ + import sqlalchemy as sa from alembic import op diff --git a/migrations/versions/90291b6d31e4_.py b/migrations/versions/90291b6d31e4_.py index ee0ea374..8686f6aa 100644 --- a/migrations/versions/90291b6d31e4_.py +++ b/migrations/versions/90291b6d31e4_.py @@ -4,6 +4,7 @@ Revises: a74099e498a6 Create Date: 2021-03-26 13:47:53.109876 """ + import sqlalchemy as sa from alembic import op diff --git a/migrations/versions/9cbd7c1a6757_.py b/migrations/versions/9cbd7c1a6757_.py index 57c6431a..4914ae89 100644 --- a/migrations/versions/9cbd7c1a6757_.py +++ b/migrations/versions/9cbd7c1a6757_.py @@ -4,6 +4,7 @@ Revises: 31a627ff26d0 Create Date: 2018-05-18 19:31:27.158543 """ + import sqlalchemy as sa from alembic import op diff --git a/migrations/versions/a74099e498a6_.py b/migrations/versions/a74099e498a6_.py index 4feddec1..4793ab00 100644 --- a/migrations/versions/a74099e498a6_.py +++ b/migrations/versions/a74099e498a6_.py @@ -4,6 +4,7 @@ Revises: b09168ebba73 Create Date: 2019-04-16 13:34:33.857569 """ + import sqlalchemy as sa from alembic import op diff --git a/migrations/versions/a78f4b5d7dee_.py b/migrations/versions/a78f4b5d7dee_.py index b170bc92..3064c9c5 100644 --- a/migrations/versions/a78f4b5d7dee_.py +++ b/migrations/versions/a78f4b5d7dee_.py @@ -4,6 +4,7 @@ Revises: 73d96d3120ff Create Date: 2017-11-16 23:18:23.416997 """ + import sqlalchemy as sa from alembic import op diff --git a/migrations/versions/b09168ebba73_.py b/migrations/versions/b09168ebba73_.py index 6febb237..52d7dcae 100644 --- a/migrations/versions/b09168ebba73_.py +++ b/migrations/versions/b09168ebba73_.py @@ -5,6 +5,7 @@ Revises: 1b61e2aecb30 Create Date: 2019-04-13 20:31:39.824633 """ + from alembic import op # revision identifiers, used by Alembic. diff --git a/migrations/versions/b72321d58252_.py b/migrations/versions/b72321d58252_.py index b23d5fc2..b8813148 100644 --- a/migrations/versions/b72321d58252_.py +++ b/migrations/versions/b72321d58252_.py @@ -4,6 +4,7 @@ Revises: 9cbd7c1a6757 Create Date: 2018-12-21 10:48:52.299292 """ + import sqlalchemy as sa from alembic import op diff --git a/migrations/versions/bcc2ac4b6ecc_.py b/migrations/versions/bcc2ac4b6ecc_.py index 87108990..aff4a4cd 100644 --- a/migrations/versions/bcc2ac4b6ecc_.py +++ b/migrations/versions/bcc2ac4b6ecc_.py @@ -4,6 +4,7 @@ Revises: 17164a7d1c2e Create Date: 2017-09-29 20:53:22.786200 """ + import sqlalchemy as sa from alembic import op from sqlalchemy.dialects import postgresql diff --git a/migrations/versions/c6604f3c217b_.py b/migrations/versions/c6604f3c217b_.py index 41bc7c87..2b94bac1 100644 --- a/migrations/versions/c6604f3c217b_.py +++ b/migrations/versions/c6604f3c217b_.py @@ -4,6 +4,7 @@ Revises: 5eff8a811c74 Create Date: 2021-03-26 20:34:56.095188 """ + import sqlalchemy as sa from alembic import op diff --git a/migrations/versions/cc0e3906ecfb_.py b/migrations/versions/cc0e3906ecfb_.py index bef16ba9..348f3321 100644 --- a/migrations/versions/cc0e3906ecfb_.py +++ b/migrations/versions/cc0e3906ecfb_.py @@ -3,6 +3,7 @@ Revises: None Create Date: 2016-04-15 22:29:04.751309 """ + import sqlalchemy as sa from alembic import op diff --git a/migrations/versions/d3b2cffb2b9c_.py b/migrations/versions/d3b2cffb2b9c_.py index 411d05db..5601d3a9 100644 --- a/migrations/versions/d3b2cffb2b9c_.py +++ b/migrations/versions/d3b2cffb2b9c_.py @@ -4,6 +4,7 @@ Revises: 0bc7f15b1164 Create Date: 2017-11-20 14:25:57.182902 """ + import sqlalchemy as sa from alembic import op from sqlalchemy.dialects import postgresql diff --git a/migrations/versions/e40889bed1ba_.py b/migrations/versions/e40889bed1ba_.py index cd57b433..08a59bbd 100644 --- a/migrations/versions/e40889bed1ba_.py +++ b/migrations/versions/e40889bed1ba_.py @@ -4,6 +4,7 @@ Revises: b72321d58252 Create Date: 2019-02-10 21:55:49.665314 """ + import sqlalchemy as sa from alembic import op