mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:22:24 +00:00
Add tests for python version compatibility (#14430)
This commit is contained in:
parent
d81b6cd334
commit
1f07880d5c
5 changed files with 80 additions and 2 deletions
|
@ -68,6 +68,10 @@ impl PythonVersion {
|
|||
Self::Py313
|
||||
}
|
||||
|
||||
pub const fn minimal_supported() -> Self {
|
||||
Self::Py37
|
||||
}
|
||||
|
||||
pub const fn as_tuple(&self) -> (u8, u8) {
|
||||
match self {
|
||||
Self::Py37 => (3, 7),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue