]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Unpin pydocstyle, minimum for flake8-docstrings 1.3.1
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 May 2020 14:55:19 +0000 (10:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 29 Jul 2020 18:39:58 +0000 (14:39 -0400)
Per https://gitlab.com/pycqa/flake8-docstrings/-/issues/36#note_199635329
flake8-docstrings has repaired the pydocstyle issue as of
1.3.1, so unpin pydocstyle.

Change-Id: I117a5df58ff6c5a4087c433ab817ad305df6a17b

.pre-commit-config.yaml
tox.ini

index de29c68c6b1248b324ccae3ab46585b7878fcba2..00a097cf3d76bf6090515136d4c4d18908ec0dcd 100644 (file)
@@ -18,9 +18,11 @@ repos:
         additional_dependencies:
           - flake8-import-order
           - flake8-builtins
-          - flake8-docstrings
+          - flake8-docstrings>=1.3.1
           - flake8-rst-docstrings
-          - pydocstyle<4.0.0
+          # flake8-rst-docstrings depdendency, leaving it here
+          # in case it requires a version pin
+          - pydocstyle
           - pygments
 
 
diff --git a/tox.ini b/tox.ini
index 83b81a0da14fae4584a4874bec8483ce26ede9b6..ead699a706bb5689bcef62da0efd1d76db2594d9 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -84,10 +84,11 @@ deps=
       flake8
       flake8-import-order
       flake8-builtins
-      flake8-docstrings
+      flake8-docstrings>=1.3.1
       flake8-rst-docstrings
-      pydocstyle<4.0.0
-      # used by flake8-rst-docstrings
+      # flake8-rst-docstrings depdendency, leaving it here
+      # in case it requires a version pin
+      pydocstyle
       pygments
       black==19.10b0
 commands =