Commit 1d877de
Fix a false positive for `consider-using-min-max-builtin` when the
assignment target is an attribute.
(cherry picked from commit 6236b91)
Co-authored-by: Ekin Dursun <[email protected]>
1 parent 8410f57 commit 1d877de
File tree
3 files changed
+8
-9
lines changed- doc/whatsnew/fragments
- pylint/checkers/refactoring
- tests/functional/c/consider
3 files changed
+8
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
919 | 919 | | |
920 | 920 | | |
921 | 921 | | |
922 | | - | |
923 | | - | |
924 | 922 | | |
925 | 923 | | |
926 | | - | |
| 924 | + | |
927 | 925 | | |
928 | 926 | | |
929 | 927 | | |
| |||
944 | 942 | | |
945 | 943 | | |
946 | 944 | | |
947 | | - | |
948 | | - | |
949 | | - | |
950 | | - | |
951 | | - | |
| 945 | + | |
952 | 946 | | |
953 | 947 | | |
| 948 | + | |
| 949 | + | |
954 | 950 | | |
955 | 951 | | |
956 | 952 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments