Skip to content

Commit 5b611be

Browse files
committed
ignore pycache
1 parent 4bc590a commit 5b611be

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

codeflash/LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Business Source License 1.1
33
Parameters
44

55
Licensor: CodeFlash Inc.
6-
Licensed Work: Codeflash Client version 0.10.x
6+
Licensed Work: Codeflash Client version 0.12.x
77
The Licensed Work is (c) 2024 CodeFlash Inc.
88

99
Additional Use Grant: None. Production use of the Licensed Work is only permitted
@@ -13,7 +13,7 @@ Additional Use Grant: None. Production use of the Licensed Work is only permitte
1313
Platform. Please visit codeflash.ai for further
1414
information.
1515

16-
Change Date: 2029-02-25
16+
Change Date: 2029-04-23
1717

1818
Change License: MIT
1919

codeflash/cli_cmds/cmd_init.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def collect_setup_info() -> SetupInfo:
160160
# Check for the existence of pyproject.toml or setup.py
161161
project_name = check_for_toml_or_setup_file()
162162

163-
ignore_subdirs = ["venv", "node_modules", "dist", "build", "build_temp", "build_scripts", "env", "logs", "tmp"]
163+
ignore_subdirs = ["venv", "node_modules", "dist", "build", "build_temp", "build_scripts", "env", "logs", "tmp", "__pycache__"]
164164
valid_subdirs = [
165165
d for d in next(os.walk("."))[1] if not d.startswith(".") and not d.startswith("__") and d not in ignore_subdirs
166166
]
@@ -258,7 +258,7 @@ def collect_setup_info() -> SetupInfo:
258258
benchmarks_options.append(no_benchmarks_option)
259259
if default_benchmarks_subdir in tests_subdirs:
260260
benchmarks_options.append(default_benchmarks_subdir)
261-
benchmarks_options.extend([d for d in tests_subdirs if d != default_benchmarks_subdir])
261+
benchmarks_options.extend([d for d in tests_subdirs if d != default_benchmarks_subdir and d not in ignore_subdirs])
262262
benchmarks_options.append(create_benchmarks_option)
263263
benchmarks_options.append(custom_dir_option)
264264

codeflash/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# These version placeholders will be replaced by poetry-dynamic-versioning during `poetry build`.
2-
__version__ = "0.12.0"
3-
__version_tuple__ = (0, 12, 0)
2+
__version__ = "0.12.0.post4.dev0+4bc590a8"
3+
__version_tuple__ = (0, 12, 0, "post4", "dev0", "4bc590a8")

0 commit comments

Comments
 (0)