|
1 | | -PY_FILES=fluster scripts |
2 | 1 | CONTRIB_DIR=contrib |
3 | 2 | DECODERS_DIR=decoders |
4 | 3 | PYTHONPATH=. |
|
16 | 15 | install_deps: ## install Python dependencies |
17 | 16 | python3 -m pip install -r requirements.txt |
18 | 17 |
|
19 | | -check: lint-check ## check that very basic tests run |
| 18 | +check: ## check that very basic tests run |
20 | 19 | @echo "Running dummy test..." |
21 | 20 | $(FLUSTER) list |
22 | 21 | $(FLUSTER) list -c |
@@ -50,18 +49,6 @@ ifneq ($(OS),Windows_NT) |
50 | 49 | endif |
51 | 50 | @echo "\nAll test finished succesfully!" |
52 | 51 |
|
53 | | -format: ## format python code |
54 | | - @echo "Formatting coding style with ruff..." |
55 | | - ruff format $(PY_FILES) |
56 | | - |
57 | | -lint: ## run static python code analysis - fix issues (manual fix, complements pre-commit) |
58 | | - @echo "Linting and fixing issues with ruff... " |
59 | | - ruff check --fix $(PY_FILES) |
60 | | - |
61 | | -lint-check: ## run static python code analysis - does not apply fixes |
62 | | - @echo "Checking static types with mypy..." |
63 | | - mypy --strict $(PY_FILES) |
64 | | - |
65 | 52 | create_dirs=mkdir -p $(CONTRIB_DIR) $(DECODERS_DIR) |
66 | 53 |
|
67 | 54 | all_reference_decoders: h264_reference_decoder h265_reference_decoder h266_reference_decoder mpeg_2_aac_reference_decoder mpeg_4_aac_reference_decoder ## build all reference decoders |
@@ -195,4 +182,4 @@ dbg-%: |
195 | 182 | echo "Value of $* = $($*)" |
196 | 183 |
|
197 | 184 | .PHONY: help all_reference_decoders h264_reference_decoder h265_reference_decoder h266_reference_decoder\ |
198 | | -mpeg_4_aac_reference_decoder mpeg_2_aac_reference_decoder check format lint lint-check install_deps clean |
| 185 | +mpeg_4_aac_reference_decoder mpeg_2_aac_reference_decoder check install_deps clean |
0 commit comments