Skip to content

Commit

Permalink
next: price pusher mypy hack
Browse files Browse the repository at this point in the history
  • Loading branch information
akhercha committed Jul 7, 2024
1 parent ca4cb68 commit 0630dd6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions price-pusher/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ types-pyyaml = "^6.0.12.20240311"
format = "ruff format ."
format_check = "ruff format . --check"
lint = "ruff check ."
typecheck = "mypy price_pusher"
# TODO: fix all errors and change this
typecheck = "mypy price_pusher/types.py"
test_all = "pytest tests"

[tool.ruff]
Expand Down Expand Up @@ -96,7 +97,7 @@ explicit_package_bases = true
show_error_codes = true
warn_return_any = true
ignore_missing_imports = true
exclude = ["tests", "price_pusher"]
exclude = ["tests"]
mypy_path = ["../pragma-utils", "../pragma-sdk"]
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]

Expand Down

0 comments on commit 0630dd6

Please sign in to comment.