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

Add spiral-matrix #1170

Merged
merged 13 commits into from
Jan 28, 2018
Merged

Add spiral-matrix #1170

merged 13 commits into from
Jan 28, 2018

Conversation

chgraef
Copy link
Contributor

@chgraef chgraef commented Jan 19, 2018

Implementing exercise spiral-matrix. Closes #752

@chgraef chgraef changed the title [WIP] Add spiral-matrix Add spiral-matrix Jan 21, 2018
config.json Outdated
"algorithms",
"control-flow",
"lists",
"logic"
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think that logic really applies to this exercise. A better example would be the zebra-puzzle exercise.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, @cmccandless. I decided to delete "logic" from the list of topics.


from spiral_matrix import spiral


Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a comment referencing the current version of the canonical data. For the format of this comment, please see #784.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Thanks for the hint.

Copy link
Contributor Author

@chgraef chgraef left a comment

Choose a reason for hiding this comment

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

Done. Made the suggested change.

config.json Outdated
"algorithms",
"control-flow",
"lists",
"logic"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, @cmccandless. I decided to delete "logic" from the list of topics.


from spiral_matrix import spiral


Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Thanks for the hint.

@cmccandless
Copy link
Contributor

@chgraef Please add a reference to #752 to the PR description (see magic words).

Copy link
Contributor

@N-Parsons N-Parsons left a comment

Choose a reason for hiding this comment

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

There's one very minor change and then I think this is ready to be merged.


from spiral_matrix import spiral

# Tests adapted from `problem-specifications//canonical-data.json` @ v1.1.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you move this line down by one to be more consistent with the other test files?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, @N-Parsons ,will do.

Copy link
Contributor

Choose a reason for hiding this comment

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

I believe for full consistency, you the spacing should be 2 blank lines above, one below (see below):

from spiral_matrix...


# Tests adapted from...

class...

@cmccandless cmccandless merged commit db01de2 into exercism:master Jan 28, 2018
@cmccandless
Copy link
Contributor

@chgraef Merged; thanks for working on this!

ErikSchierboom added a commit to ErikSchierboom/python that referenced this pull request Jan 21, 2021
[Docs] Add reference to required reading in implementing guide
ErikSchierboom added a commit to ErikSchierboom/python that referenced this pull request Jan 22, 2021
[Docs] Add reference to required reading in implementing guide
ErikSchierboom added a commit to ErikSchierboom/python that referenced this pull request Jan 26, 2021
[Docs] Add reference to required reading in implementing guide
ErikSchierboom added a commit to ErikSchierboom/python that referenced this pull request Jan 27, 2021
[Docs] Add reference to required reading in implementing guide
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