Comments (5)
Should be fixed now! Thanks for reporthing this.
from ipromise.
Fixed thanks
from ipromise.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipromise.