Skip to content

Mypy will not automatically check files with multiple dots in their names #9833

Closed
@jacksonokuhn

Description

@jacksonokuhn

Bug Report

Files with names of the form x.y.py don't get checked by mypy.

To Reproduce

mkdir mypy-test
touch mypy-test/a.py
touch mypy-test/a.b.py
mypy mypy-test

Expected Behavior

You'd expect mypy to check two source files with the message Success: no issues found in 2 source files

Actual Behavior

Mypy only checks one source file: Success: no issues found in 1 source file

Your Environment

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrong

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions