Skip to content

Commit fc373cc

Browse files
committed
fixes
1 parent bd15ad7 commit fc373cc

File tree

47 files changed

+79
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+79
-0
lines changed

src/cli/eest/commands/clean.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def clean(all_files: bool, dry_run: bool, verbose: bool):
4747
🗑️ Deleted: src/cli/et/make/commands/__pycache__
4848
...
4949
🧹 Cleanup complete!
50+
5051
""" # noqa: D417, D301
5152
# List of items to remove can contain files and directories.
5253
items_to_remove = [

src/cli/eest/make/commands/env.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def create_default_env():
2626
🎉 Success! Environment file created at: <path>/env.yaml
2727
2828
🚀 Well begun is half done. - Aristotle
29+
2930
"""
3031
# Check if the env file already exists
3132
if ENV_PATH.exists():

src/cli/eest/make/commands/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def test():
5656
/>
5757
</video>
5858
</figure>
59+
5960
""" # noqa: D301
6061
test_type = input_select(
6162
"Choose the type of test to generate", choices=["State", "Blockchain"]

src/cli/evm_bytes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ def hex_string(hex_string: str, assembly: bool):
195195
push1 0x20
196196
push1 0x00
197197
return
198+
198199
""" # noqa: D301
199200
processed_output = process_evm_bytes_string(hex_string, assembly=assembly)
200201
click.echo(processed_output)
@@ -225,6 +226,7 @@ def binary_file(binary_file, assembly: bool):
225226
push1 0x90
226227
jumpi
227228
...
229+
228230
""" # noqa: E501,D301
229231
processed_output = format_opcodes(process_evm_bytes(binary_file.read()), assembly=assembly)
230232
click.echo(processed_output)

src/cli/generate_checklist_stubs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def generate_checklist_stubs(output: str | None, dry_run: bool) -> None:
9797
9898
# Preview content without writing
9999
uv run generate_checklist_stubs --dry-run
100+
100101
"""
101102
try:
102103
# Add src to path so we can import the module

src/cli/gentest/source_code_generator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def get_test_source(provider: Provider, template_path: str) -> str:
3838
3939
Returns:
4040
str: The formatted pytest source code.
41+
4142
"""
4243
template = template_env.get_template(template_path)
4344
rendered_template = template.render(provider.get_context())
@@ -57,6 +58,7 @@ def format_code(code: str) -> str:
5758
5859
Returns:
5960
str: The formatted Python code.
61+
6062
"""
6163
# Create a temporary python file
6264
with tempfile.NamedTemporaryFile(suffix=".py") as temp_file:

src/cli/gentest/test_context_providers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def get_context(self) -> Dict[str, Any]:
8989
Returns:
9090
Dict[str, Any]: A dictionary containing environment,
9191
pre-state, a transaction and its hash.
92+
9293
"""
9394
self._make_rpc_calls()
9495
return {

src/cli/gentest/test_providers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def get_context(self) -> Dict[str, Any]:
105105
Returns:
106106
Dict[str, Any]: A dictionary containing module docstring, test name,
107107
test docstring, environment kwargs, pre-state items, and transaction items.
108+
108109
"""
109110
return {
110111
"environment_kwargs": self._get_environment_kwargs(),

src/cli/order_fixtures.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def recursive_sort(item: Dict[str, Any] | List[Any]) -> Dict[str, Any] | List[An
3535
3636
Returns:
3737
The sorted item.
38+
3839
"""
3940
if isinstance(item, dict):
4041
return dict(sorted((k, recursive_sort(v)) for k, v in item.items()))
@@ -62,6 +63,7 @@ def order_fixture(input_path: Path, output_path: Path) -> None:
6263
6364
Returns:
6465
None.
66+
6567
"""
6668
with input_path.open("r") as f:
6769
data = json.load(f)
@@ -84,6 +86,7 @@ def process_directory(input_dir: Path, output_dir: Path):
8486
8587
Returns:
8688
None.
89+
8790
"""
8891
if not output_dir.exists():
8992
output_dir.mkdir(parents=True)

src/cli/pytest_commands/checklist.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def checklist(output: str, eip: tuple, **kwargs) -> None:
3939
4040
# Specify output directory
4141
uv run checklist --output ./my-checklists
42+
4243
"""
4344
# Add output directory to pytest args
4445
args = ["--checklist-output", output]

0 commit comments

Comments
 (0)