Commit Graph

21748 Commits

Author SHA1 Message Date
Adam Turner
f9947ff197 Enable the PLW0108 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
e9274771b3 Enable the PLC1901 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
9e1c27aca0 Enable the PLC0206 lint in Ruff 2024-10-19 01:16:07 +01:00
Adam Turner
c78b4c5404 Enable the PLE0704 lint in Ruff 2024-10-19 01:15:09 +01:00
Adam Turner
10a76d180a Remove outdated comment 2024-10-19 01:07:20 +01:00
Adam Turner
998f325c44 Merge if-branches in generic alias 2024-10-19 01:00:21 +01:00
Adam Turner
90b1df02dc Combine Union and Optional (GenericAlias) handling 2024-10-19 01:00:06 +01:00
Adam Turner
88e02552f9 Enable the entire S category in Ruff 2024-10-19 00:56:47 +01:00
Adam Turner
f26f3ffd93 Enable the entire PL category in Ruff 2024-10-19 00:56:01 +01:00
Adam Turner
74e7eb21e4 Enable the entire PLW category in Ruff 2024-10-19 00:54:36 +01:00
Adam Turner
31e0312e5f Enable the entire PLR category in Ruff 2024-10-19 00:54:00 +01:00
Adam Turner
6adf3854f6 Enable the entire PLE category in Ruff 2024-10-19 00:52:15 +01:00
Adam Turner
f3321c4c25 Enable the entire PLC category in Ruff 2024-10-19 00:51:25 +01:00
Adam Turner
f87d9b6085 Add disabled Ruff rules 2024-10-19 00:49:08 +01:00
Adam Turner
49d53a4317 Enable more Ruff rules 2024-10-19 00:48:54 +01:00
Adam Turner
31d2fccfe5 Update descriptions for Ruff rules 2024-10-19 00:48:28 +01:00
Adam Turner
6c44a9ec27 Add disabled flake8-todos rules 2024-10-19 00:47:22 +01:00
Adam Turner
864fc82524 Add disabled flake8-bandit rules 2024-10-19 00:46:44 +01:00
Adam Turner
8352946d6f Enable more flake8-bandit rules 2024-10-19 00:46:30 +01:00
Adam Turner
00a314997c Update descriptions for flake8-bandit rules 2024-10-19 00:46:06 +01:00
Adam Turner
d72c1b9d03 Add disabled Pylint rules 2024-10-19 00:44:28 +01:00
Adam Turner
9c5db1f601 Enable more Pylint (PLW) rules 2024-10-19 00:44:03 +01:00
Adam Turner
871c898952 Enable more Pylint (PLR) rules 2024-10-19 00:43:52 +01:00
Adam Turner
d15f2f67b9 Enable more Pylint (PLE) rules 2024-10-19 00:43:41 +01:00
Adam Turner
6cca0da198 Update descriptions for Pylint rules 2024-10-19 00:42:01 +01:00
Adam Turner
4aa6c58de7 Note that `.pyi` stub files are unused 2024-10-19 00:39:58 +01:00
Adam Turner
63593636c2 Note that the FAST category is unused 2024-10-19 00:39:35 +01:00
Adam Turner
557d78fb1a Enable the entire TID category in Ruff 2024-10-19 00:35:18 +01:00
Adam Turner
6f0b03d979 Enable the entire T20 category in Ruff 2024-10-19 00:35:18 +01:00
Adam Turner
ea85d1a77e Enable the entire T10 category in Ruff 2024-10-19 00:35:18 +01:00
Adam Turner
c8a48ecc43 Enable the entire RSE category in Ruff 2024-10-19 00:30:25 +01:00
Adam Turner
4a1664ff4c Enable the entire PIE category in Ruff 2024-10-19 00:30:17 +01:00
Adam Turner
0d7ba8faa6 Enable the entire PERF category in Ruff 2024-10-19 00:30:17 +01:00
Adam Turner
8351d0f57e Enable the entire G category in Ruff 2024-10-19 00:27:29 +01:00
Adam Turner
10beb192b9 Enable the entire COM category in Ruff 2024-10-19 00:26:47 +01:00
Adam Turner
81bfa9df3f Enable the entire ARG category in Ruff 2024-10-19 00:26:02 +01:00
Adam Turner
779790aafa Bump Ruff to 0.7.0 2024-10-18 20:48:41 +01:00
Adam Turner
dc29ad1fde Format test_sphinx_admonitions() 2024-10-18 20:48:41 +01:00
Adam Turner
1f6032aa7a Only test the latest Docutils in free-threaded builds 2024-10-18 20:47:43 +01:00
Adam Turner
61eb545016 Correct the spelling of "threaded" 2024-10-18 20:47:42 +01:00
Adam Turner
0f36c9b9d6 Restore Python 3.13 free-threaded tests 2024-10-18 18:50:36 +01:00
Adam Turner
ed8045ceea
Test on Python 3.14 (#12978) 2024-10-18 01:22:37 +01:00
Adam Turner
6c52c922e5 Support Enum signatures in Python 3.12 and 3.13 2024-10-18 00:42:21 +01:00
Adam Turner
cef2bcec36 Refactor `_EnumFormatter` 2024-10-18 00:29:03 +01:00
Adam Turner
d3956894d7 Use the non-deprecated name for EnumType 2024-10-17 23:42:21 +01:00
Adam Turner
aef403cbfe Convert `_METACLASS_CALL_BLACKLIST and _CLASS_NEW_BLACKLIST` to sets 2024-10-17 23:29:54 +01:00
Adam Turner
dded1b00d0 Remove unnecessary default in `ForwardRef` constructor 2024-10-17 23:26:50 +01:00
Adam Turner
423452cdc2 Improve repr for TypeAliasForwardRef 2024-10-17 23:22:24 +01:00
Adam Turner
ca1a46d215 Make `TypeAliasNamespace` conform to the Mapping protocol 2024-10-17 23:19:42 +01:00
Adam Turner
86c1194a22 Extract `is_native_api()` 2024-10-17 23:09:02 +01:00