Skip to content

Commit cf7c446

Browse files
committed
📖 Update 🐍Vyper Conventions
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
1 parent d26bab7 commit cf7c446

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

GUIDELINES.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ def forward_call(target: address) -> Bytes[1_024]:
8787

8888
- All functions should be provided with full [NatSpec](https://docs.vyperlang.org/en/latest/natspec.html) comments containing the tags `@dev`, `@notice` (if applicable), `@param` for each function parameter, and `@return` if a return statement is present.
8989
- Please note the following order of layout:
90-
- Pragma directives (in this order):
91-
- 🐍Vyper version: `# pragma version`
92-
- Optimisation mode (if applicable): `# pragma optimize`
93-
- EVM version (if applicable): `# pragma evm-version`
94-
- Nonreentrancy (if applicable): `# pragma nonreentrancy`
90+
- Pragma directives (one per line, in this order):
91+
- 🐍Vyper version: `# pragma version ~=<vyper_version>`
92+
- EVM version (if applicable): `# pragma evm-version <evm_version>`
93+
- Optimisation mode (if applicable): `# pragma optimize <mode>`
94+
- Nonreentrancy (if applicable): `# pragma nonreentrancy <flag>`
9595
- Experimental code generation (=[Venom](https://github.com/vyperlang/vyper/tree/master/vyper/venom)) (if applicable): `# experimental-codegen`
9696
- 🐍Vyper built-in interface imports (one per line, with `implements` on the next line if applicable)
9797
- Custom interface imports (one per line, with `implements` on the next line if applicable)

0 commit comments

Comments
 (0)