11# Directories
22SRC_PATHS := project_name/ test/ # FIXME
33
4- # Tasks
4+ # Targets
55.PHONY : help
66help :
77 @echo " Available targets:"
88 @echo " help : Show this help message"
99 @echo " format : Format code using Ruff format"
1010 @echo " check_format : Check code formatting with Ruff format"
1111 @echo " ruff : Run Ruff linter"
12+ @echo " pylint : Run Pylint linter"
1213 @echo " mypy : Run MyPy static type checker"
13- @echo " lint : Run Ruff linter and Mypy for static code analysis "
14+ @echo " lint : Run linters ( Ruff, Pylint and Mypy) "
1415 @echo " test : Run tests using pytest"
16+ @echo " checks : Check format, lint, and test"
1517 @echo " clean : Clean up caches and build artifacts"
16- @echo " checks : Run format, lint, and test"
1718
1819.PHONY : format
1920format :
@@ -35,18 +36,23 @@ ruff:
3536 @echo " =====> Running Ruff..."
3637 @poetry run ruff check $(SRC_PATHS )
3738
39+ .PHONY : pylint
40+ pylint :
41+ @echo " =====> Running Pylint..."
42+ @poetry run pylint $(SRC_PATHS )
43+
3844.PHONY : mypy
3945mypy :
4046 @echo " =====> Running Mypy..."
4147 @poetry run mypy $(SRC_PATHS )
4248
4349.PHONY : lint
44- lint : ruff mypy
50+ lint : ruff pylint mypy
4551
4652.PHONY : test
4753test :
4854 @echo " =====> Running tests..."
49- @poetry run pytest
55+ @poetry run pytest test/
5056
5157.PHONY : clean
5258clean :
0 commit comments