Skip to content

Commit

Permalink
mypy...
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienLelaquais committed Sep 20, 2024
1 parent 348c002 commit 704d8de
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/partial-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- uses: jpetrucciani/mypy-check@master
with:
mypy_flags: "--ignore-missing-imports --implicit-optional --no-namespace-packages --exclude (taipy/templates/|tools/|doc/gui/examples/*/*/builder.py) --follow-imports skip --disable-error-code import-untyped"
mypy_flags: "--ignore-missing-imports --implicit-optional --no-namespace-packages --exclude (taipy/templates/|tools/|doc/gui/examples/.*/builder.py) --follow-imports skip --disable-error-code import-untyped"

- uses: chartboost/ruff-action@v1
tests:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- --ignore-missing-imports
- --implicit-optional
- --no-namespace-packages
- --exclude=(taipy/templates/|tools/|doc/gui/examples/*/*/builder.py)
- --exclude=(taipy/templates/|tools/|doc/gui/examples/.*/builder.py)
- --follow-imports=skip
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[mypy]
ignore_missing_imports = True
exclude = "(taipy/templates/|tools/|doc/gui/examples/*/*/builder.py)"
exclude = "(taipy/templates/|tools/|doc/gui/examples/.*/builder.py)"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ convention = "google"
ignore_missing_imports = true
implicit_optional = true
namespace_packages = false
exclude = "(taipy/templates/|tools/|doc/gui/examples/*/*/builder.py)"
exclude = "(taipy/templates/|tools/|doc/gui/examples/.*/builder.py)"
follow_imports = "skip"

[tool.pyright]
Expand Down

0 comments on commit 704d8de

Please sign in to comment.