ruff/crates/ruff_linter/resources/test/fixtures/flake8_pyi
InSync aa6b812a73
[flake8-pyi] Also remove self and cls's annotation (PYI034) (#14801)
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-12-09 14:59:12 +00: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 [flake8-pyi] - include all python file types for PYI006 and PYI066 (#14059) 2024-11-03 11:47:36 +00: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 [flake8-pyi, ruff] Fix traversal of nested literals and unions (PYI016, PYI051, PYI055, PYI062, RUF041) (#14641) 2024-11-28 18:07:12 +00:00
PYI016.pyi [flake8-pyi, ruff] Fix traversal of nested literals and unions (PYI016, PYI051, PYI055, PYI062, RUF041) (#14641) 2024-11-28 18:07:12 +00: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 [flake8-pyi] Add "replace with Self" fix (PYI019) (#14238) 2024-11-12 11:13:15 +00:00
PYI019.pyi [flake8-pyi] Add "replace with Self" fix (PYI019) (#14238) 2024-11-12 11:13:15 +00: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 [flake8-pyi] Add autofix for docstring-in-stub (PYI021) (#14150) 2024-11-07 12:00:19 +00: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 [flake8-pyi] - fix dropped exprs in PYI030 autofix (#13727) 2024-10-13 11:33:03 +01:00
PYI030.pyi Add autofix for PYI030 (#7934) 2023-11-30 22:16:57 +00:00
PYI032.py [flake8-pyi] Teach various rules that annotations might be stringized (#12951) 2024-09-02 13:40:06 +00:00
PYI032.pyi [flake8-pyi] Teach various rules that annotations might be stringized (#12951) 2024-09-02 13:40:06 +00: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] Also remove self and cls's annotation (PYI034) (#14801) 2024-12-09 14:59:12 +00:00
PYI034.pyi [flake8-pyi] Also remove self and cls's annotation (PYI034) (#14801) 2024-12-09 14:59:12 +00: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 Extend test cases for flake8-pyi (#14280) 2024-11-26 09:10:38 +01:00
PYI041.pyi Extend test cases for flake8-pyi (#14280) 2024-11-26 09:10:38 +01: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 [flake8-pyi] Teach various rules that annotations might be stringized (#12951) 2024-09-02 13:40:06 +00:00
PYI050.pyi [flake8-pyi] Teach various rules that annotations might be stringized (#12951) 2024-09-02 13:40:06 +00:00
PYI051.py Extend test cases for flake8-pyi (#14280) 2024-11-26 09:10:38 +01:00
PYI051.pyi Extend test cases for flake8-pyi (#14280) 2024-11-26 09:10:38 +01: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 [flake8-pyi] Skip all type definitions in string-or-bytes-too-long (PYI053) (#14797) 2024-12-05 18:48:54 -06:00
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 [flake8-pyi] Avoid rewriting invalid type expressions in unnecessary-type-union (PYI055) (#14660) 2024-11-28 18:30:50 +00:00
PYI055.pyi [flake8-pyi] Avoid rewriting invalid type expressions in unnecessary-type-union (PYI055) (#14660) 2024-11-28 18:30:50 +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
PYI061.py [flake8-pyi] Improve autofix safety for redundant-none-literal (PYI061) (#14583) 2024-11-25 17:40:57 +00:00
PYI061.pyi [flake8-pyi] Improve autofix safety for redundant-none-literal (PYI061) (#14583) 2024-11-25 17:40:57 +00:00
PYI062.py Extend test cases for flake8-pyi (#14280) 2024-11-26 09:10:38 +01:00
PYI062.pyi Extend test cases for flake8-pyi (#14280) 2024-11-26 09:10:38 +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