ruff/crates/ruff_linter/resources/test/fixtures/flake8_pyi
Steve C 7b5fd63ce8
[flake8-pyi] - add autofix for future-annotations-in-stub (PYI044) (#12676)
## Summary

add autofix for `PYI044`

## Test Plan

`cargo test`
2024-08-05 22:27:55 -04:00
..
PYI001.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI001.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI002.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI002.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI003.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI003.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI004.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI004.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI005.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI005.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI006.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI006.pyi [flake8-pyi] Implement PYI066 (#11541) 2024-05-29 00:30:00 +00:00
PYI007.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI007.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI008.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI008.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI009.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI009.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI010.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI010.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI011.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI011.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI012.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI012.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI013.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI013.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI014.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI014.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI015.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI015.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI016.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI016.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI017.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI017.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI018.py [flake8-pyi] Expand PYI018 to cover ParamSpecs and TypeVarTuples (#9198) 2023-12-20 03:10:07 +00:00
PYI018.pyi [flake8-pyi] Expand PYI018 to cover ParamSpecs and TypeVarTuples (#9198) 2023-12-20 03:10:07 +00:00
PYI019.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI019.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI020.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI020.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI021.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI021.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI024.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI024.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI025_1.py Correctly handle references in __all__ definitions when renaming symbols in autofixes (#10527) 2024-03-22 20:06:35 +00:00
PYI025_1.pyi Correctly handle references in __all__ definitions when renaming symbols in autofixes (#10527) 2024-03-22 20:06:35 +00:00
PYI025_2.py Correctly handle references in __all__ definitions when renaming symbols in autofixes (#10527) 2024-03-22 20:06:35 +00:00
PYI025_2.pyi Correctly handle references in __all__ definitions when renaming symbols in autofixes (#10527) 2024-03-22 20:06:35 +00:00
PYI025_3.py Mark PYI025 fix as safe in more cases for stub files (#10547) 2024-03-24 16:11:48 +00:00
PYI025_3.pyi Mark PYI025 fix as safe in more cases for stub files (#10547) 2024-03-24 16:11:48 +00:00
PYI026.py [flake8-pyi] Allow simple assignments to None in enum class scopes (PYI026) (#11128) 2024-04-24 15:13:55 +01:00
PYI026.pyi [flake8-pyi] Allow simple assignments to None in enum class scopes (PYI026) (#11128) 2024-04-24 15:13:55 +01:00
PYI029.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI029.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI030.py Add autofix for PYI030 (#7934) 2023-11-30 22:16:57 +00:00
PYI030.pyi Add autofix for PYI030 (#7934) 2023-11-30 22:16:57 +00:00
PYI032.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI032.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI033.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI033.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI034.py [flake8-pyi] Various improvements to PYI034 (#10807) 2024-04-07 00:15:48 +01:00
PYI034.pyi Avoid recommending Self usages in metaclasses (#8639) 2023-11-12 19:47:48 -05:00
PYI035.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI035.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI036.py [flake8-pyi] Allow overloaded __exit__ and __aexit__ definitions (PYI036) (#11057) 2024-04-24 15:48:52 +00:00
PYI036.pyi [flake8-pyi] Allow overloaded __exit__ and __aexit__ definitions (PYI036) (#11057) 2024-04-24 15:48:52 +00:00
PYI041.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI041.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI042.py [flake8-pyi] Check PEP 695 type aliases for snake-case-type-alias and t-suffixed-type-alias (#8966) 2023-12-02 13:26:43 -05:00
PYI042.pyi [flake8-pyi] Check PEP 695 type aliases for snake-case-type-alias and t-suffixed-type-alias (#8966) 2023-12-02 13:26:43 -05:00
PYI043.py [flake8-pyi] Check PEP 695 type aliases for snake-case-type-alias and t-suffixed-type-alias (#8966) 2023-12-02 13:26:43 -05:00
PYI043.pyi [flake8-pyi] Check PEP 695 type aliases for snake-case-type-alias and t-suffixed-type-alias (#8966) 2023-12-02 13:26:43 -05:00
PYI044.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI044.pyi [flake8-pyi] - add autofix for future-annotations-in-stub (PYI044) (#12676) 2024-08-05 22:27:55 -04:00
PYI045.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI045.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI046.py [flake8-pyi] Fix false negative for PYI046 with unused generic protocols (#9405) 2024-01-05 12:56:04 -06:00
PYI046.pyi [flake8-pyi] Fix false negative for PYI046 with unused generic protocols (#9405) 2024-01-05 12:56:04 -06:00
PYI047.py [flake8-pyi] Fix PYI047 false negatives on PEP-695 type aliases (#9566) 2024-01-17 22:14:18 -05:00
PYI047.pyi [flake8-pyi] Fix PYI047 false negatives on PEP-695 type aliases (#9566) 2024-01-17 22:14:18 -05:00
PYI048.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI048.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI049.py [flake8-pyi] Ignore 'unused' private type dicts in class scopes (#9952) 2024-02-12 17:06:20 +00:00
PYI049.pyi [flake8-pyi] Ignore 'unused' private type dicts in class scopes (#9952) 2024-02-12 17:06:20 +00:00
PYI050.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI050.pyi [flake8-pyi] Check for kwarg and vararg NoReturn type annotations (#8948) 2023-12-01 12:18:52 -05:00
PYI051.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI051.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI052.py [flake8-pyi] Respect local enum subclasses in simple-defaults (PYI052) (#8767) 2023-11-19 09:31:59 -05:00
PYI052.pyi [flake8-pyi] Respect local enum subclasses in simple-defaults (PYI052) (#8767) 2023-11-19 09:31:59 -05:00
PYI053.py [flake8-pyi] PYI053: Exclude string literals that are the first argument to warnings.deprecated or typing_extensions.deprecated (#9423) 2024-01-07 18:41:14 -05:00
PYI053.pyi Use ExprFString for StringLike::FString variant (#10311) 2024-03-14 13:30:22 +05:30
PYI054.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI054.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI055.py Fix dropped union expressions for piped non-types in PYI055 autofix (#9161) 2023-12-16 15:58:28 -05:00
PYI055.pyi Add autofix for PYI055 (#7886) 2023-10-13 00:56:34 +00:00
PYI056.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI056.pyi Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PYI057.py [flake8-pyi] Implement PYI057 (#11486) 2024-05-29 10:04:36 +00:00
PYI057.pyi [flake8-pyi] Implement PYI057 (#11486) 2024-05-29 10:04:36 +00:00
PYI058.py [flake8-pyi] Add autofix for PYI058 (#9355) 2024-01-03 11:11:16 -05:00
PYI058.pyi [flake8-pyi] Add autofix for PYI058 (#9355) 2024-01-03 11:11:16 -05:00
PYI059.py [flake8-pyi] Implement PYI059 (generic-not-last-base-class) (#11233) 2024-05-07 10:07:56 +00:00
PYI059.pyi [flake8-pyi] Implement PYI059 (generic-not-last-base-class) (#11233) 2024-05-07 10:07:56 +00:00
PYI062.py [flake8-pyi] Implement PYI062 (duplicate-literal-member) (#11269) 2024-05-07 19:28:06 +01:00
PYI062.pyi [flake8-pyi] Implement PYI062 (duplicate-literal-member) (#11269) 2024-05-07 19:28:06 +01:00
PYI063.py [flake8-pyi] Implement PYI063 (#11699) 2024-06-04 03:15:04 +00:00
PYI063.pyi [flake8-pyi] Implement PYI063 (#11699) 2024-06-04 03:15:04 +00:00
PYI064.py [flake8-pyi] Implement PYI064 (#11325) 2024-05-28 23:57:13 +00:00
PYI064.pyi [flake8-pyi] Implement PYI064 (#11325) 2024-05-28 23:57:13 +00:00
PYI066.py [flake8-pyi] Implement PYI066 (#11541) 2024-05-29 00:30:00 +00:00
PYI066.pyi [flake8-pyi] Implement PYI066 (#11541) 2024-05-29 00:30:00 +00:00