Skip to content

Commit c1b91e7

Browse files
authored
Merge pull request #7 from ankandrew/ankandrew/0.3.1-fix-docs
Fix docs deploy
2 parents 8a384e2 + 2f47ff8 commit c1b91e7

File tree

5 files changed

+47
-16
lines changed

5 files changed

+47
-16
lines changed

.yamllint.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# yamllint configuration file: https://yamllint.readthedocs.io/
2+
extends: relaxed
3+
4+
rules:
5+
line-length: disable

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Directories
22
SRC_PATHS := open_image_models/ test/
3+
YAML_PATHS := .github/ mkdocs.yml
34

45
# Tasks
56
.PHONY: help
@@ -10,6 +11,7 @@ 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)"
@@ -41,6 +43,11 @@ ruff:
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
4552
pylint:
4653
@echo "=====> Running Pylint..."
@@ -52,7 +59,7 @@ mypy:
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
5865
test:

mkdocs.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff 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
5151
extra:
5252
version:
5353
provider: mike

poetry.lock

Lines changed: 19 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "open-image-models"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
description = "Pre-trained image models using ONNX for fast, out-of-the-box inference."
55
authors = ["ankandrew <[email protected]>"]
66
readme = "README.md"
@@ -57,6 +57,7 @@ requests = "^2.32.3"
5757
mypy = "*"
5858
ruff = "*"
5959
pylint = "*"
60+
yamllint = "*"
6061

6162
[tool.poetry.group.docs.dependencies]
6263
mkdocs-material = "*"

0 commit comments

Comments
 (0)