Skip to content

Don't format generated code from gentest and eest make test if ruff is not present #1715

@danceratopz

Description

@danceratopz

For developers, who have cloned ethereum/execution-specs, generated code should be formatted by ruff using the settings from pyproject.toml. Then's it ready to check-in and passes checks.

However, for package users, to avoid adding ruff as a dependency package, it seems fine to simply skip this step, especially since this means we can skip adding ruff as a package dependency.

As part of this work, we should remove the addition of the lint dependency group from tests_pytest_pypy3 tox env:

execution-specs/tox.ini

Lines 32 to 34 in 38c7298

dependency_groups =
test
lint # TODO: add ruff for gentest; remove as part of ethereum/execution-specs#1715

Metadata

Metadata

Assignees

Labels

A-test-cli-gentestArea: execution spec tests gentest moduleA-test-cli-makeArea: execution spec tests make cli interface

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions