Charlie Marsh
e5a59f41b0
Remove extend- from docstring configuration examples ( #1571 )
2023-01-02 17:53:41 -05:00
Charlie Marsh
8647bec3cb
Rename checks.rs to registry.rs ( #1566 )
2023-01-02 17:26:51 -05:00
Charlie Marsh
14042800c2
Remove common-path dependency ( #1565 )
2023-01-02 17:23:29 -05:00
Charlie Marsh
21986e89fd
Always check directly-passed-in files ( #1564 )
2023-01-02 16:49:44 -05:00
Edgar R. M
c4014ef2d3
Implement flake8-pytest-style
( #1506 )
2023-01-02 16:34:17 -05:00
Charlie Marsh
9ffd20707f
Avoid PEP 604 rewrites for runtime annotations ( #1563 )
2023-01-02 16:33:52 -05:00
Charlie Marsh
6d5aa344a1
Avoid merging import from statements with inline comments ( #1562 )
2023-01-02 16:24:41 -05:00
Colin Delahunty
e9be5fc7be
Add typo linter ( #1553 )
2023-01-02 15:57:59 -05:00
Charlie Marsh
f74050e5b1
Bump version to 0.0.207
2023-01-02 14:39:32 -05:00
Martin Fischer
90b2d85c85
Fix __init__.py
being private ( #1556 )
...
Previously visibility::module_visibility() returned Private
for any module name starting with an underscore, resulting in
__init__.py being categorized as private, which in turn resulted
in D104 (Missing docstring in public package) never being reported
for __init__.py files.
2023-01-02 14:39:23 -05:00
Charlie Marsh
ccf848705d
Detect unpacking assignments in eradicate ( #1559 )
2023-01-02 14:05:58 -05:00
Charlie Marsh
3b535fcc74
Add explicit new-rule recommendation in CONTRIBUTING.md ( #1558 )
2023-01-02 13:50:11 -05:00
Víctor
06321fd240
Add usage clarification to README ( #1557 )
2023-01-02 13:40:16 -05:00
Martin Fischer
cdae2f0e67
Fix typing::match_annotated_subscript matching ExprKind::Call ( #1554 )
2023-01-02 12:13:45 -05:00
Martin Fischer
f52691a90a
Print warning when running debug builds without --no-cache ( #1549 )
2023-01-02 12:12:04 -05:00
Pedram Navid
07e47bef4b
Add flake8-simplify SIM300 check for Yoda Conditions ( #1539 )
2023-01-01 18:37:40 -05:00
Anders Kaseorg
86b61806a5
Correct UP027 message to “generator expression” ( #1540 )
2023-01-01 18:30:58 -05:00
Charlie Marsh
31ce37dd8e
Avoid PD false positives on some non-DataFrame expressions ( #1538 )
2023-01-01 17:05:57 -05:00
Charlie Marsh
2cf6d05586
Avoid triggering PD errors on method calls ( #1537 )
2023-01-01 17:00:17 -05:00
Colin Delahunty
65c34c56d6
Implement list-to-tuple comprehension unpacking ( #1534 )
2023-01-01 16:53:26 -05:00
Charlie Marsh
2315db7d13
Bump version to 0.0.206
2023-01-01 16:39:29 -05:00
Charlie Marsh
f1a183c171
Rewrite mock.mock attribute accesses ( #1533 )
2023-01-01 13:14:09 -05:00
Harutaka Kawamura
509c6d5ec7
Add visit_format_spec
to avoid false positives for F541 in f-string format specifier ( #1528 )
2023-01-01 13:03:32 -05:00
Maksudul Haque
6695988b59
Do not Change Quotation Style for SIM118
Autofix ( #1529 )
2023-01-01 12:53:46 -05:00
Harutaka Kawamura
e3867b172d
Simplify unused snapshot check ( #1525 )
2023-01-01 02:43:07 -05:00
Harutaka Kawamura
4b8e30f350
Fix Name
node range in NamedExpr
node ( #1526 )
2023-01-01 02:41:49 -05:00
Charlie Marsh
8fd0d8e9d8
Bump pyupgrade implementation count
2022-12-31 21:25:34 -05:00
Colin Delahunty
70895a8f1e
Pyupgrade: import mock
to from unittest import mock
( #1488 )
2022-12-31 21:25:06 -05:00
Charlie Marsh
f2c9f94f73
Avoid some false positives for ends-in-period checks ( #1521 )
2022-12-31 18:38:22 -05:00
Charlie Marsh
605c6069e2
Ignore property assignments in RET504 ( #1520 )
2022-12-31 18:04:13 -05:00
Charlie Marsh
92c2981b6d
Add dark mode variant for benchmark image ( #1519 )
2022-12-31 17:47:32 -05:00
Colin Delahunty
4ad8db3d61
Pyupgrade: Turn errors into OSError ( #1434 )
2022-12-31 16:36:05 -05:00
Charlie Marsh
0e8c237167
Bump version to 0.0.205
2022-12-31 13:44:39 -05:00
Harutaka Kawamura
960c5e2006
Use more precise error ranges for names ( #1513 )
2022-12-31 13:42:39 -05:00
Charlie Marsh
9ba17fbf92
Avoid flagging nested f-strings ( #1516 )
2022-12-31 13:41:21 -05:00
Charlie Marsh
bfdf972a5d
Add code kind to Quick Fix action
2022-12-31 10:26:47 -05:00
Charlie Marsh
0c215365ae
Bump version to 0.0.204
2022-12-31 08:20:09 -05:00
Maksudul Haque
815284f890
Check for Unsupported Files and Display Errors and Warnings ( #1509 )
2022-12-31 08:12:55 -05:00
Charlie Marsh
6880338a9a
Restore pyproject.toml
2022-12-31 08:06:08 -05:00
Charlie Marsh
68b749c67d
Remove foo directory
2022-12-31 08:05:04 -05:00
Reiner Gerecke
c0fc55b812
Generate source code with detected line ending ( #1487 )
2022-12-31 08:02:29 -05:00
Reiner Gerecke
ba9cf70917
Adjust test_path
helper to detect round-trip autofix issues ( #1501 )
2022-12-31 08:02:13 -05:00
Harutaka Kawamura
f73dfbbfd3
Fix E722 and F707 ranges ( #1508 )
2022-12-31 07:58:46 -05:00
Reiner Gerecke
62c273cd22
Include fix commit message when showing violations together with source ( #1505 )
2022-12-31 07:54:41 -05:00
Harutaka Kawamura
938ad9a39e
Fix N818 range ( #1503 )
2022-12-31 07:43:03 -05:00
Harutaka Kawamura
14248cb8cb
Improve PLW0120 range ( #1500 )
2022-12-31 07:42:49 -05:00
Harutaka Kawamura
3a280039e1
Improve F811 range for function and class definitions ( #1499 )
2022-12-31 07:42:18 -05:00
Harutaka Kawamura
4e9e58bdc0
Improve T20X
ranges ( #1502 )
2022-12-31 07:41:53 -05:00
Harutaka Kawamura
926b5494ad
Remove unused snapshots ( #1497 )
2022-12-31 07:40:38 -05:00
Reiner Gerecke
6717b48ca5
Fix detection of changed imports in isort plugin ( #1504 )
2022-12-31 07:37:27 -05:00