-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dcreager/alist-for-live-bds
* main: (38 commits) [red-knot] Use arena-allocated association lists for narrowing constraints (#16306) [red-knot] Rewrite `Type::try_iterate()` to improve type inference and diagnostic messages (#16321) Add issue templates (#16213) Normalize inconsistent markdown headings in docstrings (#16364) [red-knot] Better diagnostics for method calls (#16362) [red-knot] Add argfile and windows glob path support (#16353) [red-knot] Handle pipe-errors gracefully (#16354) Rename `venv-path` to `python` (#16347) [red-knot] Fixup some formatting in `infer.rs` (#16348) [red-knot] Restrict visibility of more things in `class.rs` (#16346) [red-knot] Add diagnostic for class-object access to pure instance variables (#16036) Add `per-file-target-version` option (#16257) [PLW1507] Mark fix unsafe (#16343) [red-knot] Add a test to ensure that `KnownClass::try_from_file_and_name()` is kept up to date (#16326) Extract class and instance types (#16337) Re-order changelog entries for 0.9.7 (#16344) [red-knot] Add support for `@classmethod`s (#16305) Update Salsa (#16338) Update Salsa part 1 (#16340) Upgrade Rust toolchain to 1.85.0 (#16339) ...
- Loading branch information
Showing
244 changed files
with
8,094 additions
and
2,972 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Bug report | ||
description: Report an error or unexpected behavior | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for taking the time to report an issue! We're glad to have you involved with Ruff. | ||
**Before reporting, please make sure to search through [existing issues](https://github.com/astral-sh/ruff/issues?q=is:issue+is:open+label:bug) (including [closed](https://github.com/astral-sh/ruff/issues?q=is:issue%20state:closed%20label:bug)).** | ||
- type: textarea | ||
attributes: | ||
label: Summary | ||
description: | | ||
A clear and concise description of the bug, including a minimal reproducible example. | ||
Be sure to include the command you invoked (e.g., `ruff check /path/to/file.py --fix`), ideally including the `--isolated` flag and | ||
the current Ruff settings (e.g., relevant sections from your `pyproject.toml`). | ||
If possible, try to include the [playground](https://play.ruff.rs) link that reproduces this issue. | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
attributes: | ||
label: Version | ||
description: What version of ruff are you using? (see `ruff version`) | ||
placeholder: e.g., ruff 0.9.3 (90589372d 2025-01-23) | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Rule request | ||
description: Anything related to lint rules (proposing new rules, changes to existing rules, auto-fixes, etc.) | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Summary | ||
description: | | ||
A clear and concise description of the relevant request. If applicable, please describe the current behavior as well. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Question | ||
description: Ask a question about Ruff | ||
labels: ["question"] | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Question | ||
description: Describe your question in detail. | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
attributes: | ||
label: Version | ||
description: What version of ruff are you using? (see `ruff version`) | ||
placeholder: e.g., ruff 0.9.3 (90589372d 2025-01-23) | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
# This file cannot use the extension `.yaml`. | ||
blank_issues_enabled: false | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Documentation | ||
url: https://docs.astral.sh/ruff | ||
about: Please consult the documentation before creating an issue. | ||
- name: Community | ||
url: https://discord.com/invite/astral-sh | ||
about: Join our Discord community to ask questions and collaborate. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.