Skip to content

Update form exercism #1

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

Merged
merged 73 commits into from
Oct 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
7aa57f5
Add parameters to exercise placeholder
ackerleytng Oct 9, 2017
f9765ef
(WIP) error-handling: implement exercise
cmccandless Oct 13, 2017
04f385b
error-handling: update config.json
cmccandless Oct 13, 2017
b1c2967
error-handling: add README
cmccandless Oct 13, 2017
135cdb7
error-handling: add solution template
cmccandless Oct 13, 2017
e8e0ae1
error-handling: write test cases
cmccandless Oct 13, 2017
2a75c79
write example solution
cmccandless Oct 13, 2017
2c9575a
error-handling: fixes for flake8 compliance
cmccandless Oct 13, 2017
01e4ed9
pangram: replace assertFalse with assertIs
olufotebig Oct 14, 2017
8fbb206
bracket-push: Add topics to resolve #852
clapmyhands Oct 17, 2017
585c848
minesweeper: Add topics to resolve #853
clapmyhands Oct 17, 2017
cf49921
ocr-numbers: Add topics to resolve #857
clapmyhands Oct 17, 2017
06e3866
circular-buffer: add topics
rahit Oct 19, 2017
3277c6c
Added topics for Meetup
mehul-m-prajapati Oct 19, 2017
63de344
Update README.md: grammar change
ajwallacemusic Oct 19, 2017
f7b515c
Add topics: perfect numbers
VibhuKesar Oct 19, 2017
31402db
book-store: use book price const in calculation
ferhatelmas Oct 19, 2017
199e662
Added license information to README.md
jasonsedwards Oct 20, 2017
b410346
Add license information to README.md
ilya-khadykin Oct 20, 2017
926ddeb
book-store: Use book price constant in calculation
ilya-khadykin Oct 20, 2017
bba82b9
perfect-numbers: Add topics to resolve #848
ilya-khadykin Oct 20, 2017
63334c1
Update README.md to correct grammar mistakes
ilya-khadykin Oct 20, 2017
bb1dc60
bob: Add topics to resolve #811
mehul-m-prajapati Oct 20, 2017
d76d79a
meetup: Add topics to resolve #813
ilya-khadykin Oct 20, 2017
cc5e95b
circular-buffer: Add topics to resolve #840
ilya-khadykin Oct 20, 2017
e95c51b
Point-emulations: Add parameters to exercise placeholder
susg Oct 20, 2017
1e287bb
saddle-points: Add topics to resolve #846
rahit Oct 21, 2017
f534500
rail-fence-cipher: Add topics to resolve #844
luanjpb Oct 21, 2017
99c6194
point-mutations: Update parameters in exercise placeholder to resolve…
ilya-khadykin Oct 21, 2017
51c99f5
ocr-numbers: Add topics to resolve #857
ilya-khadykin Oct 21, 2017
dbbf4fd
minesweeper: Add topics to resolve #853
ilya-khadykin Oct 21, 2017
5933ce8
bracket-push: Add topics to resolve #852
ilya-khadykin Oct 21, 2017
f8f495c
Improve exception tests by making use of Context Managers to resolve …
cmccandless Oct 21, 2017
c33528e
list-ops: Update test cases to v2.0.0 from canonical data
Oct 21, 2017
4594dbb
pangram: Replace assertFalse with assertIs
ilya-khadykin Oct 21, 2017
6543fcd
error-handling: change topics to snake_case
cmccandless Oct 21, 2017
6adccde
error-handling: remove incorrect Source section
cmccandless Oct 21, 2017
68b8f22
error-handling: improve use of context manager
cmccandless Oct 21, 2017
fbaefd6
Merge branch 'master' into implement-error-handling
cmccandless Oct 21, 2017
ebe556e
allergies: Replace assertFalse with assertIs
olufotebig Oct 21, 2017
c8defd9
clock: Replace Clock.add() with magic method __add__() to resolve #727
cmccandless Oct 21, 2017
01708a6
Add exercise zipper to resolve #736
cmccandless Oct 21, 2017
849bae2
variable-length-quantity: Add parameters to exercise placeholder to r…
ilya-khadykin Oct 22, 2017
24c7f79
error-handling: further improve context manager implementation
cmccandless Oct 23, 2017
995a836
Merge branch 'master' into implement-error-handling
cmccandless Oct 23, 2017
bc7eb88
error-handling: remove redundant error handling inside "with"
cmccandless Oct 23, 2017
13839e9
Updated README.md
julijames Oct 23, 2017
9cef076
markdown: Do not add <p> to list items
cmccandless Oct 23, 2017
b1ff50a
Merge pull request #973 from wakeuplaughing/patch-1
cmccandless Oct 23, 2017
b1e70c1
Merge branch 'master' into markdown-fix-list-items
cmccandless Oct 23, 2017
5cf1ec2
forth: fix import line
cmccandless Oct 23, 2017
6e8fc0e
Merge pull request #976 from cmccandless/forth-fix-import-line
cmccandless Oct 23, 2017
f97b6fc
Merge branch 'master' into markdown-fix-list-items
cmccandless Oct 23, 2017
6f699a1
Merge pull request #975 from cmccandless/markdown-fix-list-items
cmccandless Oct 23, 2017
6414219
Merge branch 'master' into implement-error-handling
cmccandless Oct 23, 2017
ce8c579
grains: Add topics to resolve #830
Zaccc123 Oct 24, 2017
fb26a66
Swap '2016' for '1996' to stop faulty logic from passing unit test
cruxicheiros Oct 24, 2017
19351fe
Changed version number
cruxicheiros Oct 24, 2017
d01e63e
error-handling: replace assertTrue and assertFalse with assertIs
cmccandless Oct 24, 2017
1cb2a6d
Merge branch 'implement-error-handling' of github-personal:cmccandles…
cmccandless Oct 24, 2017
9b1a59a
Merge pull request #979 from cruxicheiros/patch-1
cmccandless Oct 24, 2017
83e89f3
complex-numbers: Fix spelling mistake (#982)
gsbullmer Oct 24, 2017
55b13a2
error-handling: conform to parameter order convention
cmccandless Oct 24, 2017
8111184
twelve-days: Add parameters to exercise placeholder to resolve #649
ackerleytng Oct 24, 2017
b147fcd
Merge branch 'master' into implement-error-handling
Oct 24, 2017
0d0d453
Merge pull request #798 from cmccandless/implement-error-handling
Oct 24, 2017
b3ba31d
Adds hints to cryptography/randomness exercises (#967)
lucasloisp Oct 24, 2017
6b7c444
Update "TESTS.md" to show that there is a version of "pytest" for bot…
TheUltraCode Oct 24, 2017
6ba1846
README: Add new conventions and add links to relevant issues/PRs (#977)
Oct 25, 2017
50d3759
forth: Update version strings to reference problem-specifications (#986)
Oct 25, 2017
94da359
Fix topics naming to meet convention to be consistent amoung other tr…
ilya-khadykin Oct 25, 2017
834cb96
sum-of-multiples: Update tests to version 1.1.0
lekum Oct 25, 2017
8b90343
rotational-cipher: Update tests to version 1.1.0
lekum Oct 25, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ A list of missing exercise can be found here: http://exercism.io/languages/pytho

### Conventions

- We use minimalistic stub files for all exercises (#272).
- We use minimalistic stub files for all exercises ([#272](https://github.com/exercism/python/issues/272)).
- We use `unittest` (Python Standard Library) and no 3rd-party-framework.
- We use the parameter order `self.assertEqual(actual, expected)` (#440).
- We use the parameter order `self.assertEqual(actual, expected)` ([#440](https://github.com/exercism/python/issues/440)).
- We use context managers (`with self.assertRaises(\<exception type\>):`) for testing for exceptions ([#477](https://github.com/exercism/python/issues/477)).
- We use `assertIs(actual, True)` and `assertIs(actual, False)` rather than `assertTrue(actual)` or `assertFalse(actual)` ([#419](https://github.com/exercism/python/pull/419)).
- We use a comment string in the test file to reference the version of the exercise's `canonical-data.json` that tests were adapted from (wording can be found in: [#784](https://github.com/exercism/python/issues/784)).


### Testing
Expand Down Expand Up @@ -50,24 +53,27 @@ This repo uses [flake8](http://flake8.readthedocs.org/en/latest/) with default s

This repo uses `travis-ci` in the following configuration: [travis.yml](https://github.com/exercism/python/blob/master/.travis.yml)

It will check automatically the code style, the problem configuration and runns the unittests with all supported Python versions.
It will automatically check the code style, the problem configuration, and run the unittests with all supported Python versions.


## Pull Requests

We :heart: pull requests!
We :heart: pull requests!
We even :sparkling_heart: them if they contain well written commit messages!

Please write the first line of your commit message in the following style:

```exercise-name: Change some things```
```exercise-name: Change some things```

Please try to follow the [The seven rules of a great Git commit message](https://chris.beams.io/posts/git-commit/#seven-rules) like to capitalize the subject line and use the imperative mood. If there are more details to add, put those into the body of the commit message.

If you're interested, Tim Pope even has an [entire blog post](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) on good commit messages.

If you're new to Git take a look at [this short guide](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md#git-basics).
If you're new to Git, take a look at [this short guide](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md#git-basics).


## Python icon
The Python logo is an unregistered trademark. We are using a derived logo with the permission of the Python Software Foundation.

## License
This repository uses the [MIT License](/LICENSE).
127 changes: 91 additions & 36 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [
"control-flow (if-else statements)",
"optional values",
"text formatting"
"conditionals",
"optional_values",
"text_formatting"
]
},
{
Expand All @@ -21,7 +21,7 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [
"control-flow (if-else statements)",
"conditionals",
"booleans",
"logic"
]
Expand All @@ -46,8 +46,8 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [
"control-flow (loops)",
"control-flow (if-else statements)",
"loops",
"conditionals",
"strings",
"algorithms",
"filtering",
Expand All @@ -61,8 +61,8 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [
"control-flow (if-else statements)",
"control-flow (loops)",
"conditionals",
"loops",
"maps",
"strings",
"logic",
Expand All @@ -76,8 +76,8 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [
"control-flow (if-else statements)",
"control-flow (loops)",
"conditionals",
"loops",
"sequences",
"sets",
"strings",
Expand All @@ -96,8 +96,8 @@
"strings",
"algorithms",
"logic",
"pattern recognition",
"text formatting"
"pattern_recognition",
"text_formatting"
]
},
{
Expand All @@ -118,7 +118,9 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [

"strings",
"equality",
"conditionals"
]
},
{
Expand All @@ -140,7 +142,11 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [

"strings",
"conditionals",
"dates",
"parsing",
"pattern_recognition"
]
},
{
Expand All @@ -152,7 +158,7 @@
"topics": [
"strings",
"logic",
"control-flow (loops)"
"loops"
]
},
{
Expand Down Expand Up @@ -367,7 +373,10 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [

"bitwise_operations",
"integers",
"mathematics",
"type_conversion"
]
},
{
Expand Down Expand Up @@ -470,8 +479,7 @@
"topics": [
"lists",
"searching",
"loops",
"iteration"
"loops"
]
},
{
Expand Down Expand Up @@ -503,7 +511,11 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [

"algorithms",
"conditionals",
"classes",
"exception_handling",
"queues"
]
},
{
Expand Down Expand Up @@ -537,7 +549,10 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [

"algorithms",
"cryptography",
"text_formatting",
"lists"
]
},
{
Expand All @@ -560,7 +575,13 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [

"algorithms",
"conditionals",
"lists",
"loops",
"mathematics",
"matrices",
"sets"
]
},
{
Expand All @@ -582,7 +603,10 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [

"algorithms",
"loops",
"mathematics",
"logic"
]
},
{
Expand Down Expand Up @@ -632,7 +656,10 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [

"recursion",
"strings",
"stacks",
"parsing"
]
},
{
Expand All @@ -642,7 +669,11 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [

"lists",
"parsing",
"transforming",
"loops",
"games"
]
},
{
Expand Down Expand Up @@ -696,7 +727,9 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [

"lists",
"parsing",
"pattern_recognition"
]
},
{
Expand Down Expand Up @@ -874,7 +907,7 @@
"time",
"mathematics",
"logic",
"text formatting"
"text_formatting"
]
},
{
Expand All @@ -885,7 +918,7 @@
"difficulty": 4,
"topics": [
"files",
"text formatting",
"text_formatting",
"searching"
]
},
Expand Down Expand Up @@ -933,7 +966,7 @@
"difficulty": 3,
"topics": [
"strings",
"pattern matching"
"pattern_matching"
]
},
{
Expand All @@ -944,7 +977,7 @@
"difficulty": 3,
"topics": [
"strings",
"pattern matching"
"pattern_matching"
]
},
{
Expand All @@ -954,9 +987,9 @@
"unlocked_by": null,
"difficulty": 4,
"topics": [
"Control-flow (loops)",
"Arrays",
"Algorithms"
"loops",
"arrays",
"algorithms"
]
},
{
Expand All @@ -966,9 +999,9 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [
"control-flow (if-else statements)",
"optional values",
"text formatting"
"conditionals",
"optional_values",
"text_formatting"
]
},
{
Expand All @@ -978,7 +1011,7 @@
"unlocked_by": null,
"difficulty": 1,
"topics": [
"control-flow (loops)"
"loops"
]
},
{
Expand Down Expand Up @@ -1043,6 +1076,28 @@
"conditionals"
]
},
{
"uuid": "4f5f890d-0db4-5480-f79a-21057c37871b15133dc",
"slug": "zipper",
"core": false,
"unlocked_by": null,
"difficulty": 8,
"topics": [
"recursion",
"searching",
"trees"
]
},
{
"uuid": "3a2a947a-01b3-1e80-e32b-de1756fd88365adf12e",
"slug": "error-handling",
"core": false,
"unlocked_by": null,
"difficulty": 3,
"topics": [
"exception_handling"
]
},
{
"uuid": "e7351e8e-d3ff-4621-b818-cd55cf05bffd",
"slug": "accumulate",
Expand Down
Loading