Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

pytest fails with ImportError when Typer is present #68

Description

@malandrina

Steps to reproduce:

  1. rm -rf tests/fixtures/ineligible to make tests/nuanced/code_graph_test::test_init_with_no_eligible_files_returns_errors fail
  2. Run pytest and confirm test_init_with_no_eligible_files_returns_errors fails with ImportError: cannot import name 'PythonLexer' from 'pygments.lexers.python'
  3. Run the following commands to remove Typer from the virtual env and reactivate:
% deactivate
% uv remove typer
% source .venv/bin/activate
  1. Run pytest and confirm test_init_with_no_eligible_files_returns_errors fails with AssertionError

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions