From 4b18c347c971564f49733ab0ab203415971f788f Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 25 Jul 2021 18:41:08 +0200 Subject: [PATCH] Make the configuration optional in the bug report template --- .github/ISSUE_TEMPLATE/BUG-REPORT.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml index e6d8c40a1e7..7dcaef3a117 100644 --- a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml +++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml @@ -7,8 +7,7 @@ body: value: | **Thank you for wanting to report a bug in pylint!** - ⚠ - Please make sure that this issue wasn't already requested, or already implemented in the main branch. + ⚠ Please make sure that this issue wasn't already requested, or already implemented in the main branch. - type: textarea id: what-happened attributes: @@ -24,16 +23,21 @@ body: # pylint: disable=missing-docstring, = b + 1 ``` - - Using the following configuration pylintrc: + validations: + required: true + - type: textarea + id: configuration + attributes: + label: (Configuration) + description: + Please provide the part of the configuration that is causing the bug if required + (Leave this part blank if the configuration is not relevant) + value: | + Using the following configuration: ```ini - # Please remove configuration unrelated to the bug - - [MESSAGES CONTROL] - enable=use-symbolic-message-instead, ``` validations: - required: true + required: false - type: textarea id: current-behavior attributes: @@ -68,14 +72,14 @@ body: render: shell - type: textarea attributes: - label: OS / Environment + label: (OS / Environment) description: >- Provide all relevant information below, e.g. OS version, terminal etc. placeholder: Fedora 33, Cygwin, etc. - type: textarea id: additional-deps attributes: - label: Additional dependencies ? + label: (Additional dependencies) description: If applicable ie, if we can't reproduce without it placeholder: | Additional dependencies: