From 3c4cfb6be495abf55bb97af52c097c60010b62bc Mon Sep 17 00:00:00 2001 From: Ian Galpin <ian.galpin@geant.org> Date: Thu, 1 Dec 2022 10:50:32 +0000 Subject: [PATCH] Pinned flake8 to 5.0.4 due to breaking change in flake8-quotes Flake8 6.0.0 introduced breaking changes in arg parsing which affect the flake8-quotes plugin. See: https://github.com/pycqa/flake8/pull/1739 https://github.com/zheller/flake8-quotes/pull/111 --- compendium_v2/routes/api.py | 4 +--- requirements-dev.txt | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compendium_v2/routes/api.py b/compendium_v2/routes/api.py index 7879cdfe..3c07cef3 100644 --- a/compendium_v2/routes/api.py +++ b/compendium_v2/routes/api.py @@ -4,15 +4,13 @@ API Endpoints .. contents:: :local: -/api/things +/api/data-entries/ --------------------- """ -import json import logging -import os from flask import Blueprint diff --git a/requirements-dev.txt b/requirements-dev.txt index 69f1e1e8..c2a4ff03 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ -r requirements.txt -flake8 +flake8==5.0.4 flake8-quotes isort mypy @@ -9,3 +9,5 @@ types-docutils types-jsonschema types-Flask-Cors types-setuptools +types-sqlalchemy +types-flask_migrate \ No newline at end of file -- GitLab