Charlie Marsh
67e9ff7cc8
Reorder imports ( #2638 )
2023-02-07 16:22:47 -05:00
Charlie Marsh
0355ba571e
Skip ternary fixes for yields and awaits ( #2637 )
2023-02-07 15:18:52 -05:00
Charlie Marsh
38db7fd114
Avoid boolean-trap errors in __setitem__
( #2636 )
2023-02-07 15:04:33 -05:00
Charlie Marsh
8ee51eb5c6
Treat @staticmethod as higher-precedence than ABC ( #2635 )
2023-02-07 14:57:03 -05:00
Aarni Koskela
2bc16eb4e3
flake8-annotations: add ignore-fully-untyped ( #2128 )
...
This PR adds a configuration option to inhibit ANN* violations for functions that have no other annotations either, for easier gradual typing of a large codebase.
2023-02-07 11:35:57 -05:00
Charlie Marsh
4e36225145
Avoid no-unnecessary-dict-kwargs errors with reserved keywords ( #2628 )
2023-02-07 11:25:09 -05:00
Charlie Marsh
850069d0aa
Avoid non-recursion in nested typing function calls ( #2627 )
2023-02-07 11:21:49 -05:00
Charlie Marsh
9fa98ed90b
Accommodate pos-only arguments when checking self name ( #2626 )
2023-02-07 10:50:50 -05:00
Charlie Marsh
2b4ce78830
Delete unreferenced snapshots ( #2619 )
2023-02-06 23:22:41 -05:00
Colin Delahunty
7647cafe12
[pylint
]: bidirectional-unicode ( #2589 )
2023-02-06 22:49:18 -05:00
Charlie Marsh
bf718fdf26
Bump Ruff version to 0.0.243
2023-02-06 21:22:54 -05:00
Steve Dignam
3b3466f6da
Add flake8-pie single_starts_ends_with ( #2616 )
2023-02-06 21:22:32 -05:00
Charlie Marsh
f981f491aa
Support ignore-names
for all relevant pep8-naming rules ( #2617 )
2023-02-06 21:14:55 -05:00
Charlie Marsh
95fef43c4d
Add some additional tests for relative imports
2023-02-06 21:13:23 -05:00
Charlie Marsh
097c679cf3
Support relative paths for typing-modules ( #2615 )
2023-02-06 19:51:37 -05:00
Charlie Marsh
3bca987665
Avoid removing quotes from runtime annotations ( #2614 )
2023-02-06 18:15:19 -05:00
Ville Skyttä
60ee1d2c17
fix(pep8-naming): typing.NamedTuple
and typing.TypedDict
treatment ( #2611 )
2023-02-06 17:11:37 -05:00
Charlie Marsh
2dd04dd6a3
Check in updated snapshot
2023-02-06 16:34:47 -05:00
Charlie Marsh
e59b75d31b
Bump version to 0.0.242
2023-02-06 16:25:29 -05:00
Charlie Marsh
610f150dd1
Remove autofix from bad-str-strip-call; add suggestions instead ( #2610 )
2023-02-06 16:25:20 -05:00
Charlie Marsh
cee0d0abaa
Check in updated snapshot
2023-02-06 15:48:23 -05:00
Charlie Marsh
12ed1837ee
Ignore typos in snapshots ( #2609 )
2023-02-06 15:43:03 -05:00
Colin Delahunty
6272293180
[pylint
]: bad-str-strip-call (With Autofix) ( #2570 )
2023-02-06 15:34:37 -05:00
Charlie Marsh
f8b8b05b80
Visit deferred assignments after deferred type annotations ( #2607 )
2023-02-06 14:40:41 -05:00
Charlie Marsh
79776c12e2
Allow blank line before sticky-comment functions in docstrings ( #2597 )
2023-02-05 18:48:29 -05:00
Charlie Marsh
7fa5ce8b63
Automatically remove empty type-checking blocks ( #2598 )
2023-02-05 18:46:07 -05:00
Charlie Marsh
f6864a96f6
Enable autofix for unnecessary-paren-on-raise-exception ( #2596 )
2023-02-05 18:19:27 -05:00
Charlie Marsh
291ef9856a
Remove unnecessary super_args.rs
( #2594 )
2023-02-05 18:02:09 -05:00
Charlie Marsh
87d0aa5561
Move python
into its own ruff_python
crate ( #2593 )
2023-02-05 17:53:58 -05:00
Micha Reiser
cd8be8c0be
refactor: Introduce crates folder ( #2088 )
...
This PR introduces a new `crates` directory and moves all "product" crates into that folder.
Part of #2059 .
2023-02-05 16:47:48 -05:00
Charlie Marsh
937c83d57f
Remove crates subdirectory ( #563 )
2022-11-03 09:19:54 -04:00
Charlie Marsh
e00bcd19f5
Bump version to 0.0.97
2022-11-02 22:38:43 -04:00
Charlie Marsh
e473df1fe9
Bump version to 0.0.96
2022-11-02 22:10:56 -04:00
Charlie Marsh
f9def0a139
Bump version to 0.0.95
2022-11-02 09:03:34 -04:00
Charlie Marsh
b4a46ab6f0
Add tests for converter.rs ( #542 )
2022-11-01 22:36:08 -04:00
Charlie Marsh
f6e14edc3e
Use max-line-length in converter.rs ( #541 )
2022-11-01 22:27:13 -04:00
Charlie Marsh
79ca66ace5
Use nightly rustfmt with rustfmt.toml ( #536 )
2022-11-01 20:34:38 -04:00
Charlie Marsh
bad5723d80
Add plugin configuration to flake8-to-ruff ( #535 )
2022-11-01 17:08:53 -04:00
Charlie Marsh
2d83f99dbf
Bump version to 0.0.94
2022-11-01 16:38:59 -04:00
Charlie Marsh
927d716edd
Enable flake8-to-ruff builds on all platforms
2022-11-01 12:15:43 -04:00
Charlie Marsh
df6a48fced
Use separate tokens for each PyPI release
2022-10-31 22:43:38 -04:00
Charlie Marsh
5797884262
Represent per-file ignores as a map ( #531 )
2022-10-31 22:15:33 -04:00
Charlie Marsh
8fd713739b
Use pretty-print for flake8-to-ruff
2022-10-31 17:52:03 -04:00
Charlie Marsh
5de1fcd653
Add to flake8-to-ruff README
2022-10-31 17:50:32 -04:00
Charlie Marsh
621db96e7f
Use more consistent Option in pyproject settings ( #530 )
2022-10-31 16:34:58 -04:00
Charlie Marsh
1ce4585c88
Add a separate release job for flake8-to-ruff ( #529 )
2022-10-31 16:21:38 -04:00
Charlie Marsh
f3f010cdf5
Move flake8-to-ruff to a separate crate ( #528 )
2022-10-31 14:22:07 -04:00