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
Harutaka Kawamura
f7bb5bc858
Remove F831 ( #1495 )
2022-12-30 23:57:51 -05:00
Harutaka Kawamura
3e23fd1487
Stop overriding locations for expressions within f-strings ( #1494 )
2022-12-30 23:43:59 -05:00
Charlie Marsh
01c74e0629
Add a "fix message" to every autofix-able check ( #1489 )
2022-12-30 23:16:03 -05:00
Charlie Marsh
1e3cf87f67
Escape strings when formatting check messages ( #1493 )
2022-12-30 22:11:01 -05:00
Charlie Marsh
248447e139
Trim CLI help during generation ( #1492 )
2022-12-30 22:03:58 -05:00
Charlie Marsh
95f139583a
Modify pyproject.toml to meet schema compliance
2022-12-30 15:51:35 -05:00
Charlie Marsh
74903f23d6
Bump version to 0.0.203
2022-12-30 15:33:30 -05:00
Charlie Marsh
3ee20a70d3
Remove lingering ruff_options.ts references
2022-12-30 15:33:09 -05:00
Charlie Marsh
4c2fbb7ac0
Remove hidden autoformat command ( #1486 )
2022-12-30 15:32:05 -05:00
Charlie Marsh
7a66f98590
Move some argument validation into Clap ( #1485 )
2022-12-30 15:29:41 -05:00
Charlie Marsh
a2bf3916f3
Make clean a standalone command
2022-12-30 15:20:18 -05:00
Reiner Gerecke
c9aa7b9308
Generate the README's --help output automatically via cargo +nightly dev generate-all ( #1483 )
2022-12-30 15:06:32 -05:00
Charlie Marsh
d880ca6cc6
Add a command to clear the Ruff cache ( #1484 )
2022-12-30 13:52:16 -05:00
Reiner Gerecke
080f99b908
Detect line endings and use them during code generation ( #1482 )
2022-12-30 12:59:40 -05:00
Charlie Marsh
a7dc491ff1
Fix clippy
2022-12-30 12:34:43 -05:00
Charlie Marsh
cdc8f8c91a
Remove support for ur
prefixes ( #1481 )
2022-12-30 11:21:05 -05:00
Colin Delahunty
138c46e793
Simplified code for unicode fix ( #1475 )
2022-12-30 11:18:52 -05:00
Charlie Marsh
a86c57a832
Support multi-line noqa
directives for 'import from' ( #1479 )
2022-12-30 11:16:50 -05:00
Charlie Marsh
818582fe8a
Bump version to 0.0.202
2022-12-30 08:16:32 -05:00
Charlie Marsh
90574c1088
Set editor background on top-level component ( #1478 )
2022-12-30 07:55:54 -05:00
Charlie Marsh
3061a35e7c
Use more precise ranges for class and function checks ( #1476 )
2022-12-30 07:39:20 -05:00
Martin Fischer
87681697ae
Improve CLI help for --select
( #1471 )
2022-12-30 07:16:44 -05:00
Martin Fischer
e9ec2a7b36
Add use test_case::test_case;
to CONTRIBUTING.md
...
I previously tried adding the #[test_case()] attribute macro and got
confused because the Rust compilation suddenly failed with:
error[E0658]: use of unstable library feature 'custom_test_frameworks': custom test frameworks are an unstable feature
which is a quite confusing error message. The solution is to just add
`use test_case::test_case;`, so this commit adds that line to the
example in CONTRIBUTING.md to spare others this source of confusion.
2022-12-30 07:13:48 -05:00
Martin Fischer
b0bb75dc1c
Add --select to command suggested in CONTRIBUTING.md
...
By default only E* and F* lints are enabled. I previously followed the
CONTRIBUTING.md instructions to implement a TID* lint and was confused
why my lint wasn't being run.
2022-12-30 07:13:48 -05:00
Martin Fischer
ebca5c2df8
Make banned-api config setting optional ( #1465 )
2022-12-30 07:09:56 -05:00
Charlie Marsh
16b10c42f0
Fix lint issues
2022-12-29 23:12:28 -05:00
Charlie Marsh
4a6e5d1549
Bump version to 0.0.201
2022-12-29 23:01:35 -05:00
Charlie Marsh
b078050732
Implicit flake8-implicit-str-concat ( #1463 )
2022-12-29 23:00:55 -05:00
Charlie Marsh
5f796b39b4
Run cargo fmt
2022-12-29 22:25:14 -05:00
Martin Fischer
9d34da23bd
Implement TID251 (banning modules & module members) ( #1436 )
2022-12-29 22:11:12 -05:00
Charlie Marsh
bde12c3bb3
Restore quick fixes for playground
2022-12-29 20:16:19 -05:00
Colin Delahunty
f735660801
Removed unicode literals ( #1448 )
2022-12-29 20:11:33 -05:00
Charlie Marsh
34cd22dfc1
Copy URL but don't update the hash ( #1458 )
2022-12-29 19:46:50 -05:00
Charlie Marsh
9fafe16a55
Re-add GitHub badge to the bottom of the page
2022-12-29 19:38:33 -05:00
Charlie Marsh
e9a4cb1c1d
Remove generated TypeScript options ( #1456 )
2022-12-29 19:37:49 -05:00
Charlie Marsh
9db825c731
Use trailingComma: 'all' ( #1457 )
2022-12-29 19:36:51 -05:00