Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N-03 Remove forge format Comments #44

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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