Skip to content

Conversation

@agamdua
Copy link
Contributor

@agamdua agamdua commented Jul 9, 2015

From commit messages:

Added: tests and docstrings for utils
Two utils methods were lacking coverage:
* `get_attr_from_base_classes`
* `get_class_name_with_new_suffix`

Added a `.coveragerc` so that coverage would not be tracking coverage of
actual tests code.

Docstrings were added for future reference.
Updated: gitignore for vim files
As part of  a review:

* get_attr_from_base_classes used kwargs to get the `default`. Now
`default` is an explicit kwarg, updated docstring and code to reflect
this
* updated docstring for `get_class_name_with_new_suffix` with an example

AUTHORS.rst Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

why different format?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wanted to ask if I can do this for all? It just renders nicer.

I don't mind switching it back or changing all. you just got to it before I could ask in a comment 😉

Copy link
Contributor

Choose a reason for hiding this comment

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

I like that both name and link are explicitly rendered which is used for PDF docs, etc... I dont have any strong preference either way

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thats fine. Let it build, I'll push to follow existing.

Two utils methods were lacking coverage:
* get_attr_from_base_classes
* get_class_name_with_new_suffix

Added a .coveragerc so that coverage would not be tracking coverage of
actual tests code.

Docstrings were added for future reference.
Copy link
Contributor

Choose a reason for hiding this comment

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

example might be nice:

Example:
    ::

        get_class_name_with_new_suffix(FooForm, 'Form', 'NewForm') == 'FooNewForm'

As part of  a review:

* get_attr_from_base_classes used kwargs to get the `default`. Now
`default` is an explicit kwarg, updated docstring and code to reflect
this
* updated docstring for `get_class_name_with_new_suffix` with an example
Copy link
Contributor Author

Choose a reason for hiding this comment

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

If this is acceptable, I think we can merge.

The rest of the comments were about docstrings

Copy link
Contributor

Choose a reason for hiding this comment

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

fine. still not a fan but ok.

@agamdua
Copy link
Contributor Author

agamdua commented Jul 11, 2015

Wooohoooo!

screen shot 2015-07-11 at 8 20 14 am

miki725 added a commit that referenced this pull request Jul 12, 2015
@miki725 miki725 merged commit 4c5d3bc into dealertrack:master Jul 12, 2015
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