diff --git a/playground/src/constants.ts b/playground/src/constants.ts index 97e44d5d76..76def0adc4 100644 --- a/playground/src/constants.ts +++ b/playground/src/constants.ts @@ -1,5 +1,3 @@ -import { AVAILABLE_OPTIONS } from "./ruff_options"; - export const DEFAULT_PYTHON_SOURCE = "import os\n" + "\n" + diff --git a/src/flake8_tidy_imports/checks.rs b/src/flake8_tidy_imports/checks.rs index 59ac51a535..54b936ce2a 100644 --- a/src/flake8_tidy_imports/checks.rs +++ b/src/flake8_tidy_imports/checks.rs @@ -34,7 +34,7 @@ pub fn name_is_banned( name: &Alias, banned_apis: &FxHashMap, ) -> Option { - let full_name = format!("{}.{}", module, &name.node.name); + let full_name = format!("{module}.{}", &name.node.name); if let Some(ban) = banned_apis.get(&full_name) { return Some(Check::new( CheckKind::BannedApi {