Skip to content

Commit

Permalink
Remove forge format comments from GovernorCountingFractional (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlaprade committed Mar 22, 2023
1 parent 5526eac commit 4399694
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions foundry.toml
Expand Up @@ -22,6 +22,9 @@

[fmt]
bracket_spacing = false
ignore = [
'src/GovernorCountingFractional.sol', # Ignored b/c it follows OZ's styleguide.
]
int_types = "long"
line_length = 100
multiline_func_header = "attributes_first"
Expand Down
4 changes: 0 additions & 4 deletions src/GovernorCountingFractional.sol
Expand Up @@ -3,9 +3,6 @@

pragma solidity ^0.8.0;

// Disabling forgefmt to stay consistent with OZ's style.
// forgefmt: disable-start

import {Governor} from "@openzeppelin/contracts/governance/Governor.sol";
import {GovernorCompatibilityBravo} from "@openzeppelin/contracts/governance/compatibility/GovernorCompatibilityBravo.sol";
import {SafeCast} from "@openzeppelin/contracts/utils/math/SafeCast.sol";
Expand Down Expand Up @@ -245,4 +242,3 @@ abstract contract GovernorCountingFractional is Governor {
}
}
}
// forgefmt: disable-end

0 comments on commit 4399694

Please sign in to comment.