File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1+ # yamllint configuration file: https://yamllint.readthedocs.io/
2+ extends : relaxed
3+
4+ rules :
5+ line-length : disable
6+
Original file line number Diff line number Diff line change 11# Directories
22SRC_PATHS := project_name/ test/ # TODO
3+ YAML_PATHS := .github/
34
45# Targets
56.PHONY : help
910 @echo " format : Format code using Ruff format"
1011 @echo " check_format : Check code formatting with Ruff format"
1112 @echo " ruff : Run Ruff linter"
13+ @echo " yamllint : Run yamllint linter"
1214 @echo " pylint : Run Pylint linter"
1315 @echo " mypy : Run MyPy static type checker"
1416 @echo " lint : Run linters (Ruff, Pylint and Mypy)"
3638 @echo " =====> Running Ruff..."
3739 @poetry run ruff check $(SRC_PATHS )
3840
41+ .PHONY : yamllint
42+ yamllint :
43+ @echo " =====> Running yamllint..."
44+ @poetry run yamllint $(YAML_PATHS )
45+
3946.PHONY : pylint
4047pylint :
4148 @echo " =====> Running Pylint..."
4754 @poetry run mypy $(SRC_PATHS )
4855
4956.PHONY : lint
50- lint : ruff pylint mypy
57+ lint : ruff yamllint pylint mypy
5158
5259.PHONY : test
5360test :
Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ pytest = "*"
1313
1414[tool .poetry .group .dev .dependencies ]
1515mypy = " *"
16- ruff = " *"
1716pylint = " *"
17+ ruff = " *"
18+ yamllint = " *"
1819
1920[tool .ruff ]
2021line-length = 100
You can’t perform that action at this time.
0 commit comments