Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1089014?usp=email )
Change subject: tests: update pre-commit docsig
......................................................................
tests: update pre-commit docsig
Change-Id: Ie3fa91d7084c34b7c4cd700731bf070cc29f04d1
---
M .pre-commit-config.yaml
M pyproject.toml
2 files changed, 17 insertions(+), 3 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c526fa2..861c9f5 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -78,11 +78,9 @@
- id: isort
exclude: '^pwb\.py$'
- repo: https://github.com/jshwi/docsig
- rev: v0.64.0
+ rev: v0.64.1
hooks:
- id: docsig
- args:
- -
"-dSIG101,SIG202,SIG203,SIG301,SIG302,SIG401,SIG402,SIG404,SIG501,SIG502,SIG503,SIG505"
exclude: ^(tests|scripts)
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
diff --git a/pyproject.toml b/pyproject.toml
index 1b959f4..bde14aa 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -126,6 +126,22 @@
Changelog = "https://doc.wikimedia.org/pywikibot/master/changelog.html"
Tracker = "https://phabricator.wikimedia.org/tag/pywikibot/"
+[tool.docsig]
+disable = [
+ "SIG101",
+ "SIG202",
+ "SIG203",
+ "SIG301",
+ "SIG302",
+ "SIG401",
+ "SIG402",
+ "SIG404",
+ "SIG501",
+ "SIG502",
+ "SIG503",
+ "SIG505",
+]
+
[tool.isort]
py_version = 37
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1089014?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie3fa91d7084c34b7c4cd700731bf070cc29f04d1
Gerrit-Change-Number: 1089014
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]