mirror of
https://github.com/crytic/slither.git
synced 2026-10-12 10:59:58 +00:00
Apply automatic formatting fixes from ruff:
- Remove trailing whitespace
- Add missing newline at end of file
- Fix typos in docstrings ("Soldiity" -> "Solidity")
Files affected:
- 35 detector Python files
- 3 upgradeability check Python files
- 1 properties Python file
- 1 core declarations Python file
- 14 example files (sol, dot)
- 1 plugin example file
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
20 lines
274 B
Solidity
20 lines
274 B
Solidity
pragma solidity >=0.4.24 <0.5.4;
|
|
|
|
contract Test {
|
|
|
|
address owner;
|
|
|
|
constructor () public {
|
|
owner = msg.sender;
|
|
}
|
|
|
|
function foo() public returns (uint) {
|
|
uint i;
|
|
return(i+10);
|
|
}
|
|
|
|
function foobar(uint i) public returns (uint) {
|
|
return(i+10);
|
|
}
|
|
}
|