We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83ddcbb commit 9d8bc9fCopy full SHA for 9d8bc9f
scripts/refresh_test_artifacts.py
@@ -16,13 +16,13 @@
16
17
def get_artifact_folders(root_dir: str) -> Iterator[Path]:
18
for folder in Path(root_dir).iterdir():
19
- if folder.is_dir() and (folder / "contract.py").exists():
+ if folder.is_dir() and not str(folder.stem).startswith((".", "__")):
20
yield folder
21
22
23
def compile_contract(folder: Path) -> None:
24
logger.info(f"Compiling: {folder}")
25
- contract_path = folder / "contract.py"
+ contract_path = folder
26
(folder / "data").mkdir(exist_ok=True)
27
compile_cmd = [
28
"hatch",
0 commit comments