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