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
Charlie Marsh
2c7464604a
Implement dark mode ( #1455 )
2022-12-29 19:33:46 -05:00
Charlie Marsh
cd2099f772
Move default options into WASM interface ( #1453 )
2022-12-29 18:06:57 -05:00
Adam Turner
091d36cd30
Add Sphinx to user list ( #1451 )
2022-12-29 18:06:09 -05:00
Mathieu Kniewallner
02f156c6cb
docs(README): add missing flake8-simplify
( #1449 )
2022-12-29 17:02:26 -05:00
Charlie Marsh
9f7350961e
Rename config to settings in the playground ( #1450 )
2022-12-29 16:59:38 -05:00
Charlie Marsh
118a93260a
Bump version to 0.0.200
2022-12-29 13:31:23 -05:00
Charlie Marsh
1c16255884
Include docstrings for settings enum members ( #1446 )
2022-12-29 13:15:44 -05:00
Charlie Marsh
16c4552946
Update snapshots
2022-12-29 13:13:43 -05:00
Charlie Marsh
0ba3989b3d
Make update check enablement cofnigurable ( #1445 )
2022-12-29 13:06:22 -05:00
Charlie Marsh
3435e15cba
Avoid caching diffs ( #1441 )
2022-12-29 12:51:58 -05:00
Maksudul Haque
781bbbc286
[pygrep-hooks] Adds Check for Blanket # noqa
( #1440 )
2022-12-29 12:43:16 -05:00
Charlie Marsh
acf0b82f19
Re-style the Ruff playground ( #1438 )
2022-12-29 11:47:27 -05:00
Charlie Marsh
057414ddd4
Bump version to 0.0.199
2022-12-28 20:58:43 -05:00
Charlie Marsh
ca94e9aa26
Warn the user when max iteration count is reached ( #1433 )
2022-12-28 20:56:43 -05:00
Charlie Marsh
797b5bd261
Split into lint and lint-and-fix methods ( #1432 )
2022-12-28 20:14:33 -05:00
Charlie Marsh
a64f62f439
Revert setup.py change
2022-12-28 19:34:20 -05:00
Charlie Marsh
058ee8e6bf
Add a --diff flag to dry-run autofixes ( #1431 )
2022-12-28 19:21:29 -05:00
Charlie Marsh
39fc1f0c1b
Add a note on autofix settings
2022-12-28 17:26:38 -05:00
Colin Delahunty
34842b4c4b
PyUpgrade: Replace pipes with capture_output=True
( #1415 )
2022-12-28 16:53:35 -05:00
Charlie Marsh
dfa6fa8f83
Check in updated snapshots
2022-12-28 16:42:55 -05:00
Colin Delahunty
6131c819ed
Rewrite xml.etree.cElementTree to xml.etree.ElementTree ( #1426 )
2022-12-28 16:30:36 -05:00
Hannes Käufler
79ba420faa
Extract duplicated logic into method ( #1428 )
2022-12-28 16:10:53 -05:00
Charlie Marsh
d16ba890ae
Turn off wasm-pack tests ( #1427 )
2022-12-28 12:55:25 -05:00
Charlie Marsh
6b6851bf1f
Update JSON schema
2022-12-28 12:27:01 -05:00
Charlie Marsh
056718ce75
Remove stray Plugins doc
2022-12-28 12:24:48 -05:00
Charlie Marsh
4521fdf021
Only test --lib for wasm-pack
2022-12-28 10:28:40 -05:00