|
3544 | 3544 | "column": 13, |
3545 | 3545 | "concise_description": "`Literal[3]` is not assignable to attribute `name` with type `str`", |
3546 | 3546 | "description": "`Literal[3]` is not assignable to attribute `name` with type `str`", |
3547 | | - "line": 57, |
| 3547 | + "line": 56, |
3548 | 3548 | "name": "bad-assignment", |
3549 | 3549 | "stop_column": 14, |
3550 | | - "stop_line": 57 |
| 3550 | + "stop_line": 56 |
3551 | 3551 | }, |
3552 | 3552 | { |
3553 | 3553 | "code": -2, |
3554 | 3554 | "column": 6, |
3555 | 3555 | "concise_description": "`<` is not supported between `Customer1` and `Customer1`", |
3556 | 3556 | "description": "`<` is not supported between `Customer1` and `Customer1`\n Cannot find `__lt__` or `__gt__`", |
3557 | | - "line": 61, |
| 3557 | + "line": 60, |
3558 | 3558 | "name": "unsupported-operation", |
3559 | 3559 | "stop_column": 17, |
3560 | | - "stop_line": 61 |
| 3560 | + "stop_line": 60 |
3561 | 3561 | }, |
3562 | 3562 | { |
3563 | 3563 | "code": -2, |
3564 | 3564 | "column": 36, |
3565 | 3565 | "concise_description": "Unexpected keyword argument `salary` in function `Customer1.__init__`", |
3566 | 3566 | "description": "Unexpected keyword argument `salary` in function `Customer1.__init__`", |
3567 | | - "line": 65, |
| 3567 | + "line": 64, |
3568 | 3568 | "name": "unexpected-keyword", |
3569 | 3569 | "stop_column": 42, |
3570 | | - "stop_line": 65 |
| 3570 | + "stop_line": 64 |
3571 | 3571 | }, |
3572 | 3572 | { |
3573 | 3573 | "code": -2, |
3574 | 3574 | "column": 18, |
3575 | 3575 | "concise_description": "Expected argument `id` to be passed by name in function `Customer2.__init__`", |
3576 | 3576 | "description": "Expected argument `id` to be passed by name in function `Customer2.__init__`", |
3577 | | - "line": 71, |
| 3577 | + "line": 70, |
3578 | 3578 | "name": "unexpected-positional-argument", |
3579 | 3579 | "stop_column": 19, |
3580 | | - "stop_line": 71 |
| 3580 | + "stop_line": 70 |
3581 | 3581 | }, |
3582 | 3582 | { |
3583 | 3583 | "code": -2, |
3584 | 3584 | "column": 21, |
3585 | 3585 | "concise_description": "Expected argument `name` to be passed by name in function `Customer2.__init__`", |
3586 | 3586 | "description": "Expected argument `name` to be passed by name in function `Customer2.__init__`", |
3587 | | - "line": 71, |
| 3587 | + "line": 70, |
3588 | 3588 | "name": "unexpected-positional-argument", |
3589 | 3589 | "stop_column": 27, |
3590 | | - "stop_line": 71 |
| 3590 | + "stop_line": 70 |
3591 | 3591 | }, |
3592 | 3592 | { |
3593 | 3593 | "code": -2, |
3594 | 3594 | "column": 7, |
3595 | 3595 | "concise_description": "Cannot inherit non-frozen dataclass `Customer3Subclass` from frozen dataclass `Customer3`", |
3596 | 3596 | "description": "Cannot inherit non-frozen dataclass `Customer3Subclass` from frozen dataclass `Customer3`", |
3597 | | - "line": 90, |
| 3597 | + "line": 89, |
3598 | 3598 | "name": "invalid-inheritance", |
3599 | 3599 | "stop_column": 24, |
3600 | | - "stop_line": 90 |
| 3600 | + "stop_line": 89 |
3601 | 3601 | }, |
3602 | 3602 | { |
3603 | 3603 | "code": -2, |
3604 | 3604 | "column": 1, |
3605 | 3605 | "concise_description": "Cannot set field `id`", |
3606 | 3606 | "description": "Cannot set field `id`\n This field is a frozen dataclass member", |
3607 | | - "line": 97, |
| 3607 | + "line": 96, |
3608 | 3608 | "name": "read-only", |
3609 | 3609 | "stop_column": 8, |
3610 | | - "stop_line": 97 |
| 3610 | + "stop_line": 96 |
3611 | 3611 | } |
3612 | 3612 | ], |
3613 | 3613 | "dataclasses_transform_meta.py": [ |
|
0 commit comments