Commit Graph

12775 Commits

Author SHA1 Message Date
Harutaka Kawamura 485881877f
Include error code and message in JSON output (#259) 2022-09-22 20:29:21 -04:00
Charlie Marsh b8f517c70e Bump version to 0.0.45 2022-09-22 14:11:09 -04:00
Charlie Marsh 9f601c2abd Document noqa workflows 2022-09-22 14:10:02 -04:00
Charlie Marsh c0ce0b0c48
Enable automatic `noqa` insertion (#256) 2022-09-22 13:59:06 -04:00
Charlie Marsh e5b16973a9
Enable autofix for M001 (#255) 2022-09-22 13:21:03 -04:00
Charlie Marsh de9ceb2fe1
Only enforce multi-line noqa directives for strings (#258) 2022-09-22 13:09:02 -04:00
Charlie Marsh 38b19b78b7
Enable noqa directives on logical lines (#257) 2022-09-22 12:56:15 -04:00
Charlie Marsh 7043e15b57 Move noqa to a separate module 2022-09-22 09:04:54 -04:00
Charlie Marsh 9594079235
Add --extend-select and --extend-ignore (#254) 2022-09-21 19:56:43 -04:00
Charlie Marsh 732f208e47
Add a lint rule to enforce noqa validity (#253) 2022-09-21 19:56:38 -04:00
Charlie Marsh 32e62d9209 Use specific version tags 2022-09-21 15:11:53 -04:00
Charlie Marsh d9e4b0cdc1
Implement --show-settings and --show-files (#246) 2022-09-21 15:08:50 -04:00
Charlie Marsh 36fcfad56a Remove empty comment 2022-09-21 13:44:49 -04:00
Charlie Marsh 65d29d9734
Adjust line numbers when reporting rules in f-strings (#244) 2022-09-21 13:42:58 -04:00
Charlie Marsh 1e171ce0e8 Bump version to 0.0.44 2022-09-21 12:25:14 -04:00
Charlie Marsh 2bdc500c61 Re-run cargo insta 2022-09-21 12:24:46 -04:00
Charlie Marsh f453e429b6 Add a note on parity 2022-09-21 12:24:04 -04:00
Charlie Marsh 73874f4788 Remove proof-of-concept caveat 2022-09-21 12:18:01 -04:00
Charlie Marsh 8846dcdf6a Update README 2022-09-21 12:17:41 -04:00
Charlie Marsh d827e6e36a
Implement F405 (#243) 2022-09-21 12:13:40 -04:00
Harutaka Kawamura 71d9b2ac5f
Implement F402 (#221) 2022-09-21 11:12:55 -04:00
Anders Kaseorg 401b53cc45
Handle filesystem errors more consistently (#240) 2022-09-20 23:22:01 -04:00
Anders Kaseorg aa9c1e255c
Simplify check_path type (#239) 2022-09-20 21:11:42 -04:00
Anders Kaseorg f7fc702b2c
Include specified files, even if they lack a .py[i] extension (#238) 2022-09-20 20:53:52 -04:00
Anders Kaseorg 50ca0d7d0a
Correctly display the location of parse errors (#237) 2022-09-20 20:53:22 -04:00
Anders Kaseorg 65e0284698
Suppress “Found 0 error(s)” message (#236) 2022-09-20 19:32:39 -04:00
Charlie Marsh e4f571ea61 Bump version to 0.0.43 2022-09-20 12:26:49 -04:00
Charlie Marsh 4ed88dd245
Follow-up fixes to path absolution (#235) 2022-09-20 12:26:32 -04:00
Charlie Marsh 09b926fd59 Optimize imports 2022-09-20 09:10:39 -04:00
Charlie Marsh a4869e4974 Update benchmark in README 2022-09-20 07:06:12 -06:00
Charlie Marsh f53c4fc221 Bump version to 0.0.42 2022-09-19 21:14:17 -06:00
Charlie Marsh 3892a49a97 Bump version to 0.0.41 2022-09-19 21:09:33 -06:00
Charlie Marsh 27cc7e236c
Use a separate repo for pre-commit (#229) 2022-09-19 21:06:39 -06:00
Charlie Marsh fa0954fe47
Treat relative excludes as relative to project root (#228) 2022-09-19 20:45:02 -06:00
Charlie Marsh a0b50d7ebc
Use absolute paths for exclusion matching (#213) 2022-09-19 20:32:31 -06:00
Charlie Marsh afe7a04211
Ignore F841 violations when locals() is in scope (#226) 2022-09-19 20:13:55 -06:00
Charlie Marsh 14806c62ca
Reduce number of sites for new check definitions (#227) 2022-09-19 20:13:46 -06:00
Suguru Yamamoto 0d0c8730fa
fix: Use UTF-32 char count for line length (#223) (#224) 2022-09-18 10:45:41 -06:00
Harutaka Kawamura cf6a23b83c
Add `--version` flag (#222) 2022-09-18 09:15:15 -06:00
Anders Kaseorg 9e0daac561
Enable F404 by default (#219) 2022-09-18 09:13:23 -06:00
Anders Kaseorg f2fd7335ce
Use a platform-appropriate location for user configuration (#215) 2022-09-17 13:29:17 -06:00
Anders Kaseorg b8f878df5e
Find user configuration even if there’s no project directory (#216) 2022-09-16 21:47:15 -06:00
Anders Kaseorg 9bdb922c75
Detect multi-target assignment as unpacking if *any* target is unpacking (#217) 2022-09-16 21:45:44 -06:00
Anders Kaseorg edecc1bba6
Fix find_project_root with relative paths (#214) 2022-09-16 18:04:35 -06:00
Charlie Marsh 8e903153f6 Update README to include more badges 2022-09-16 12:18:03 -06:00
Charlie Marsh 3937885f37 Bump version to 0.0.40 2022-09-16 04:57:21 -04:00
Charlie Marsh 24de97d951 Create cache directory prior to writing .gitignore 2022-09-16 04:56:58 -04:00
Charlie Marsh 06e5b3e457 Bump version to 0.0.39 2022-09-15 21:41:14 -04:00
Charlie Marsh 68a0e6dc19 Remove erroneous test dir 2022-09-15 21:41:00 -04:00
Charlie Marsh 9d4a4478f7
Improve exclusion syntax to match exact files (#209) 2022-09-15 21:40:49 -04:00