File tree Expand file tree Collapse file tree 5 files changed +47
-16
lines changed
Expand file tree Collapse file tree 5 files changed +47
-16
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
Original file line number Diff line number Diff line change 11# Directories
22SRC_PATHS := open_image_models/ test/
3+ YAML_PATHS := .github/ mkdocs.yml
34
45# Tasks
56.PHONY : help
1011 @echo " format : Format code using Ruff format"
1112 @echo " check_format : Check code formatting with Ruff format"
1213 @echo " ruff : Run Ruff linter"
14+ @echo " yamllint : Run yamllint linter"
1315 @echo " pylint : Run Pylint linter"
1416 @echo " mypy : Run MyPy static type checker"
1517 @echo " lint : Run linters (Ruff, Pylint and Mypy)"
4143 @echo " =====> Running Ruff..."
4244 @poetry run ruff check $(SRC_PATHS )
4345
46+ .PHONY : yamllint
47+ yamllint :
48+ @echo " =====> Running yamllint..."
49+ @poetry run yamllint $(YAML_PATHS )
50+
4451.PHONY : pylint
4552pylint :
4653 @echo " =====> Running Pylint..."
5259 @poetry run mypy $(SRC_PATHS )
5360
5461.PHONY : lint
55- lint : ruff pylint mypy
62+ lint : ruff yamllint pylint mypy
5663
5764.PHONY : test
5865test :
Original file line number Diff line number Diff line change @@ -35,19 +35,19 @@ plugins:
3535 handlers :
3636 python :
3737 paths : [ open_image_models ]
38- options :
39- members_order : source
40- separate_signature : true
41- filters : [ "!^_" ]
42- docstring_options :
43- ignore_init_summary : true
44- show_signature : true
45- show_source : true
46- heading_level : 2
47- show_root_full_path : false
48- merge_init_into_class : true
49- show_signature_annotations : true
50- signature_crossrefs : true
38+ options :
39+ members_order : source
40+ separate_signature : true
41+ filters : [ "!^_" ]
42+ docstring_options :
43+ ignore_init_summary : true
44+ show_signature : true
45+ show_source : true
46+ heading_level : 2
47+ show_root_full_path : false
48+ merge_init_into_class : true
49+ show_signature_annotations : true
50+ signature_crossrefs : true
5151extra :
5252 version :
5353 provider : mike
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " open-image-models"
3- version = " 0.3.0 "
3+ version = " 0.3.1 "
44description = " Pre-trained image models using ONNX for fast, out-of-the-box inference."
55authors = [
" ankandrew <[email protected] >" ]
66readme = " README.md"
@@ -57,6 +57,7 @@ requests = "^2.32.3"
5757mypy = " *"
5858ruff = " *"
5959pylint = " *"
60+ yamllint = " *"
6061
6162[tool .poetry .group .docs .dependencies ]
6263mkdocs-material = " *"
You can’t perform that action at this time.
0 commit comments