code: def test_was_selected_excludes_errors(select_list, error_code):
      """Verify we detect users implicitly excludes an error."""
      decider = style_guide.DecisionEngine(
          create_options(select=select_list)
      )
  
      assert (
          decider.was_selected(error_code)
          is style_guide.Ignored.Implicitly
      )
  
file_path: flake8/tests/unit/test_decision_engine.py
imports: from __future__ import annotations
  import argparse
  import pytest
  from flake8 import style_guide
label_desc: Use image node_id 6 for calling a global function with example usage: test_was_selected_excludes_errors(select_list, error_code) without return types