Commit Graph

732 Commits

Author SHA1 Message Date
Charlie Marsh 8aeec35bfb
Implement dupe-class-field-definitions (#1581) 2023-01-02 22:26:01 -05:00
Charlie Marsh 93259acb31
Implement unnecessary-pass-statement (#1580) 2023-01-02 22:15:24 -05:00
Charlie Marsh 5dd9e99a4b
Add `flake8-pie` plugin with `prefer_list_builtin` (#1578) 2023-01-02 21:47:38 -05:00
Charlie Marsh 0c05488740
Automatically set baseline D codes based on convention (#1574) 2023-01-02 19:08:56 -05:00
Edgar R. M c4014ef2d3
Implement `flake8-pytest-style` (#1506) 2023-01-02 16:34:17 -05:00
Pedram Navid 07e47bef4b
Add flake8-simplify SIM300 check for Yoda Conditions (#1539) 2023-01-01 18:37:40 -05:00
Colin Delahunty 65c34c56d6
Implement list-to-tuple comprehension unpacking (#1534) 2023-01-01 16:53:26 -05:00
Colin Delahunty 70895a8f1e
Pyupgrade: `import mock` to `from unittest import mock` (#1488) 2022-12-31 21:25:06 -05:00
Colin Delahunty 4ad8db3d61
Pyupgrade: Turn errors into OSError (#1434) 2022-12-31 16:36:05 -05:00
Harutaka Kawamura f7bb5bc858
Remove F831 (#1495) 2022-12-30 23:57:51 -05:00
Martin Fischer ebca5c2df8
Make banned-api config setting optional (#1465) 2022-12-30 07:09:56 -05:00
Charlie Marsh b078050732
Implicit flake8-implicit-str-concat (#1463) 2022-12-29 23:00:55 -05:00
Martin Fischer 9d34da23bd
Implement TID251 (banning modules & module members) (#1436) 2022-12-29 22:11:12 -05:00
Colin Delahunty f735660801
Removed unicode literals (#1448) 2022-12-29 20:11:33 -05:00
Charlie Marsh 1c16255884
Include docstrings for settings enum members (#1446) 2022-12-29 13:15:44 -05:00
Charlie Marsh 0ba3989b3d
Make update check enablement cofnigurable (#1445) 2022-12-29 13:06:22 -05:00
Maksudul Haque 781bbbc286
[pygrep-hooks] Adds Check for Blanket `# noqa` (#1440) 2022-12-29 12:43:16 -05:00
Colin Delahunty 34842b4c4b
PyUpgrade: Replace pipes with `capture_output=True` (#1415) 2022-12-28 16:53:35 -05:00
Colin Delahunty 6131c819ed
Rewrite xml.etree.cElementTree to xml.etree.ElementTree (#1426) 2022-12-28 16:30:36 -05:00
Charlie Marsh 6b6851bf1f Update JSON schema 2022-12-28 12:27:01 -05:00
Maksudul Haque 8e479628f2
Add Support for GitLab CI Code Quality Report Format (#1424) 2022-12-28 10:10:43 -05:00
Charlie Marsh edcb3a7217
Support --select ALL to enable all error codes (#1418) 2022-12-27 21:38:26 -05:00
Charlie Marsh 570d0864f2
Add rule to detect keyword arguments before starred arguments (#1416) 2022-12-27 21:17:22 -05:00
Colin Delahunty c59035139c
Pyupgrade: converts `universal_newlines` to `text` in `subprocess.run` (#1403) 2022-12-27 12:01:27 -05:00
Charlie Marsh 7632d7eda7
Allow specification of explicit docstring convention (#1408) 2022-12-27 11:50:28 -05:00
Reiner Gerecke 534d8d049c
Support isort's force-single-line option (#1366) 2022-12-27 08:51:32 -05:00
Reiner Gerecke e0b39fa63e
Implement pyupgrade check for io.open alias (#1399) 2022-12-27 07:47:40 -05:00
Colin Delahunty 58c383401c
Replace `typing.Text` with `str` (#1391) 2022-12-26 19:55:41 -05:00
Colin Delahunty debd909b2c
Magic Trailing Commas in isort (#1363) 2022-12-26 09:40:02 -05:00
Charlie Marsh 8b72f55a09
Add `--required-version` (#1376) 2022-12-25 19:53:50 -05:00
Charlie Marsh d9355c989a
Add a `--fix-only` command-line and `pyproject.toml` option (#1375) 2022-12-25 18:49:56 -05:00
Edgar R. M 4888afd423
Generate JSON schema for Ruff options (#1329) 2022-12-24 14:10:22 -05:00