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

Re-running the formatter #1194

Merged
merged 11 commits into from
Apr 10, 2021
Merged

Re-running the formatter #1194

merged 11 commits into from
Apr 10, 2021

Conversation

jjgonecrypto
Copy link
Contributor

@jjgonecrypto jjgonecrypto commented Apr 6, 2021

For some reason, pretty-quick was skipped during commits (perhaps via --no-verify) and some formatting omissions appeared. This PR reformats everything via an npm run format

@jjgonecrypto jjgonecrypto mentioned this pull request Apr 6, 2021
.solhint.json Outdated
"contract-name-camelcase": "warn",
"multiple-sends": "warn",
"reentrancy": "warn",
"max-states-count": ["warn", 17]
Copy link
Contributor

@liamzebedee liamzebedee Apr 7, 2021

Choose a reason for hiding this comment

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

this is ["warn",15] in the new recommended ruleset, but doesn't seem to error on any of our contracts.

Copy link
Contributor

@liamzebedee liamzebedee left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@codecov
Copy link

codecov bot commented Apr 9, 2021

Codecov Report

Merging #1194 (f26794c) into develop (13df268) will not change coverage.
The diff coverage is 87.50%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1194   +/-   ##
========================================
  Coverage    95.62%   95.62%           
========================================
  Files           76       76           
  Lines         5413     5413           
  Branches       661      661           
========================================
  Hits          5176     5176           
  Misses         237      237           
Impacted Files Coverage Δ
contracts/AddressResolver.sol 100.00% <ø> (ø)
contracts/AddressSetLib.sol 100.00% <ø> (ø)
contracts/BaseRewardEscrowV2.sol 80.66% <ø> (ø)
contracts/BinaryOption.sol 100.00% <ø> (ø)
contracts/BinaryOptionMarket.sol 100.00% <ø> (ø)
contracts/BinaryOptionMarketFactory.sol 100.00% <ø> (ø)
contracts/Bytes32SetLib.sol 100.00% <ø> (ø)
contracts/CollateralErc20.sol 100.00% <ø> (ø)
contracts/CollateralEth.sol 100.00% <ø> (ø)
contracts/CollateralManager.sol 84.94% <ø> (ø)
... and 66 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 13df268...f26794c. Read the comment docs.

@jjgonecrypto jjgonecrypto requested a review from i-stam April 9, 2021 19:16
@jjgonecrypto jjgonecrypto changed the title Reformatting files and upgrading solhint Re-running the formatter Apr 10, 2021
@jjgonecrypto jjgonecrypto merged commit b7f93c7 into develop Apr 10, 2021
@jjgonecrypto jjgonecrypto deleted the reformatting-files branch April 10, 2021 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants