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

MyPy Linting Errors #7

Open
ModeSevenIndustrialSolutions opened this issue May 14, 2024 · 0 comments
Open

MyPy Linting Errors #7

ModeSevenIndustrialSolutions opened this issue May 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ModeSevenIndustrialSolutions
Copy link
Contributor

ModeSevenIndustrialSolutions commented May 14, 2024

mypy.....................................................................Failed
- hook id: mypy
- duration: 13.53s
- exit code: 1

Installing missing stub packages:
/Users/mwatkins/.cache/pre-commit/repo34e38r3y/py_env-python3.10/bin/python -m pip install types-PyYAML

Collecting types-PyYAML
  Using cached types_PyYAML-6.0.12.20240311-py3-none-any.whl.metadata (1.5 kB)
Using cached types_PyYAML-6.0.12.20240311-py3-none-any.whl (15 kB)
Installing collected packages: types-PyYAML
Successfully installed types-PyYAML-6.0.12.20240311

src/state.py:13: error: Need type annotation for "global_state" (hint: "global_state: dict[<type>, <type>] = ...")  [var-annotated]
src/state.py:15: error: Function "builtins.any" is not valid as a type  [valid-type]
src/state.py:15: note: Perhaps you meant "typing.Any" instead of "any"?
Found 2 errors in 1 file (checked 4 source files)

@ModeSevenIndustrialSolutions ModeSevenIndustrialSolutions added the bug Something isn't working label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant