Charlie Marsh
048e5774e8
Use absolute paths for --stdin-filename matching ( #1843 )
...
Non-basename glob matches (e.g., for `--per-file-ignores`) assume that
the path has been converted to an absolute path. (We do this for
filenames as part of the directory traversal.) For filenames passed via
stdin, though, we're missing this conversion. So `--per-file-ignores`
that rely on the _basename_ worked as expected, but directory paths did
not.
Closes #1840 .
2023-01-12 21:01:05 -05:00
Charlie Marsh
0fe349b5f8
Rename CheckCategory to RuleOrigin ( #1726 )
2023-01-08 17:50:18 -05:00
Charlie Marsh
311a823a4a
Increase blackd wait time ( #1709 )
...
Resolves #1511 .
2023-01-06 23:08:25 -05:00
Charlie Marsh
8647bec3cb
Rename checks.rs to registry.rs ( #1566 )
2023-01-02 17:26:51 -05:00
Charlie Marsh
01c74e0629
Add a "fix message" to every autofix-able check ( #1489 )
2022-12-30 23:16:03 -05:00
Reiner Gerecke
bdb1505262
Web playground with WASM ( #1279 )
2022-12-26 12:09:17 -05:00
Charlie Marsh
48e3c046b0
Fix integration tests
2022-12-21 21:25:37 -05:00
Hannes Käufler
468ffd29fb
[Stylistic/non-functional] Use an r# format string to make json easier to read ( #1299 )
2022-12-20 12:55:21 -05:00
Charlie Marsh
89d919eac5
Re-remove W605_1.py from Black compatibility test
2022-12-16 23:17:27 -05:00
Charlie Marsh
7e45a9f2e2
Avoid generating invalid statements when deleting from multi-statement lines ( #1253 )
2022-12-15 22:17:31 -05:00
Reiner Gerecke
a000cd4a09
Test to prevent continious reformatting when used together with black ( #1206 )
2022-12-15 15:26:41 -05:00
Charlie Marsh
46f5053c73
Include fixes in JSON API output ( #988 )
2022-12-01 16:30:56 -05:00
Charlie Marsh
c06a1f6da9
Force format --text in tests
2022-12-01 10:51:11 -05:00
Ramazan Elsunakev
7c344e8e4c
feat: use more precise ranges for imports ( #958 )
2022-11-29 19:01:39 -05:00
Harutaka Kawamura
e81efa5a3d
Implement a --show-source setting ( #698 )
2022-11-18 14:02:29 -05:00
Harutaka Kawamura
43cc8bc84e
Lint test code ( #721 )
2022-11-13 11:55:57 -05:00
fsouza
c68c6b5424
Make columns indices 1-based in the text output format ( #539 )
2022-11-01 19:06:08 -04:00
Charlie Marsh
2415d73260
Remove RustPython fork ( #523 )
2022-10-30 18:04:05 -04:00
fsouza
720bfe0161
Implement --fix with stdin ( #405 )
2022-10-12 22:31:46 -04:00
Harutaka Kawamura
8ba872ece4
Support linting input from stdin ( #387 )
2022-10-11 09:56:20 -04:00