Logo
Explore Help
Register Sign In
yujunjun/autogen
1
0
Fork 0
You've already forked autogen
mirror of https://github.com/microsoft/autogen.git synced 2025-07-27 02:41:12 +00:00
Code Issues Packages Projects Releases Wiki Activity
autogen/scripts/pre-commit-mypy-run.sh

16 lines
272 B
Bash
Raw Normal View History

Add mypy to pre-commit (#2068) * 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>
2024-03-20 03:01:16 +01:00
#!/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 in pre-commit fixed (#2117) * mypy in pre-commit fixed * polishing
2024-03-21 19:54:39 +01:00
pip install -q -e .[types]
Add mypy to pre-commit (#2068) * 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>
2024-03-20 03:01:16 +01:00
mypy
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 695ms Template: 43ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API