mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 12:55:05 +00:00
[flake8-use-pathlib
] Stabilize os-listdir
(PTH208
) (#16642)
Summary -- Stabilizes PTH208. The test was already in the right place, and the docs look good. Test Plan -- 0 issues and PRs, open or closed
This commit is contained in:
parent
64b248ccfc
commit
f48bc3aea1
1 changed files with 1 additions and 1 deletions
|
@ -922,7 +922,7 @@ pub fn code_to_rule(linter: Linter, code: &str) -> Option<(RuleGroup, Rule)> {
|
|||
(Flake8UsePathlib, "205") => (RuleGroup::Stable, rules::flake8_use_pathlib::rules::OsPathGetctime),
|
||||
(Flake8UsePathlib, "206") => (RuleGroup::Stable, rules::flake8_use_pathlib::rules::OsSepSplit),
|
||||
(Flake8UsePathlib, "207") => (RuleGroup::Stable, rules::flake8_use_pathlib::rules::Glob),
|
||||
(Flake8UsePathlib, "208") => (RuleGroup::Preview, rules::flake8_use_pathlib::violations::OsListdir),
|
||||
(Flake8UsePathlib, "208") => (RuleGroup::Stable, rules::flake8_use_pathlib::violations::OsListdir),
|
||||
(Flake8UsePathlib, "210") => (RuleGroup::Preview, rules::flake8_use_pathlib::rules::InvalidPathlibWithSuffix),
|
||||
|
||||
// flake8-logging-format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue