Giter VIP home page Giter VIP logo

Comments (5)

NeilGirdhar avatar NeilGirdhar commented on August 22, 2024 1

Should be fixed now! Thanks for reporthing this.

from ipromise.

NeilGirdhar avatar NeilGirdhar commented on August 22, 2024 1

Fixed thanks

from ipromise.

jtmoon79 avatar jtmoon79 commented on August 22, 2024

mypy passed for source files at ipromise/ πŸ™‚

$ python -m poetry run mypy ipromise/
Success: no issues found in 6 source files

mypy failed for test files at test/ πŸ™

$ python -m poetry run mypy test/
test/test_overrides.py:4: error: Skipping analyzing "pytest": module is installed, but missing library stubs or py.typed marker  [import]
test/test_overrides.py:26: error: Function is missing a return type annotation  [no-untyped-def]
test/test_overrides.py:26: note: Use "-> None" if function does not return a value
test/test_overrides.py:162: error: Cannot instantiate abstract class "AbstractBaseClassHasAbstractMethod" with abstract attribute "f"  [abstract]
test/test_overrides.py:171: error: Function is missing a return type annotation  [no-untyped-def]
test/test_overrides.py:171: note: Use "-> None" if function does not return a value
test/test_overrides.py:181: error: Function is missing a return type annotation  [no-untyped-def]
test/test_overrides.py:181: note: Use "-> None" if function does not return a value
test/test_overrides.py:190: error: Function is missing a return type annotation  [no-untyped-def]
test/test_overrides.py:190: note: Use "-> None" if function does not return a value
test/test_implements.py:4: error: Skipping analyzing "pytest": module is installed, but missing library stubs or py.typed marker  [import]
test/test_implements.py:22: error: Function is missing a return type annotation  [no-untyped-def]
test/test_implements.py:22: note: Use "-> None" if function does not return a value
test/test_augments.py:4: error: Skipping analyzing "pytest": module is installed, but missing library stubs or py.typed marker  [import]
test/test_abc.py:4: error: Skipping analyzing "pytest": module is installed, but missing library stubs or py.typed marker  [import]
test/test_abc.py:4: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 10 errors in 4 files (checked 6 source files)

from ipromise.

jtmoon79 avatar jtmoon79 commented on August 22, 2024

I attempted to retest this, but I was unable to update my poetry environment.

$ python -m poetry update
Updating dependencies
Resolving dependencies... (38.4s)

  ValueError

  invalid literal for int() with base 10: b''

  at .venv-3.8.13_ubuntu-22.04_B/lib/python3.8/site-packages/cachy/stores/file_store.py:65 in _get_payload
       61β”‚
       62β”‚         with open(path, 'rb') as fh:
       63β”‚             contents = fh.read()
       64β”‚
    β†’  65β”‚         expire = int(contents[:10])
       66β”‚
       67β”‚         # If the current time is greater than expiration timestamps we will delete
       68β”‚         # the file and return null. This helps clean up the old files and keeps
       69β”‚         # this directory much cleaner for us as old files aren't hanging out.

I'll have to retest mypy some other time.

from ipromise.

NeilGirdhar avatar NeilGirdhar commented on August 22, 2024

Weird. You shouldn't have to updateβ€”just install. And it should definitely work if you pip install poetry off of master.

from ipromise.

Related Issues (4)

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.