Skip to content

Commit

Permalink
Add note about scope of rule changing in versioning policy (#8169)
Browse files Browse the repository at this point in the history
Per some previous discussion, the policy is not clear about what happens
if the behavior is similar but the _scope_ in which a rule is applied
changes.
  • Loading branch information
zanieb authored Oct 24, 2023
1 parent 3bbdfee commit 75bd95e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Ruff uses a custom versioning scheme that uses the **minor** version number for
- Support for a new file type is promoted to stable
- Support for an end-of-life Python version is dropped
- The behavior of a stable rule is changed
- The scope of a stable rule is significantly increased
- The intent of the rule changes
- Does not include bug fixes that follow the original intent of the rule
- Stable rules are added to the default set
- Stable rules are removed from the default set
Expand All @@ -23,6 +25,7 @@ Ruff uses a custom versioning scheme that uses the **minor** version number for
- Bugs are fixed, _including behavior changes that fix bugs_
- An unsafe fix for a rule is added
- A safe fix for a rule is added in preview
- The scope of a rule is increased in preview
- A fix’s applicability is demoted
- A new configuration option is added
- A rule is added in preview
Expand Down

0 comments on commit 75bd95e

Please sign in to comment.