diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml index 5118cd5b8a..64bfbaa16c 100644 --- a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml +++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml @@ -19,78 +19,87 @@ body: description: What is the bug about? Please provide the code that is causing the issue, and configurations used if required - value: | - Given a file `a.py`: - - ```python + placeholder: | # Please disable message unrelated to the bug # pylint: disable=missing-docstring, = b + 1 - ``` + render: python validations: required: true - type: textarea id: configuration attributes: - label: (Configuration) + 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 - ``` + placeholder: | + # Leave this blank if the configuration is not relevant! + + [MASTER] + load-plugins= + pylint.extensions.code_style + + [MESSAGE CONTROL] + enable= + useless-supression + + # ... + render: ini + - type: textarea + id: cmd-used + attributes: + label: Command used + description: What was the command used to invoke pylint? + placeholder: | + pylint a.py + render: shell validations: - required: false + required: true - type: textarea id: current-behavior attributes: - label: Command used - description: What is the command used and its actual output ? - value: | - Result of `pylint a.py`: - ``` + label: Pylint output + description: What is the current pylint output? + placeholder: | ************* Module a a.py:3:1: E0001: invalid syntax (, line 1) (syntax-error) - ``` + render: shell validations: required: true - type: textarea id: future-behavior attributes: - label: (Expected behavior) + label: Expected behavior description: - What would you expect instead ? For example expected output or behavior + What would you expect instead? For example expected output or behavior validations: - required: false + required: true - type: textarea id: python-interpreter attributes: - label: (Version affected) - description: - Please copy and paste the result of 'pylint --version' or specify the range of - version affected + label: Pylint version + description: >- + Please copy and paste the result of `pylint --version` or specify the range of + version affected. placeholder: | pylint 2.9.6 astroid 2.6.5 - Python 3.8.10 (default, Jun 2 2021, 10:49:15) - [GCC 9.4.0] + Python 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0] render: shell + validations: + required: true - 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: - ``` pandas==0.23.2 marshmallow==3.10.0 - ... - ``` diff --git a/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml b/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml index 59257ba0d0..ea04db0959 100644 --- a/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml +++ b/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml @@ -34,7 +34,7 @@ body: required: true - type: textarea attributes: - label: (Additional context) + label: Additional context description: > Add any other context, links, etc. about the feature here. Describe how the feature would be used, why it is needed and what it would solve. diff --git a/.github/ISSUE_TEMPLATE/QUESTION.yml b/.github/ISSUE_TEMPLATE/QUESTION.yml index b01f526039..adce7e227b 100644 --- a/.github/ISSUE_TEMPLATE/QUESTION.yml +++ b/.github/ISSUE_TEMPLATE/QUESTION.yml @@ -34,16 +34,15 @@ body: attributes: label: Documentation for future user description: - Where did you expect this information to be ? What do we need to add or what do - we need to reorganize ? + Where did you expect this information to be? What do we need to add or what do + we need to reorganize? validations: required: true - type: textarea attributes: - label: (Additional context) + label: Additional context description: > Add any other context, links, etc. about the question here. - placeholder: >- I asked on https://stackoverflow.com/... and the community advised me to do X, Y and Z.