Skip to content

jan-szejko-steelseries/django-stubs-bug-showcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a minimal example for a bug in django-stubs.

Preparation

  1. Create and activate a virtualenv (tested with Python 3.7 and 3.8)
  2. Install requirements
pip install -r requirements.txt
  1. Run mypy on baz.py
mypy my_app/models/baz.py

Output

my_app/models/baz.py:106: error: Name "Sequence" is not defined
Found 1 error in 1 file (checked 1 source file)

It makes no sense, because baz.py is 12 lines long and the name Sequence does not appear anywhere in the project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages