Skip to content

Commit 8776ba0

Browse files
Merge maintenance 2.17.x in main (#8665)
Refs #8664
2 parents 7574f6b + 25f78b9 commit 8776ba0

File tree

4 files changed

+119
-0
lines changed

4 files changed

+119
-0
lines changed

doc/whatsnew/2/2.17/index.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,37 @@ so we find problems before the actual release.
2929

3030
.. towncrier release notes start
3131
32+
What's new in Pylint 2.17.4?
33+
----------------------------
34+
Release date: 2023-05-06
35+
36+
37+
False Positives Fixed
38+
---------------------
39+
40+
- Fix a false positive for ``bad-dunder-name`` when there is a user-defined
41+
``__index__`` method.
42+
43+
Closes #8613 (`#8613 <https://github.com/PyCQA/pylint/issues/8613>`_)
44+
45+
46+
47+
Other Bug Fixes
48+
---------------
49+
50+
- ``pyreverse``: added escaping of vertical bar character in annotation labels
51+
produced by DOT printer to ensure it is not treated as field separator of
52+
record-based nodes.
53+
54+
Closes #8603 (`#8603 <https://github.com/PyCQA/pylint/issues/8603>`_)
55+
56+
- Fixed a crash when generating a configuration file:
57+
``tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key``
58+
caused by tomlkit ``v0.11.8``.
59+
60+
Closes #8632 (`#8632 <https://github.com/PyCQA/pylint/issues/8632>`_)
61+
62+
3263
What's new in Pylint 2.17.3?
3364
----------------------------
3465
Release date: 2023-04-24

doc/whatsnew/fragments/8632.bugfix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Fixed a crash when generating a configuration file: ``tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key``
2+
caused by tomlkit ``v0.11.8``.
3+
4+
Closes #8632
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
graph:{
2+
title:"classes_No_Name"
3+
layoutalgorithm:dfs
4+
late_edge_labels:yes
5+
port_sharing:no
6+
manhattan_edges:yes
7+
node: {title:"data.clientmodule_test.Ancestor" label:"\fbAncestor\fn\n\f____________\n\f08attr : str\n\f08cls_member\n\f____________\n\f10get_value()\n\f10set_value()"
8+
shape:box
9+
}
10+
node: {title:"data.suppliermodule_test.CustomException" label:"\fb 09CustomException\fn\n\f_________________"
11+
shape:box
12+
}
13+
node: {title:"data.suppliermodule_test.DoNothing" label:"\fbDoNothing\fn\n\f___________"
14+
shape:box
15+
}
16+
node: {title:"data.suppliermodule_test.DoNothing2" label:"\fbDoNothing2\fn\n\f____________"
17+
shape:box
18+
}
19+
node: {title:"data.suppliermodule_test.DoSomething" label:"\fbDoSomething\fn\n\f__________________________\n\f08my_int : Optional[int]\n\f08my_int_2 : Optional[int]\n\f08my_string : str\n\f__________________________\n\f10do_it()"
20+
shape:box
21+
}
22+
node: {title:"data.suppliermodule_test.Interface" label:"\fbInterface\fn\n\f___________\n\f10get_value()\n\f10set_value()"
23+
shape:box
24+
}
25+
node: {title:"data.nullable_pattern.NullablePatterns" label:"\fbNullablePatterns\fn\n\f___________________\n\f10return_nullable_1()\n\f10return_nullable_2()"
26+
shape:box
27+
}
28+
node: {title:"data.property_pattern.PropertyPatterns" label:"\fbPropertyPatterns\fn\n\f__________________\n\f08prop1\n\f08prop2\n\f__________________"
29+
shape:box
30+
}
31+
node: {title:"data.clientmodule_test.Specialization" label:"\fbSpecialization\fn\n\f_________________\n\f08TYPE : str\n\f08relation\n\f08relation2\n\f08top : str\n\f_________________\n\f10from_value()\n\f10increment_value()\n\f10transform_value()"
32+
shape:box
33+
}
34+
edge: {sourcename:"data.clientmodule_test.Specialization" targetname:"data.clientmodule_test.Ancestor" arrowstyle:solid
35+
backarrowstyle:none
36+
backarrowsize:10
37+
}
38+
edge: {sourcename:"data.clientmodule_test.Ancestor" targetname:"data.suppliermodule_test.Interface" arrowstyle:solid
39+
backarrowstyle:none
40+
linestyle:dotted
41+
backarrowsize:10
42+
}
43+
edge: {sourcename:"data.suppliermodule_test.DoNothing" targetname:"data.clientmodule_test.Ancestor" arrowstyle:solid
44+
backarrowstyle:none
45+
textcolor:green
46+
label:"cls_member"
47+
}
48+
edge: {sourcename:"data.suppliermodule_test.DoNothing" targetname:"data.clientmodule_test.Specialization" arrowstyle:solid
49+
backarrowstyle:none
50+
textcolor:green
51+
label:"relation"
52+
}
53+
edge: {sourcename:"data.suppliermodule_test.DoNothing2" targetname:"data.clientmodule_test.Specialization" arrowstyle:solid
54+
backarrowstyle:none
55+
textcolor:green
56+
label:"relation2"
57+
}
58+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
graph:{
2+
title:"packages_No_Name"
3+
layoutalgorithm:dfs
4+
late_edge_labels:yes
5+
port_sharing:no
6+
manhattan_edges:yes
7+
node: {title:"data" label:"\fbdata\fn"
8+
shape:box
9+
}
10+
node: {title:"data.clientmodule_test" label:"\fbdata.clientmodule_test\fn"
11+
shape:box
12+
}
13+
node: {title:"data.nullable_pattern" label:"\fbdata.nullable_pattern\fn"
14+
shape:box
15+
}
16+
node: {title:"data.property_pattern" label:"\fbdata.property_pattern\fn"
17+
shape:box
18+
}
19+
node: {title:"data.suppliermodule_test" label:"\fbdata.suppliermodule_test\fn"
20+
shape:box
21+
}
22+
edge: {sourcename:"data.clientmodule_test" targetname:"data.suppliermodule_test" arrowstyle:solid
23+
backarrowstyle:none
24+
backarrowsize:0
25+
}
26+
}

0 commit comments

Comments
 (0)