Skip to content

Commit 535f494

Browse files
Merge branch 'main' into pyreverse_type_hints_and_has_relationships
2 parents 846415d + ca3bc53 commit 535f494

File tree

77 files changed

+1465
-394
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+1465
-394
lines changed

.github/ISSUE_TEMPLATE/1_Bug_report.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/2_Feature_request.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/3_Question.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/BUG-REPORT.yml

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
name: 🐛 Bug report
2+
description: Report a bug in pylint
3+
labels: [bug, needs triage]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
**Thank you for wanting to report a bug in pylint!**
9+
10+
⚠ Please make sure that this [issue wasn't already requested][issue search], or already implemented in the main branch.
11+
12+
13+
[issue search]: https://github.com/PyCQA/pylint/issues?q=is%3Aissue+is%3Aopen+
14+
15+
- type: textarea
16+
id: what-happened
17+
attributes:
18+
label: Bug description
19+
description:
20+
What is the bug about? Please provide the code that is causing the issue, and
21+
configurations used if required
22+
placeholder: |
23+
# Please disable message unrelated to the bug
24+
# pylint: disable=missing-docstring,
25+
<a> = b + 1
26+
render: python
27+
validations:
28+
required: true
29+
- type: textarea
30+
id: configuration
31+
attributes:
32+
label: Configuration
33+
description:
34+
Please provide the part of the configuration that is causing the bug if required
35+
(Leave this part blank if the configuration is not relevant)
36+
placeholder: |
37+
# Leave this blank if the configuration is not relevant!
38+
39+
[MASTER]
40+
load-plugins=
41+
pylint.extensions.code_style
42+
43+
[MESSAGE CONTROL]
44+
enable=
45+
useless-supression
46+
47+
# ...
48+
render: ini
49+
- type: textarea
50+
id: cmd-used
51+
attributes:
52+
label: Command used
53+
description: What was the command used to invoke pylint?
54+
placeholder: |
55+
pylint a.py
56+
render: shell
57+
validations:
58+
required: true
59+
- type: textarea
60+
id: current-behavior
61+
attributes:
62+
label: Pylint output
63+
description: What is the current pylint output?
64+
placeholder: |
65+
************* Module a
66+
a.py:3:1: E0001: invalid syntax (<unknown>, line 1) (syntax-error)
67+
render: shell
68+
validations:
69+
required: true
70+
- type: textarea
71+
id: future-behavior
72+
attributes:
73+
label: Expected behavior
74+
description:
75+
What would you expect instead? For example expected output or behavior
76+
validations:
77+
required: true
78+
- type: textarea
79+
id: python-interpreter
80+
attributes:
81+
label: Pylint version
82+
description: >-
83+
Please copy and paste the result of `pylint --version` or specify the range of
84+
version affected.
85+
placeholder: |
86+
pylint 2.9.6
87+
astroid 2.6.5
88+
Python 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0]
89+
render: shell
90+
validations:
91+
required: true
92+
- type: textarea
93+
attributes:
94+
label: OS / Environment
95+
description: >-
96+
Provide all relevant information below, e.g. OS version, terminal etc.
97+
placeholder: Fedora 33, Cygwin, etc.
98+
- type: textarea
99+
id: additional-deps
100+
attributes:
101+
label: Additional dependencies
102+
description: If applicable ie, if we can't reproduce without it
103+
placeholder: |
104+
pandas==0.23.2
105+
marshmallow==3.10.0
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: ✨ Feature request
2+
description: Suggest an idea for pylint
3+
labels: [enhancement, needs triage]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
**Thank you for wanting to make a suggestion for pylint!**
9+
10+
⚠ Please make sure that [this feature wasn't already requested][issue search] or already implemented in the main branch.
11+
12+
13+
[issue search]: https://github.com/PyCQA/pylint/issues?q=is%3Aissue+is%3Aopen+
14+
15+
- type: textarea
16+
id: current-problem
17+
attributes:
18+
label: Current problem
19+
description:
20+
What are you trying to do, that you are unable to achieve with pylint as it
21+
currently stands?
22+
placeholder: >-
23+
I'm trying to do X and I'm missing feature Y for this to be easily achievable.
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: proposed-solution
28+
attributes:
29+
label: Desired solution
30+
description: A clear and concise description of what you want to happen.
31+
placeholder: >-
32+
When I do X, I want to achieve Y in a situation when Z.
33+
validations:
34+
required: true
35+
- type: textarea
36+
attributes:
37+
label: Additional context
38+
description: >
39+
Add any other context, links, etc. about the feature here. Describe how the
40+
feature would be used, why it is needed and what it would solve.
41+
42+
**HINT:** You can paste https://gist.github.com links for larger files.
43+
placeholder: >-
44+
I asked on https://stackoverflow.com/... and the community advised me to do X, Y
45+
and Z.

.github/ISSUE_TEMPLATE/QUESTION.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: 🤔 Support question
2+
description: Questions about pylint that are not covered in the documentation
3+
labels: [question, needs triage, documentation]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: >
8+
**Thank you for wanting to report a problem with pylint documentation!**
9+
10+
11+
Please fill out your suggestions below. If the problem seems straightforward,
12+
feel free to go ahead and submit a pull request instead!
13+
14+
15+
⚠ Verify first that your issue is not [already reported on GitHub][issue
16+
search].
17+
18+
💬 If you are seeking community support, please consider [starting a discussion
19+
on Discord][Discussions].
20+
21+
22+
[issue search]: https://github.com/PyCQA/pylint/issues?q=is%3Aissue+is%3Aopen+
23+
24+
[Discussions]: https://discord.gg/Egy6P8AMB5
25+
26+
- type: textarea
27+
id: question
28+
attributes:
29+
label: Question
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: documentation
34+
attributes:
35+
label: Documentation for future user
36+
description:
37+
Where did you expect this information to be? What do we need to add or what do
38+
we need to reorganize?
39+
validations:
40+
required: true
41+
- type: textarea
42+
attributes:
43+
label: Additional context
44+
description: >
45+
Add any other context, links, etc. about the question here.
46+
placeholder: >-
47+
I asked on https://stackoverflow.com/... and the community advised me to do X, Y
48+
and Z.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: 💬 Discord
4+
url: https://discord.gg/Egy6P8AMB5
5+
about: Astroid and pylint informal dev discussion

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
<!--
2-
32
Thank you for submitting a PR to pylint!
43
54
To ease the process of reviewing your PR, do make sure to complete the following boxes.
65
7-
You can also read more about contributing to pylint in this document:
8-
https://github.com/PyCQA/pylint/blob/main/doc/development_guide/contribute.rst#repository
9-
-->
10-
11-
## Steps
12-
136
- [ ] Add yourself to CONTRIBUTORS if you are a new contributor.
147
- [ ] Add a ChangeLog entry describing what your PR does.
15-
- [ ] If it's a new feature or an important bug fix, add a What's New entry in
8+
- [ ] If it's a new feature, or an important bug fix, add a What's New entry in
169
`doc/whatsnew/<current release.rst>`.
1710
- [ ] Write a good description on what the PR does.
18-
19-
## Description
11+
-->
2012

2113
## Type of Changes
2214

@@ -29,11 +21,11 @@ https://github.com/PyCQA/pylint/blob/main/doc/development_guide/contribute.rst#r
2921
|| :hammer: Refactoring |
3022
|| :scroll: Docs |
3123

32-
## Related Issue
24+
## Description
3325

3426
<!--
3527
If this PR fixes a particular issue, use the following to automatically close that issue
3628
once this PR gets merged:
29+
-->
3730

3831
Closes #XXX
39-
-->

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- --remove-duplicate-keys
2222
- --remove-unused-variables
2323
- repo: https://github.com/asottile/pyupgrade
24-
rev: v2.21.2
24+
rev: v2.23.0
2525
hooks:
2626
- id: pyupgrade
2727
args: [--py36-plus]

CONTRIBUTORS.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,12 @@ contributors:
518518
* Marco Gorelli: contributor
519519
- Documented Jupyter integration
520520

521+
* Rebecca Turner (9999years): contributor
522+
521523
* Yilei Yang: contributor
522524

523525
* Marcin Kurczewski (rr-): contributor
526+
527+
* Eisuke Kawashima (e-kwsm): contributor
528+
529+
* Daniel van Noord (DanielNoord): contributor

0 commit comments

Comments
 (0)