Skip to content

Commit

Permalink
feat: some bugfix and feature
Browse files Browse the repository at this point in the history
  • Loading branch information
st1020 committed Dec 6, 2023
1 parent 6ff02f0 commit a8c7491
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion deploy/commands/management/commands/load_hook_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from dongtai_common.utils.validate import save_hook_stratefile_sha1sum
from dongtai_conf.settings import BASE_DIR
from dongtai_protocol.views.hook_profiles import LANGUAGE_DICT
from tqdm import tqdm


class Command(BaseCommand):
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ignore = [
"TRY003", # Avoid specifying long messages outside the exception class
"TRY301", # Abstract raise to an inner function
"PERF203", # try-except within a loop incurs performance overhead
"RUF001", # String contains ambiguous
]
# target version is python 3.9 because Cython not support some python 3.10 feature
target-version = "py39"
Expand All @@ -56,3 +57,6 @@ target-version = "py39"
"**/tests.py" = ["T201"]
"deploy/*.py" = ["T201"]
"dongtai_conf/*.py" = ["T201"]

[tool.pyright]
ignore = [".venv", "**/urls.py"]

0 comments on commit a8c7491

Please sign in to comment.