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

Make function names terse. Make functions private. #42

Merged
merged 1 commit into from
Sep 22, 2014
Merged

Make function names terse. Make functions private. #42

merged 1 commit into from
Sep 22, 2014

Conversation

Ichimonji10
Copy link
Contributor

Rename all the generator functions. Use the prefix "gen_" instead of
"generate_". For example, generate_date is now gen_date.

Make helper functions private. Rename codify to _make_unicode and
is_positive_int to _is_positive_int.

Silence some pylint and flake8 warnings, either by fixing the relevant error
(e.g. use better names for unused variables) or silencing the relevant error
(e.g. the use of the Python 2 keyword "unicode").

Rename all the generator functions. Use the prefix "gen_" instead of
"generate_". For example, `generate_date` is now `gen_date`.

Make helper functions private. Rename `codify` to `_make_unicode` and
`is_positive_int` to `_is_positive_int`.

Silence some pylint and flake8 warnings, either by fixing the relevant error
(e.g. use better names for unused variables) or silencing the relevant error
(e.g. the use of the Python 2 keyword "unicode").
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 75839a4 on Ichimonji10:be-terse into e8b1591 on omaciel:master.

@omaciel
Copy link
Owner

omaciel commented Sep 22, 2014

ACK

omaciel added a commit that referenced this pull request Sep 22, 2014
Make function names terse. Make functions private.
@omaciel omaciel merged commit 39885bd into omaciel:master Sep 22, 2014
@Ichimonji10 Ichimonji10 deleted the be-terse branch September 22, 2014 21:00
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.

None yet

3 participants