mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-30 20:32:57 +00:00

* Add mypy check in pre-commit * Add mypy check in pre-commit * bug fix * CI fix * add python version matrix for checking types in CI * added 3.12 to CI --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
14 lines
244 B
Bash
Executable File
14 lines
244 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# taken from: https://jaredkhan.com/blog/mypy-pre-commit
|
|
|
|
# A script for running mypy,
|
|
# with all its dependencies installed.
|
|
|
|
set -o errexit
|
|
|
|
# Change directory to the project root directory.
|
|
cd "$(dirname "$0")"/..
|
|
|
|
mypy
|