Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1095309?usp=email )
Change subject: cleanup: move rstcheck settings from .rstcheck.cfg to pyproject.toml ...................................................................... cleanup: move rstcheck settings from .rstcheck.cfg to pyproject.toml Change-Id: Iac897b24d99216b7ee270a5b96d90217b2ceeb3b --- D .rstcheck.cfg M pyproject.toml 2 files changed, 7 insertions(+), 4 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/.rstcheck.cfg b/.rstcheck.cfg deleted file mode 100644 index 918cfcf..0000000 --- a/.rstcheck.cfg +++ /dev/null @@ -1,4 +0,0 @@ -[rstcheck] -ignore_directives=automodule,autoclass,autofunction,tabs -ignore_messages=(Undefined substitution referenced: "(release|today|version)") -ignore_roles=api,phab,pylib,source,wiki diff --git a/pyproject.toml b/pyproject.toml index bde14aa..b6f595b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -162,6 +162,13 @@ ] ignore_missing_imports = true + +[tool.rstcheck] +ignore_directives = ["automodule", "autoclass", "autofunction", "tabs"] +ignore_messages = '(Undefined substitution referenced: "(release|today|version)")' +ignore_roles = ["api", "phab", "pylib", "source", "wiki"] + + [tool.ruff.lint] select = ["D"] ignore = ["D105", "D211", "D213", "D214", "D401", "D404", "D406", "D407", "D412", "D413", "D416", "D417"] -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1095309?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: Iac897b24d99216b7ee270a5b96d90217b2ceeb3b Gerrit-Change-Number: 1095309 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <i...@gno.de> Gerrit-Reviewer: Xqt <i...@gno.de> Gerrit-Reviewer: jenkins-bot
_______________________________________________ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org