Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions codemcp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ project_prompt = '''
format = ["./run_format.sh"]
lint = ["./run_lint.sh"]
ghstack = ["uv", "tool", "run", "ghstack"]
typecheck = ["./run_typecheck.sh"]
[commands.test]
command = ["./run_test.sh"]
doc = "Accepts a pytest-style test selector as an argument to run a specific test."
Expand Down
6 changes: 4 additions & 2 deletions run_typecheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
set -e

echo "Running Pyright type checker with strict settings..."
python -m pyright codemcp
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR"
"${SCRIPT_DIR}/.venv/bin/python" -m pyright $@

echo "Type checking completed successfully!"
echo "Type checking completed successfully!"
Loading