Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pre-commit failure #71

Open
mpkocher opened this issue Sep 20, 2024 · 0 comments
Open

Fix pre-commit failure #71

mpkocher opened this issue Sep 20, 2024 · 0 comments

Comments

@mpkocher
Copy link
Owner

Requirements:

  • pre-commit mypy step shouldn't be failing.

Details:

The pre-commit for mypy is failing consistently.

mypy.....................................................................Failed
- hook id: mypy
- exit code: 1

pydantic_cli/core.py:21: error: Unexpected keyword argument "total" for "__init_subclass__" of "object"  [call-arg]
/home/runner/.cache/pre-commit/repou89l81u5/py_env-python3.12/lib/python3.12/site-packages/mypy/typeshed/stdlib/builtins.pyi:124: note: "__init_subclass__" of "object" defined here
pydantic_cli/__init__.py:328: error: Statement is unreachable  [unreachable]
Found 2 errors in 2 files (checked 37 source files)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant