Skip to content

Commit

Permalink
Rewrite references: trycast.py -> trycast/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfstr committed Aug 3, 2024
1 parent 8ae174a commit 78d8247
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ endif
.PHONY: pytype
ifneq "$(pytype_path)" ""
pytype: ## Run pytype typechecker.
pytype --keep-going trycast.py tests.py
pytype --keep-going trycast/__init__.py tests.py
else
pytype:
endif
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ build-backend = "poetry.core.masonry.api"
# Config Syntax Reference:
# https://mypy.readthedocs.io/en/latest/config_file.html#using-a-pyproject-toml-file
[tool.mypy]
files = "trycast.py,tests.py"
files = "trycast/__init__.py,tests.py"
mypy_path = "."
strict_optional = true

Expand Down
2 changes: 1 addition & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3086,7 +3086,7 @@ def test_no_pyre_typechecker_errors_exist(self) -> None:
def test_no_pytype_typechecker_errors_exist(self) -> None:
try:
subprocess.check_output(
["pytype", "--keep-going", "trycast.py", "tests.py"],
["pytype", "--keep-going", "trycast/__init__.py", "tests.py"],
env={"LANG": "en_US.UTF-8", "PATH": os.environ.get("PATH", "")},
stderr=subprocess.STDOUT,
)
Expand Down

0 comments on commit 78d8247

Please sign in to comment.