Skip to content

Commit

Permalink
Add empty stubs for Django __init__ files (#321)
Browse files Browse the repository at this point in the history
Summary:
While Pyre seems to handle the absence of `__init__.pyi` well, there can
be problems with other type checkers that use its Django stubs. Adding
these stub files makes the others discoverable, much like adding empty
`__init__.py` files to Python packages.

Pull Request resolved: #321

Reviewed By: sinancepel

Differential Revision: D24278299

Pulled By: gbleaney

fbshipit-source-id: 697e896570e45fe274669d09860b441df802a1bb
  • Loading branch information
dirn authored and facebook-github-bot committed Nov 6, 2020
1 parent 3a3c2ef commit 7849a3d
Show file tree
Hide file tree
Showing 24 changed files with 0 additions and 0 deletions.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added stubs/django/core/__init__.pyi
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added stubs/django/utils/__init__.pyi
Empty file.
Empty file.
Empty file.
Empty file added stubs/django/views/__init__.pyi
Empty file.
Empty file.

0 comments on commit 7849a3d

Please sign in to comment.