Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Change line-length from 120 to 100#117

Merged
ChihChengLiang merged 5 commits into
masterfrom
change-lint
Feb 15, 2022
Merged

Change line-length from 120 to 100#117
ChihChengLiang merged 5 commits into
masterfrom
change-lint

Conversation

@ChihChengLiang
Copy link
Copy Markdown
Collaborator

Problem

120 is too long, change it to 100 to be consistent with the circuit repo.

@ChihChengLiang ChihChengLiang mentioned this pull request Feb 14, 2022
Copy link
Copy Markdown
Contributor

@ed255 ed255 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Please take a look at the comment for a discussion about formatting skipping for test vectors.

Comment thread tests/evm/test_begin_tx.py Outdated
rw_table=set(
[
(1, RW.Read, RWTableTag.CallContext, 1, CallContextFieldTag.TxId, 0, tx.id, 0, 0, 0),
(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think it's acceptable to skip the format check for test vectors? Like so: https://github.com/appliedzkp/zkevm-specs/blob/45842edfcdeda4744cf5414728c4d32a4a677473/tests/test_state_circuit.py#L27

I think having this exception can make the test code more readable.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sounds good! Will do.

@ChihChengLiang ChihChengLiang force-pushed the change-lint branch 3 times, most recently from 2dcbf4e to b4dd471 Compare February 15, 2022 17:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants