GithubHelp home page GithubHelp logo

Comments (6)

dark avatar dark commented on April 24, 2024 1

The fix was released in 0.0.7, uploaded to Pypi a few hours ago.

from pyre-check.

gnprice avatar gnprice commented on April 24, 2024

For comparison, here's what mypy reports for the same file, by default. (The normal mypy run for Zulip uses the config flag ignore_missing_imports = True, which suppresses exactly this sort of error.)

zerver/apps.py:5: error: No library stub file for module 'django.apps'
zerver/apps.py:6: error: No library stub file for module 'django.conf'
zerver/apps.py:7: error: No library stub file for module 'django.core.cache'
zerver/apps.py:8: error: No library stub file for module 'django.db.models.signals'

Those messages refer to the lines

from django.apps import AppConfig
from django.conf import settings
from django.core.cache import cache
from django.db.models.signals import post_migrate

and that seems a lot easier to interpret.

from pyre-check.

sinancepel avatar sinancepel commented on April 24, 2024

Hey Greg, thanks for the report - we currently error at the time of module dereference, but it's certainly worth considering.

from pyre-check.

sinancepel avatar sinancepel commented on April 24, 2024

With the following change in trunk, we now report on unresolved imports: 8e6e4cf

from pyre-check.

a-rmz avatar a-rmz commented on April 24, 2024

@sinancepel is the change already in the release? Or when will it be released? I'm using version 0.0.6 and I'm getting the same error (18).

from pyre-check.

a-rmz avatar a-rmz commented on April 24, 2024

Amazing! Thanks @dark! 😄

from pyre-check.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.