Skip to content

Commit a053ee0

Browse files
[primer tests] Add a test case for a new message
1 parent 339b567 commit a053ee0

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🤖 **Effect of this PR on checked open source code:** 🤖
2+
3+
4+
5+
**Effect on [astroid](https://github.com/pylint-dev/astroid):**
6+
The following messages are now emitted:
7+
8+
<details>
9+
10+
1) locally-disabled:
11+
*Locally disabling redefined-builtin [we added some text in the message] (W0622)*
12+
https://github.com/pylint-dev/astroid/blob/123456789abcdef/astroid/__init__.py#L91
13+
14+
</details>
15+
16+
17+
</details>
18+
19+
*This comment was generated for commit v2.14.2*
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"astroid": {
3+
"commit": "123456789abcdef",
4+
"messages": []
5+
}
6+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"astroid": {
3+
"commit": "123456789abcdef",
4+
"messages": [
5+
{
6+
"type": "info",
7+
"module": "astroid",
8+
"obj": "",
9+
"line": 91,
10+
"column": 0,
11+
"endLine": null,
12+
"endColumn": null,
13+
"path": "tests/.pylint_primer_tests/pylint-dev/astroid/astroid/__init__.py",
14+
"symbol": "locally-disabled",
15+
"message": "Locally disabling redefined-builtin [we added some text in the message] (W0622)",
16+
"message-id": "I0011"
17+
}
18+
]
19+
}
20+
}

0 commit comments

Comments
 (0)