|
rdobuilder |
726f3b |
From 39d22bf63d0923d86d37728de521b62e3c194c5e Mon Sep 17 00:00:00 2001
|
|
rdobuilder |
726f3b |
From: Jimmy McCrory <jimmy.mccrory@gmail.com>
|
|
rdobuilder |
726f3b |
Date: Fri, 5 May 2023 08:57:29 -0700
|
|
rdobuilder |
726f3b |
Subject: [PATCH 1/2] Fix pep8 gate
|
|
rdobuilder |
726f3b |
|
|
rdobuilder |
726f3b |
Update flake8-docstrings requirement.
|
|
rdobuilder |
726f3b |
Ignore missing docstring in __init__ methods.
|
|
rdobuilder |
726f3b |
|
|
rdobuilder |
726f3b |
Change-Id: I966fe3fdc16765795f99e1f5984050baae305849
|
|
rdobuilder |
726f3b |
---
|
|
rdobuilder |
726f3b |
test-requirements.txt | 2 +-
|
|
rdobuilder |
726f3b |
tox.ini | 3 ++-
|
|
rdobuilder |
726f3b |
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
rdobuilder |
726f3b |
|
|
rdobuilder |
726f3b |
diff --git a/test-requirements.txt b/test-requirements.txt
|
|
rdobuilder |
726f3b |
index b8e8e41..3e5e91e 100644
|
|
rdobuilder |
726f3b |
--- a/test-requirements.txt
|
|
rdobuilder |
726f3b |
+++ b/test-requirements.txt
|
|
rdobuilder |
726f3b |
@@ -1,5 +1,5 @@
|
|
rdobuilder |
726f3b |
hacking>=3.0,<3.1.0 # Apache-2.0
|
|
rdobuilder |
726f3b |
-flake8-docstrings==0.2.1.post1 # MIT
|
|
rdobuilder |
726f3b |
+flake8-docstrings==1.7.0 # MIT
|
|
rdobuilder |
726f3b |
|
|
rdobuilder |
726f3b |
coverage!=4.4,>=4.0 # Apache-2.0
|
|
rdobuilder |
726f3b |
fixtures>=3.0.0 # Apache-2.0/BSD
|
|
rdobuilder |
726f3b |
diff --git a/tox.ini b/tox.ini
|
|
rdobuilder |
726f3b |
index 70f611f..a9fe5b8 100644
|
|
rdobuilder |
726f3b |
--- a/tox.ini
|
|
rdobuilder |
726f3b |
+++ b/tox.ini
|
|
rdobuilder |
726f3b |
@@ -41,10 +41,11 @@ commands =
|
|
rdobuilder |
726f3b |
# D103: Missing docstring in public function
|
|
rdobuilder |
726f3b |
# D104: Missing docstring in public package
|
|
rdobuilder |
726f3b |
# D105: Missing docstring in magic method
|
|
rdobuilder |
726f3b |
+# D107: Missing docstring in __init__
|
|
rdobuilder |
726f3b |
# D200: One-line docstring should fit on one line with quotes
|
|
rdobuilder |
726f3b |
# D210: No whitespaces allowed surrounding docstring text
|
|
rdobuilder |
726f3b |
# D401: First line should be in imperative mood
|
|
rdobuilder |
726f3b |
-ignore = D100,D101,D102,D104,D105,D200,D210,D401
|
|
rdobuilder |
726f3b |
+ignore = D100,D101,D102,D104,D105,D107,D200,D210,D401
|
|
rdobuilder |
726f3b |
show-source = True
|
|
rdobuilder |
726f3b |
exclude = .venv,.tox,dist,doc,*egg,build
|
|
rdobuilder |
726f3b |
|
|
rdobuilder |
726f3b |
--
|
|
rdobuilder |
726f3b |
2.40.1
|
|
rdobuilder |
726f3b |
|