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

Converting docstrings to NatSpec format #160

Merged
merged 8 commits into from
Feb 21, 2023

Conversation

Marchand-Nicolas
Copy link
Contributor

No description provided.

Copy link
Contributor

@bal7hazar bal7hazar left a comment

Choose a reason for hiding this comment

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

Nice job

  1. Missing a cap letter for param and return description, for instance:
    @param test this is a test must be @param test This is a test

  2. Short description must be in imperative mood:
    @notice Returns something must be @notice Return something

  3. If possible, try to add an article in param and return description:
    @param test Test must be @param test The test

src/vesting/vester.cairo Show resolved Hide resolved
src/badge/library.cairo Show resolved Hide resolved
src/badge/library.cairo Outdated Show resolved Hide resolved
src/badge/library.cairo Outdated Show resolved Hide resolved
src/badge/library.cairo Outdated Show resolved Hide resolved
src/badge/library.cairo Outdated Show resolved Hide resolved
src/badge/library.cairo Outdated Show resolved Hide resolved
src/badge/library.cairo Outdated Show resolved Hide resolved
src/badge/library.cairo Outdated Show resolved Hide resolved
src/mint/minter.cairo Outdated Show resolved Hide resolved
src/badge/library.cairo Show resolved Hide resolved
src/mint/minter.cairo Outdated Show resolved Hide resolved
src/mint/minter.cairo Outdated Show resolved Hide resolved
src/mint/minter.cairo Outdated Show resolved Hide resolved
src/mint/minter.cairo Outdated Show resolved Hide resolved
src/mint/minter.cairo Outdated Show resolved Hide resolved
src/mint/minter.cairo Outdated Show resolved Hide resolved
src/mint/minter.cairo Outdated Show resolved Hide resolved
src/mint/minter.cairo Outdated Show resolved Hide resolved
Copy link
Contributor

@bal7hazar bal7hazar left a comment

Choose a reason for hiding this comment

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

LGTM

@Marchand-Nicolas
Copy link
Contributor Author

It took me around 3 hours.

@bal7hazar bal7hazar merged commit 73ef130 into Carbonable:main Feb 21, 2023
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.

2 participants