From 6fe404a40f621963f648834113f272c8c6969019 Mon Sep 17 00:00:00 2001 From: InSync Date: Wed, 22 Jan 2025 14:48:34 +0700 Subject: [PATCH] Bring back issue template (#15651) --- .github/ISSUE_TEMPLATE/config.yml | 2 ++ .github/ISSUE_TEMPLATE/issue.yaml | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/issue.yaml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000000..3163fd16e960f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,2 @@ +# This file cannot use the extension `.yaml`. +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/issue.yaml b/.github/ISSUE_TEMPLATE/issue.yaml new file mode 100644 index 0000000000000..44f25e284f82c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue.yaml @@ -0,0 +1,22 @@ +name: New issue +description: A generic issue + +body: + - type: markdown + attributes: + value: | + Thank you for taking the time to report an issue! We're glad to have you involved with Ruff. + + If you're filing a bug report, please consider including the following information: + + * List of keywords you searched for before creating this issue. Write them down here so that others can find this issue more easily and help provide feedback. + e.g. "RUF001", "unused variable", "Jupyter notebook" + * A minimal code snippet that reproduces the bug. + * 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`). + + - type: textarea + attributes: + label: Description + description: A description of the issue