Skip to content

Commit 7aba017

Browse files
committed
chore: remove mypy and ruff from Makefile
- remove lint, lint-check and format targets from Makefile - clean obsolete variables in Makefile
1 parent 55885ba commit 7aba017

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

Makefile

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
PY_FILES=fluster scripts
21
CONTRIB_DIR=contrib
32
DECODERS_DIR=decoders
43
PYTHONPATH=.
@@ -16,7 +15,7 @@ help:
1615
install_deps: ## install Python dependencies
1716
python3 -m pip install -r requirements.txt
1817

19-
check: lint-check ## check that very basic tests run
18+
check: ## check that very basic tests run
2019
@echo "Running dummy test..."
2120
$(FLUSTER) list
2221
$(FLUSTER) list -c
@@ -50,18 +49,6 @@ ifneq ($(OS),Windows_NT)
5049
endif
5150
@echo "\nAll test finished succesfully!"
5251

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-
6552
create_dirs=mkdir -p $(CONTRIB_DIR) $(DECODERS_DIR)
6653

6754
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-%:
195182
echo "Value of $* = $($*)"
196183

197184
.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

Comments
 (0)