From 7d24146df7599c6b1d14815191e38b5942447161 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sat, 7 Jan 2023 18:43:58 -0500 Subject: [PATCH] Implement `--isolated` CLI flag (#1727) Closes #1724. --- .github/ISSUE_TEMPLATE.md | 2 +- README.md | 2 ++ src/cli.rs | 7 ++++++- src/main_native.rs | 20 +++++++++++++------- 4 files changed, 22 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 2cfeda6ef1445..4c37cea22ce7c 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -4,7 +4,7 @@ Thank you for taking the time to report an issue! We're glad to have you involve If you're filing a bug report, please consider including the following information: - A minimal code snippet that reproduces the bug. -- The command you invoked (e.g., `ruff /path/to/file.py --fix`). +- The command you invoked (e.g., `ruff /path/to/file.py --fix`), ideally including the `--isolated` flag. - The current Ruff settings (any relevant sections from your `pyproject.toml`). - The current Ruff version (`ruff --version`). --> diff --git a/README.md b/README.md index fbcf66a3ea5ea..1f0a44b9a5c95 100644 --- a/README.md +++ b/README.md @@ -341,6 +341,8 @@ Options: Avoid writing any fixed files back; instead, output a diff for each changed file to stdout -n, --no-cache Disable cache reads + --isolated + Ignore all configuration files --select