Skip to content

Commit

Permalink
Restore quick fixes for playground
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Dec 30, 2022
1 parent f735660 commit bde12c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib_wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,18 @@ pub fn defaultSettings() -> Result<JsValue, JsValue> {
extend_ignore: Some(Vec::default()),
extend_select: Some(Vec::default()),
external: Some(Vec::default()),
fixable: Some(Vec::default()),
ignore: Some(Vec::default()),
line_length: Some(88),
select: Some(vec![CheckCodePrefix::E, CheckCodePrefix::F]),
target_version: Some(PythonVersion::default()),
unfixable: Some(Vec::default()),
// Ignore a bunch of options that don't make sense in a single-file editor.
cache_dir: None,
exclude: None,
extend: None,
extend_exclude: None,
fix: None,
fix_only: None,
fixable: None,
force_exclude: None,
format: None,
ignore_init_module_imports: None,
Expand All @@ -104,6 +103,7 @@ pub fn defaultSettings() -> Result<JsValue, JsValue> {
respect_gitignore: None,
show_source: None,
src: None,
unfixable: None,
update_check: None,
// Use default options for all plugins.
flake8_annotations: Some(flake8_annotations::settings::Settings::default().into()),
Expand Down

0 comments on commit bde12c3

Please sign in to comment.