File tree Expand file tree Collapse file tree 21 files changed +105
-42
lines changed
Expand file tree Collapse file tree 21 files changed +105
-42
lines changed Original file line number Diff line number Diff line change 1- .PHONY : all format lint test tests test_watch integration_tests help extended_tests check_version
1+ .PHONY : all format lint typing test tests test_watch integration_tests help extended_tests check_version
22
33# Default target executed when no arguments are given to make.
44all : help
@@ -57,7 +57,9 @@ lint lint_diff lint_package lint_tests:
5757 ./scripts/lint_imports.sh
5858 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff check $(PYTHON_FILES )
5959 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES ) --diff
60- [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
60+
61+ typing :
62+ mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
6163
6264format format_diff :
6365 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES )
7476 @echo ' ----'
7577 @echo ' format - run code formatters'
7678 @echo ' lint - run linters'
79+ @echo ' typing - run type checking'
7780 @echo ' check_version - validate version consistency'
7881 @echo ' test - run unit tests'
7982 @echo ' tests - run unit tests'
Original file line number Diff line number Diff line change 1- .PHONY : all coverage test tests extended_tests test_watch test_watch_extended integration_tests check_imports lint format lint_diff format_diff lint_package lint_tests help
1+ .PHONY : all coverage test tests extended_tests test_watch test_watch_extended integration_tests check_imports lint format typing lint_diff format_diff lint_package lint_tests help
22
33# Default target executed when no arguments are given to make.
44all : help
@@ -56,7 +56,9 @@ lint lint_diff lint_package lint_tests:
5656 ./scripts/lint_imports.sh
5757 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff check $(PYTHON_FILES )
5858 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES ) --diff
59- [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
59+
60+ typing :
61+ mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
6062
6163format format_diff :
6264 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES )
7173 @echo ' -- LINTING --'
7274 @echo ' format - run code formatters'
7375 @echo ' lint - run linters'
76+ @echo ' typing - run type checking'
7477 @echo ' -- TESTS --'
7578 @echo ' coverage - run unit tests and generate coverage report'
7679 @echo ' test - run unit tests'
Original file line number Diff line number Diff line change 1- .PHONY : all start_services stop_services coverage coverage_agents test test_fast extended_tests test_watch test_watch_extended integration_tests check_imports check_version lint format lint_diff format_diff lint_package lint_tests help
1+ .PHONY : all start_services stop_services coverage coverage_agents test test_fast extended_tests test_watch test_watch_extended integration_tests check_imports check_version lint format typing lint_diff format_diff lint_package lint_tests help
22
33# Default target executed when no arguments are given to make.
44all : help
@@ -88,7 +88,9 @@ lint_tests: MYPY_CACHE=.mypy_cache_test
8888lint lint_diff lint_package lint_tests :
8989 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff check $(PYTHON_FILES )
9090 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES ) --diff
91- [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
91+
92+ typing :
93+ mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
9294
9395format format_diff :
9496 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES )
@@ -103,6 +105,7 @@ help:
103105 @echo ' -- LINTING --'
104106 @echo ' format - run code formatters'
105107 @echo ' lint - run linters'
108+ @echo ' typing - run type checking'
106109 @echo ' check_version - validate version consistency'
107110 @echo ' -- TESTS --'
108111 @echo ' coverage - run unit tests and generate coverage report'
Original file line number Diff line number Diff line change 1- .PHONY : all format lint test tests integration_tests help extended_tests
1+ .PHONY : all format lint typing test tests integration_tests help extended_tests
22
33# Default target executed when no arguments are given to make.
44all : help
@@ -41,7 +41,9 @@ lint_tests: MYPY_CACHE=.mypy_cache_test
4141lint lint_diff lint_package lint_tests :
4242 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff check $(PYTHON_FILES )
4343 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES ) --diff
44- [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
44+
45+ typing :
46+ mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
4547
4648format format_diff :
4749 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES )
5961 @echo ' check_imports - check imports'
6062 @echo ' format - run code formatters'
6163 @echo ' lint - run linters'
64+ @echo ' typing - run type checking'
6265 @echo ' test - run unit tests'
6366 @echo ' tests - run unit tests'
6467 @echo ' test TEST_FILE=<test_file> - run all tests in file'
Original file line number Diff line number Diff line change 1- .PHONY : all format lint test tests integration_tests help extended_tests
1+ .PHONY : all format lint typing test tests integration_tests help extended_tests
22
33# Default target executed when no arguments are given to make.
44all : help
@@ -39,7 +39,9 @@ lint_tests: MYPY_CACHE=.mypy_cache_test
3939lint lint_diff lint_package lint_tests :
4040 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff check $(PYTHON_FILES )
4141 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES ) --diff
42- [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
42+
43+ typing :
44+ mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
4345
4446format format_diff :
4547 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES )
5759 @echo ' check_imports - check imports'
5860 @echo ' format - run code formatters'
5961 @echo ' lint - run linters'
62+ @echo ' typing - run type checking'
6063 @echo ' test - run unit tests'
6164 @echo ' tests - run unit tests'
6265 @echo ' test TEST_FILE=<test_file> - run all tests in file'
Original file line number Diff line number Diff line change 1- .PHONY : all format lint test tests integration_tests help extended_tests
1+ .PHONY : all format lint typing test tests integration_tests help extended_tests
22
33# Default target executed when no arguments are given to make.
44all : help
@@ -37,7 +37,9 @@ lint_tests: MYPY_CACHE=.mypy_cache_test
3737lint lint_diff lint_package lint_tests :
3838 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff check $(PYTHON_FILES )
3939 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES ) --diff
40- [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
40+
41+ typing :
42+ mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
4143
4244format format_diff :
4345 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES )
5557 @echo ' check_imports - check imports'
5658 @echo ' format - run code formatters'
5759 @echo ' lint - run linters'
60+ @echo ' typing - run type checking'
5861 @echo ' test - run unit tests'
5962 @echo ' tests - run unit tests'
6063 @echo ' test TEST_FILE=<test_file> - run all tests in file'
Original file line number Diff line number Diff line change 1- .PHONY : all format lint test tests integration_tests help extended_tests
1+ .PHONY : all format lint typing test tests integration_tests help extended_tests
22
33# Default target executed when no arguments are given to make.
44all : help
@@ -38,7 +38,9 @@ lint_tests: MYPY_CACHE=.mypy_cache_test
3838lint lint_diff lint_package lint_tests :
3939 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff check $(PYTHON_FILES )
4040 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES ) --diff
41- [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
41+
42+ typing :
43+ mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
4244
4345format format_diff :
4446 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES )
5658 @echo ' check_imports - check imports'
5759 @echo ' format - run code formatters'
5860 @echo ' lint - run linters'
61+ @echo ' typing - run type checking'
5962 @echo ' test - run unit tests'
6063 @echo ' tests - run unit tests'
6164 @echo ' test TEST_FILE=<test_file> - run all tests in file'
Original file line number Diff line number Diff line change 1- .PHONY : all format lint test tests integration_tests help extended_tests
1+ .PHONY : all format lint typing test tests integration_tests help extended_tests
22
33# Default target executed when no arguments are given to make.
44all : help
@@ -37,7 +37,9 @@ lint_tests: MYPY_CACHE=.mypy_cache_test
3737lint lint_diff lint_package lint_tests :
3838 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff check $(PYTHON_FILES )
3939 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES ) --diff
40- [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
40+
41+ typing :
42+ mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
4143
4244format format_diff :
4345 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES )
5557 @echo ' check_imports - check imports'
5658 @echo ' format - run code formatters'
5759 @echo ' lint - run linters'
60+ @echo ' typing - run type checking'
5861 @echo ' test - run unit tests'
5962 @echo ' tests - run unit tests'
6063 @echo ' test TEST_FILE=<test_file> - run all tests in file'
Original file line number Diff line number Diff line change 1- .PHONY : all format lint test tests integration_tests help extended_tests
1+ .PHONY : all format lint typing test tests integration_tests help extended_tests
22
33# Default target executed when no arguments are given to make.
44all : help
@@ -36,7 +36,9 @@ lint_tests: MYPY_CACHE=.mypy_cache_test
3636lint lint_diff lint_package lint_tests :
3737 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff check $(PYTHON_FILES )
3838 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES ) --diff
39- [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
39+
40+ typing :
41+ mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
4042
4143format format_diff :
4244 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES )
5456 @echo ' check_imports - check imports'
5557 @echo ' format - run code formatters'
5658 @echo ' lint - run linters'
59+ @echo ' typing - run type checking'
5760 @echo ' test - run unit tests'
5861 @echo ' tests - run unit tests'
5962 @echo ' test TEST_FILE=<test_file> - run all tests in file'
Original file line number Diff line number Diff line change 1- .PHONY : all format lint test tests integration_tests help extended_tests
1+ .PHONY : all format lint typing test tests integration_tests help extended_tests
22
33# Default target executed when no arguments are given to make.
44all : help
@@ -37,7 +37,9 @@ lint_tests: MYPY_CACHE=.mypy_cache_test
3737lint lint_diff lint_package lint_tests :
3838 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff check $(PYTHON_FILES )
3939 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES ) --diff
40- [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
40+
41+ typing :
42+ mkdir -p $(MYPY_CACHE ) && uv run --all-groups mypy $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
4143
4244format format_diff :
4345 [ " $( PYTHON_FILES) " = " " ] || uv run --all-groups ruff format $(PYTHON_FILES )
5557 @echo ' check_imports - check imports'
5658 @echo ' format - run code formatters'
5759 @echo ' lint - run linters'
60+ @echo ' typing - run type checking'
5861 @echo ' test - run unit tests'
5962 @echo ' tests - run unit tests'
6063 @echo ' test TEST_FILE=<test_file> - run all tests in file'
You can’t perform that action at this time.
0 commit comments