Skip to content

dmypy not respecting changes to inline mypy configuration #12069

@christianbundy

Description

@christianbundy

Bug Report

When using inline mypy rules (e.g. # mypy: ignore_errors) with dmypy, changes to the inline rule are not reflected in the output of dmypy.

To Reproduce

(Write your steps here:)

  1. Add # mypy: ignore_errors at the top of a file with errors
  2. Start dmypy
  3. Remove # mypy: ignore_errors

Expected Behavior

The errors should be displayed.

Actual Behavior

The errors are not displayed until dmypy is restarted.

Your Environment

  • Mypy version used: 0.931
  • Mypy command-line flags: N/A
  • Mypy configuration options from mypy.ini (and other config files):
  • Python version used: 3.9.9
  • Operating system and version: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions