summaryrefslogtreecommitdiff
path: root/keystone/common/sql/upgrades.py
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2022-08-02 15:28:56 +0100
committerStephen Finucane <sfinucan@redhat.com>2022-10-26 15:14:21 +0300
commit6dfde5b48b388e32e34a385c3a9ef48da7c7c49b (patch)
tree3a246f60bcb69400c341218ce882e3c44fd68d93 /keystone/common/sql/upgrades.py
parent02db9263961bb1a630014536096bcfc72009dd65 (diff)
downloadkeystone-6dfde5b48b388e32e34a385c3a9ef48da7c7c49b.tar.gz
requirements: Bump linter requirements
The pep257 dependency does not support Python 3.10 and has been deprecated in favour of flake8-docstrings. While we're here, we bump the other linter dependencies and remove a note regarding the order of dependencies, which is no longer true with the new dependency resolver introduced in pip 20.3. We also remove an import exception for six.moves since we no longer use six. Change-Id: I4aae75f513568126230becf27b2e07d6682d35a1 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'keystone/common/sql/upgrades.py')
-rw-r--r--keystone/common/sql/upgrades.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/keystone/common/sql/upgrades.py b/keystone/common/sql/upgrades.py
index 41a094819..a075716e9 100644
--- a/keystone/common/sql/upgrades.py
+++ b/keystone/common/sql/upgrades.py
@@ -51,7 +51,7 @@ VERSIONS_PATH = os.path.join(
def _find_migrate_repo(branch):
- """Get the project's change script repository
+ """Get the project's change script repository.
:param branch: Name of the repository "branch" to be used; this will be
transformed to repository path.
@@ -70,7 +70,7 @@ def _find_migrate_repo(branch):
def _find_alembic_conf():
- """Get the project's alembic configuration
+ """Get the project's alembic configuration.
:returns: An instance of ``alembic.config.Config``
"""