Skip to content

Commit 44dcb54

Browse files
committed
lint
1 parent 38dd1a0 commit 44dcb54

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ jobs:
118118
grep ERROR doc.txt | grep -v 'l-plot-tiny-llm-export'
119119
exit 1
120120
fi
121-
if [[ $(grep WARNING doc.txt | grep -v 'l-plot-tiny-llm-export' | grep -v 'Inline emphasis start-string' | grep -v 'Definition list ends without a blank line' | grep -v 'Unexpected section title or transition' | grep -v 'Inline strong start-string') ]]; then
121+
if [[ $(grep WARNING doc.txt | grep -v 'l-plot-tiny-llm-export' | grep -v 'Inline emphasis start-string' | grep -v 'Definition list ends without a blank line' | grep -v 'Unexpected section title or transition' | grep -v 'Inline strong start-string' | grep -v 'MambaCache') ]]; then
122122
echo "Documentation produces warnings."
123-
grep WARNING doc.txt | grep -v 'l-plot-tiny-llm-export' | grep -v 'Inline emphasis start-string' | grep -v 'Definition list ends without a blank line' | grep -v 'Unexpected section title or transition' | grep -v 'Inline strong start-string'
123+
grep WARNING doc.txt | grep -v 'l-plot-tiny-llm-export' | grep -v 'Inline emphasis start-string' | grep -v 'Definition list ends without a blank line' | grep -v 'Unexpected section title or transition' | grep -v 'Inline strong start-string' | grep -v 'MambaCache'
124124
exit 1
125125
fi
126126

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ disable_error_code = ["arg-type", "assignment", "import-untyped", "misc", "name-
2828
module = ["onnx_diagnostic.helpers.args_helper"]
2929
disable_error_code = ["arg-type", "call-overload", "index"]
3030

31+
[[tool.mypy.overrides]]
32+
module = ["onnx_diagnostic.helpers.cache_helper"]
33+
disable_error_code = ["name-defined"]
34+
3135
[[tool.mypy.overrides]]
3236
module = ["onnx_diagnostic.helpers.helper"]
3337
disable_error_code = ["arg-type", "assignment", "attr-defined", "call-overload", "misc", "name-defined", "union-attr"]

0 commit comments

Comments
 (0)