Charlie Marsh
a435c0df4b
Remove deprecated update-check setting ( #4313 )
2023-05-09 13:10:02 -04:00
Aarni Koskela
efdf383f5e
Implement Flynt static string join transform as FLY002 ( #4196 )
2023-05-08 20:46:38 -04:00
Trevor McCulloch
3beff29026
[pylint] Implement nested-min-max (W3301) ( #4200 )
2023-05-07 03:14:14 +00:00
Chris Chan
c2921e957b
[pylint] Implement import-self (W0406) ( #4154 )
2023-05-04 16:05:15 -04:00
Arya Kumar
e9e194ab32
[flake8-pyi] Implement PYI042 and PYI043 ( #4214 )
2023-05-04 14:35:26 -04:00
Arya Kumar
37aae666c7
[flake8-pyi] PYI020 ( #4211 )
2023-05-03 22:37:32 -04:00
Moritz Sauter
ee6d8f7467
Add bugbear immutable functions as allowed in dataclasses ( #4122 )
2023-04-27 21:23:06 -04:00
Trevor McCulloch
bbf658d4c5
[pylint] Implement PLE0302 unexpected-special-method-signature ( #4075 )
2023-04-25 04:51:21 +00:00
Edgar R. M
cfc7d8a2b5
[flake8-import-conventions] Implement new rule ICN003 to ban from ... import ... for selected modules ( #4040 )
2023-04-23 04:40:36 +00:00
Charlie Marsh
c457752f36
Redirect PIE802 to C419 ( #3971 )
2023-04-13 22:12:32 -04:00
Charlie Marsh
289289bfd3
Implement unnecessary-literal-within-dict-call (C418) ( #3969 )
2023-04-14 01:39:35 +00:00
Paul
2d2630ef07
Implement isort custom sections and ordering ( #2419 ) ( #3900 )
2023-04-13 21:28:22 +00:00
Rob Young
a6a7584d79
Implement flake8-bandit shell injection rules ( #3924 )
2023-04-13 14:45:27 -04:00
USER-5
860841468c
[flake8-pyi] Implement duplicate types in unions (PYI016) ( #3922 )
2023-04-12 04:06:09 +00:00
Charlie Marsh
b999e4b1e2
Allow users to extend the set of included files via include ( #3914 )
2023-04-11 23:39:43 -04:00
Daniel Stancl
523515f936
[flake8-import-conventions] Add a rule for BannedImportAlias ( #3926 )
2023-04-12 03:29:24 +00:00
Moritz Sauter
d4af2dd5cf
[ruff] Add checks for mutable defaults in dataclasses ( #3877 )
2023-04-09 02:46:28 +00:00
Charlie Marsh
e0bccfd2d9
Allow legacy C and T selectors in JSON schema ( #3889 )
2023-04-05 17:58:36 +00:00
kyoto7250
46bcb1f725
[flake8-simplify] Implement dict-get-with-none-default (SIM910) ( #3874 )
2023-04-04 03:52:10 +00:00
Leiser Fernández Gallo
224e85c6d7
Implement flake8-gettext ( #3785 )
2023-03-28 23:32:02 +00:00
Charlie Marsh
c3917eab38
Revert "Implement flake8-i18n ( #3741 )" ( #3765 )
2023-03-27 21:14:38 +00:00
JBLDSKY
0eb5a22dd1
[flake8-pyi] Implement PYI012 ( #3743 )
2023-03-27 18:27:24 +00:00
Leiser Fernández Gallo
5cb120327c
Implement flake8-i18n ( #3741 )
2023-03-27 18:03:39 +00:00
Jonathan Plasse
8ac7584756
[flake8-pyi] Implement PYI015 ( #3728 )
2023-03-25 15:48:11 +00:00
Dhruv Manilawala
c1d89d8c93
[flake8-bugbear]: Implement rule B031 ( #3680 )
2023-03-24 17:26:11 -04:00
Dhruv Manilawala
9e61956711
[flake8-django]: Implement rule DJ012 ( #3659 )
2023-03-22 03:07:58 +00:00
Colin Delahunty
41e38ffa98
[flake8-bandit]: Implement deny-list rules for suspicious member calls ( #3239 )
2023-03-21 15:11:52 -04:00
Jacob Latonis
318c2c80e2
pylint: Implement binary-op-exception (PLW0711) (#3639 )
2023-03-21 03:33:40 +00:00
Jacob Latonis
a45753f462
[pylint]: Implement assert-on-string-literal (W0129) ( #3610 )
2023-03-19 23:45:51 -04:00
tomecki
61653b9f27
[pylint] Implement useless-return (R1711) ( #3116 )
2023-03-17 18:30:32 -04:00
Tomer Chachamu
1dd3cbd047
[pylint] invalid-characters-* ( #3552 )
2023-03-17 19:30:41 +00:00
Johan
bd935cbd49
[flake8-bugbear] Add no-explicit-stacklevel (B028) ( #3550 )
2023-03-17 19:20:08 +00:00
Evan Rittenhouse
33d2457909
Prefer itertools.pairwise() over zip() for successive pairs (RUF007) ( #3501 )
2023-03-16 23:50:45 -04:00
Jacob Latonis
73df267635
[pylint]: Implement continue-in-finally (E0116) ( #3541 )
2023-03-17 02:47:49 +00:00
Charlie Marsh
62ff3b62e3
Add requires-python inference to docs ( #3495 )
2023-03-13 18:14:39 -04:00
Jacob Latonis
675227db5c
pylint: E1507 invalid-envvar-value ( #3467 )
2023-03-12 21:43:06 +00:00
Jacob Latonis
0f78f27713
pylint: W1508 invalid-envvar-default ( #3449 )
2023-03-11 16:44:42 -05:00
Aryaman Marathe
952307d39d
[pylint] C1901: compare-to-empty-string ( #3405 )
2023-03-09 21:33:34 +00:00
Aaron Cunningham
3349ceb969
[flake8-bugbear] Add flake8-bugbear's B030 rule ( #3400 )
2023-03-08 20:41:29 +00:00
Charlie Marsh
bced58ce40
Rename runtime-evaluated-baseclasses to runtime-evaluated-base-classes ( #3379 )
2023-03-07 09:51:12 -05:00
Sasan Jacob Rasti
4dead7541f
Implement configuration options runtime-evaluated-decorators and runtime-evaluated-baseclasses for flake8-type-checking ( #3292 )
2023-03-06 23:34:19 -05:00
StefanBRas
30c71dc59a
Add Azure Devops as a -format option. ( #3335 )
2023-03-06 02:48:39 +00:00
Charlie Marsh
367cc43c42
Un-gate PEP 604 isinstance rewrites from keep_runtime_typing checks ( #3328 )
2023-03-03 17:29:41 -05:00
Charlie Marsh
b5b26d5a3e
Gate PEP604 isinstance rewrites behind Python 3.10+ ( #3327 )
2023-03-03 22:22:14 +00:00
konstin
3bcffb5bdd
Add flake-pyi PYI033 "Do not use type comments in stubs" ( #3302 )
2023-03-03 10:45:34 -05:00
Charlie Marsh
3a98b68dc0
Always include @classmethod and @staticmethod in decorator lists ( #3314 )
2023-03-03 03:49:04 +00:00
Yaroslav Chvanov
508bc605a5
Implement property-decorators configuration option for pydocstyle ( #3311 )
2023-03-02 16:59:56 -05:00
Martin Lehoux
886992c6c2
Replace tuples with type union in isinstance or issubclass calls ( #3280 )
2023-03-02 15:59:15 -05:00
Charlie Marsh
310f13c7db
Redirect RUF004 to B026 ( #3293 )
2023-03-01 13:00:02 -05:00
konstin
2168404fc2
flake8-pyi PYI006 bad version info comparison ( #3291 )
...
Implement PYI006 "bad version info comparison"
## What it does
Ensures that you only `<` and `>=` for version info comparisons with
`sys.version_info` in `.pyi` files. All other comparisons such as
`<`, `<=` and `==` are banned.
## Why is this bad?
```python
>>> import sys
>>> print(sys.version_info)
sys.version_info(major=3, minor=8, micro=10, releaselevel='final', serial=0)
>>> print(sys.version_info > (3, 8))
True
>>> print(sys.version_info == (3, 8))
False
>>> print(sys.version_info <= (3, 8))
False
>>> print(sys.version_info in (3, 8))
False
```
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com >
2023-03-01 18:58:57 +01:00