2021-07-25 17:53:19 +00:00
|
|
|
name: 🐛 Bug report
|
|
|
|
description: Report a bug in pylint
|
|
|
|
labels: [bug, needs triage]
|
|
|
|
body:
|
|
|
|
- type: markdown
|
|
|
|
attributes:
|
|
|
|
value: |
|
|
|
|
**Thank you for wanting to report a bug in pylint!**
|
|
|
|
|
|
|
|
⚠ Please make sure that this [issue wasn't already requested][issue search], or already implemented in the main branch.
|
|
|
|
|
|
|
|
|
|
|
|
[issue search]: https://github.com/PyCQA/pylint/issues?q=is%3Aissue+is%3Aopen+
|
|
|
|
|
|
|
|
- type: textarea
|
|
|
|
id: what-happened
|
|
|
|
attributes:
|
|
|
|
label: Bug description
|
|
|
|
description:
|
|
|
|
What is the bug about? Please provide the code that is causing the issue, and
|
|
|
|
configurations used if required
|
2021-07-27 18:55:37 +00:00
|
|
|
placeholder: |
|
2021-07-25 17:53:19 +00:00
|
|
|
# Please disable message unrelated to the bug
|
|
|
|
# pylint: disable=missing-docstring,
|
|
|
|
<a> = b + 1
|
2021-07-27 18:55:37 +00:00
|
|
|
render: python
|
2021-07-25 17:53:19 +00:00
|
|
|
validations:
|
|
|
|
required: true
|
|
|
|
- type: textarea
|
|
|
|
id: configuration
|
|
|
|
attributes:
|
2021-07-27 18:55:37 +00:00
|
|
|
label: Configuration
|
2021-07-25 17:53:19 +00:00
|
|
|
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)
|
2021-07-27 18:55:37 +00:00
|
|
|
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
|
2021-07-25 17:53:19 +00:00
|
|
|
validations:
|
2021-07-27 18:55:37 +00:00
|
|
|
required: true
|
2021-07-25 17:53:19 +00:00
|
|
|
- type: textarea
|
|
|
|
id: current-behavior
|
|
|
|
attributes:
|
2021-07-27 18:55:37 +00:00
|
|
|
label: Pylint output
|
|
|
|
description: What is the current pylint output?
|
|
|
|
placeholder: |
|
2021-07-25 17:53:19 +00:00
|
|
|
************* Module a
|
|
|
|
a.py:3:1: E0001: invalid syntax (<unknown>, line 1) (syntax-error)
|
2021-07-27 18:55:37 +00:00
|
|
|
render: shell
|
2021-07-25 17:53:19 +00:00
|
|
|
validations:
|
|
|
|
required: true
|
|
|
|
- type: textarea
|
|
|
|
id: future-behavior
|
|
|
|
attributes:
|
2021-07-27 18:55:37 +00:00
|
|
|
label: Expected behavior
|
2021-07-25 17:53:19 +00:00
|
|
|
description:
|
2021-07-27 18:55:37 +00:00
|
|
|
What would you expect instead? For example expected output or behavior
|
2021-07-25 17:53:19 +00:00
|
|
|
validations:
|
2021-07-27 18:55:37 +00:00
|
|
|
required: true
|
2021-07-25 17:53:19 +00:00
|
|
|
- type: textarea
|
|
|
|
id: python-interpreter
|
|
|
|
attributes:
|
2021-07-27 18:55:37 +00:00
|
|
|
label: Pylint version
|
|
|
|
description: >-
|
|
|
|
Please copy and paste the result of `pylint --version` or specify the range of
|
|
|
|
version affected.
|
2021-07-25 17:53:19 +00:00
|
|
|
placeholder: |
|
|
|
|
pylint 2.9.6
|
|
|
|
astroid 2.6.5
|
2021-07-27 18:55:37 +00:00
|
|
|
Python 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0]
|
2021-07-25 17:53:19 +00:00
|
|
|
render: shell
|
2021-07-27 18:55:37 +00:00
|
|
|
validations:
|
|
|
|
required: true
|
2021-07-25 17:53:19 +00:00
|
|
|
- type: textarea
|
|
|
|
attributes:
|
2021-07-27 18:55:37 +00:00
|
|
|
label: OS / Environment
|
2021-07-25 17:53:19 +00:00
|
|
|
description: >-
|
|
|
|
Provide all relevant information below, e.g. OS version, terminal etc.
|
|
|
|
placeholder: Fedora 33, Cygwin, etc.
|
|
|
|
- type: textarea
|
|
|
|
id: additional-deps
|
|
|
|
attributes:
|
2021-07-27 18:55:37 +00:00
|
|
|
label: Additional dependencies
|
2021-07-25 17:53:19 +00:00
|
|
|
description: If applicable ie, if we can't reproduce without it
|
|
|
|
placeholder: |
|
2021-08-30 06:02:06 +00:00
|
|
|
Please copy and paste the result of `pip freeze`. For example:
|
2021-07-25 17:53:19 +00:00
|
|
|
pandas==0.23.2
|
|
|
|
marshmallow==3.10.0
|