Skip to content

Code cleanup and fixes - #83

Merged
bscSCORM merged 2 commits into
RusticiSoftware:masterfrom
zachlowry:code-cleanup-and-fixes
Feb 19, 2015
Merged

bscSCORM merged 2 commits into
RusticiSoftware:masterfrom
zachlowry:code-cleanup-and-fixes

Conversation

@zachlowry

Copy link
Copy Markdown
Contributor

No description provided.

@zachlowry

Copy link
Copy Markdown
Contributor Author

For your review @brianjmiller, thanks!

@zachlowry

Copy link
Copy Markdown
Contributor Author

Can we merge this in? Could really use the fixed Group support for the project I'm working on.

@brianjmiller

Copy link
Copy Markdown
Member

Can you list the fixes that were made? Doing both formatting and fixes in a single PR makes it hard to review. Were unit tests added to make sure the fixes are maintained (and actually fixed)? Sorry for the delay I knew the other one was still outstanding but forgot about this one.

@brianjmiller brianjmiller self-assigned this Jan 8, 2015
@zachlowry

Copy link
Copy Markdown
Contributor Author

Sure:

PEP8 formatting
Group entity now contains fields from Agent
Property fields are now initialized in the constructor
Fixed date conversion routine in iso8601.py (there was a default case in the if statement that would have raised an exception)

@zachlowry

Copy link
Copy Markdown
Contributor Author

Oh, and there aren't any new tests due to these changes, but several tests were modified.

@brianjmiller

Copy link
Copy Markdown
Member

@zachlowry please have a look at and merge the commit here brianjmiller@b50946e to this PR. The changes were necessary to get to a fully quiet pep8 run for my installation. If you want to, you could also merge or rebase to the current master to get the Travis commits with unit test fixes here and we can add running of pep8 to the travis config. If you don't want to bother with that we'll get this rolled into master and then make those changes. I'm hoping to finally get this cleared out.

@brianjmiller

Copy link
Copy Markdown
Member

Ultimately we probably need to look at getting pyflakes run, possibly switching to flake8 to kill two birds with one package.

@zachlowry

Copy link
Copy Markdown
Contributor Author

Got this merged into my branch, back to you @brianjmiller. Thanks!

On Tue, Feb 10, 2015 at 3:41 PM, Brian J. Miller [email protected]
wrote:

Ultimately we probably need to look at getting pyflakes run, possibly
switching to flake8 to kill two birds with one package.

—
Reply to this email directly or view it on GitHub
#83 (comment)
.

@brianjmiller

Copy link
Copy Markdown
Member

@zachlowry something very strange happened with the history, there should not have been conflicts and I don't know why your original commit shows up twice. Can we clean that up?

@zachlowry

Copy link
Copy Markdown
Contributor Author

My git-fu isn't strong enough to do this, I don't think.

On Thursday, February 12, 2015, Brian J. Miller [email protected]
wrote:

@zachlowry https://github.com/zachlowry something very strange happened
with the history, there should not have been conflicts and I don't know why
your original commit shows up twice. Can we clean that up?

—
Reply to this email directly or view it on GitHub
#83 (comment)
.

Zach Lowry and others added 2 commits February 19, 2015 09:41
Add explicit property names for Group, removing appropriate tests.
Initialize all fields for properties in __init__.
Added long-fill-in interaction type.
Changed default date conversion to assume a timestamp, since the
existing default called datetime with an invalid parameter.
@brianjmiller

Copy link
Copy Markdown
Member

All right in good shape now. Over to you @bscSCORM.

bscSCORM added a commit that referenced this pull request Feb 19, 2015
@bscSCORM
bscSCORM merged commit a3fb50b into RusticiSoftware:master Feb 19, 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.

3 participants