When I run precommit on the master branch, I am getting an error with mypy. This error is flagged in the CI tests as well. I guess it must be a dependency update or something.
Expected Behavior
The master branch should pass all checks
Steps To Reproduce
Checkout the master branch
Clean existing pre-commit venv (pre-commit clean)
Create new pre-commit venv (pre-commit)
Run pre-commit (pre-commit run --all-files --show-diff-on-failure)
Log output
$ pre-commit run --all-files --show-diff-on-failure
trim trailing whitespace.................................................Passed
check for added large files..............................................Passed
check python ast.........................................................Passed
check json...............................................................Passed
check for merge conflicts................................................Passed
check xml............................................(no files to check)Skipped
check yaml...............................................................Passed
debug statements (python)................................................Passed
fix end of files.........................................................Passed
fix requirements.txt.....................................................Passed
mixed line ending........................................................Passed
isort....................................................................Passed
black....................................................................Passed
flake8...................................................................Passed
mypy.....................................................................Failed
- hook id: mypy
- exit code: 2
/home/trevorb1/.cache/pre-commit/repob2gs40mo/py_env-python3.11/lib/python3.11/site-packages/yaml-stubs/emitter.pyi:11: error: Positional-only parameters are only supported in Python 3.8 and greater
Found 1 error in 1 file (errors prevented further checking)
The Issue
When I run precommit on the master branch, I am getting an error with mypy. This error is flagged in the CI tests as well. I guess it must be a dependency update or something.
Expected Behavior
The master branch should pass all checks
Steps To Reproduce
pre-commit clean
)pre-commit
)pre-commit run --all-files --show-diff-on-failure
)Log output
Operating System
Linux
What version of otoole are you running?
1.1.2.post1.dev21+g551b8bf.d20240213
Possible Solution
No response
Anything else?
No response