Commit Graph

11 Commits

Author SHA1 Message Date
Charlie Marsh dcccfe2591
Avoid parsing pyproject.toml files when settings are fixed (#1827)
Apart from being wasteful, this can also cause problems (see the linked
issue).

Resolves #1812.
2023-01-12 13:15:44 -05:00
Charlie Marsh 21986e89fd
Always check directly-passed-in files (#1564) 2023-01-02 16:49:44 -05:00
Charlie Marsh b0f30bef8f
Add support for `ruff.toml` (#1378) 2022-12-25 21:55:07 -05:00
Charlie Marsh 3ac5a9aa31
Respect --force-exclude for files passed via stdin (#1342) 2022-12-22 16:40:15 -05:00
Charlie Marsh ecf0dd05d6
Auto-detect same-package imports (#1266) 2022-12-16 21:19:11 -05:00
Charlie Marsh d067efe265
Treat `extend-*` configuration options as "always extended" (#1245) 2022-12-14 20:22:40 -05:00
Charlie Marsh 549ea2f85f
Ignore any `pyproject.toml` without a `[tool.ruff]` section (#1243) 2022-12-14 19:35:52 -05:00
Charlie Marsh 76891a8c07
Always check zero-depth CLI paths (#1241) 2022-12-14 16:32:02 -05:00
Charlie Marsh 4b2020d03a
Automatically ignore files specified in `.gitignore` (#1234) 2022-12-14 15:58:40 -05:00
Charlie Marsh 92bc417e4e
Add support for glob patterns in `src` (#1225) 2022-12-12 21:35:03 -05:00
Charlie Marsh 9853b0728b
Enable configuration files to "extend" other configuration files (#1219) 2022-12-12 20:28:22 -05:00