Coder Social home page Coder Social logo

tensorflow-stubs's People

Contributors

aapeliv avatar acvander avatar shuttle1987 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tensorflow-stubs's Issues

Pipenv locking taking forever

$ pipenv install
Pipfile.lock (b9c44e) out of date, updating to (ec4b23)...
Locking [dev-packages] dependencies...

Then it gets stuck for quite a while.

Fix fail_example.py

When run outside the test runner you get this:

$ mypy tests/fail/fail_example.py 
tests/fail/fail_example.py:6: error: No overload variant of "int" matches argument type "Dict[Any, Any]"
tests/fail/fail_example.py:6: note: Possible overload variant:
tests/fail/fail_example.py:6: note:     def int(self, x: Union[str, bytes, SupportsInt] = ...) -> int
tests/fail/fail_example.py:6: note:     <1 more non-matching overload not shown>

When run in the test runner the lines starting with "note" cause problems with the tests.

            if "# E:" in target_line:
                marker = target_line.split("# E:")[-1].strip()
                assert lineno in errors, f'Extra error "{marker}"'
                assert marker in errors[lineno]
            else:
>               pytest.fail(f'Error {repr(errors[lineno])} not found')
E               Failed: Error 'tests/fail/fail_example.py:6: note:     def int(self, x: Union[str, unicode, bytearray], base: int = ...) -> int' not found

Helping out

Hi,
Is this project still being developed? If so, I would be happy to help out. I've started looking at solving the testing, but is there anything I need to do for submitting a pull request? @shuttle1987

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.