Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 089ac1d

Browse files
authored
Exclude non-utf files and non-existent directories (#221)
1 parent ab5d30e commit 089ac1d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mypy_primer/projects.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,7 @@ def get_projects() -> list[Project]:
835835
location="https://github.com/DataDog/dd-trace-py",
836836
mypy_cmd="{mypy}",
837837
pyright_cmd="{pyright}",
838+
ty_cmd="{ty} check --exclude tests/appsec/iast/fixtures/aspects/str/non_utf8_content.py --exclude tests/appsec/iast/fixtures/ast/str/non_utf8_content.py",
838839
deps=[
839840
"attrs",
840841
"types-six",
@@ -1123,7 +1124,7 @@ def get_projects() -> list[Project]:
11231124
location="https://github.com/rotki/rotki",
11241125
mypy_cmd="{mypy} {paths}",
11251126
pyright_cmd="{pyright} {paths}",
1126-
paths=["rotkehlchen", "tools/data_faker"],
1127+
paths=["rotkehlchen"],
11271128
deps=["eth-typing", "types-requests", "types-setuptools"],
11281129
cost={"pyright": 60, "mypy": 9},
11291130
),
@@ -1501,6 +1502,7 @@ def get_projects() -> list[Project]:
15011502
location="https://github.com/mhammond/pywin32",
15021503
mypy_cmd="{mypy} {paths}",
15031504
pyright_cmd="{pyright} {paths}",
1505+
ty_cmd="{ty} check {paths} --exclude Pythonwin/pywin/test/_dbgscript.py",
15041506
paths=["."],
15051507
deps=["types-pywin32", "types-regex", "types-setuptools"],
15061508
cost={"mypy": 32},

0 commit comments

Comments
 (0)