diff --git a/config/exercise_readme.go.tmpl b/config/exercise_readme.go.tmpl index 723fda5b7b..b0aa1d02e1 100644 --- a/config/exercise_readme.go.tmpl +++ b/config/exercise_readme.go.tmpl @@ -12,7 +12,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -28,10 +28,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest {{ .Spec.SnakeCaseName }}_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -49,4 +50,5 @@ please see the [help page](http://exercism.io/languages/python). {{ . }} {{ end }} ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/accumulate/README.md b/exercises/accumulate/README.md index 9cb4b9230d..03eb72f7f2 100644 --- a/exercises/accumulate/README.md +++ b/exercises/accumulate/README.md @@ -33,7 +33,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -49,10 +49,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest accumulate_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -70,4 +71,5 @@ please see the [help page](http://exercism.io/languages/python). Conversation with James Edward Gray II [https://twitter.com/jeg2](https://twitter.com/jeg2) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/acronym/README.md b/exercises/acronym/README.md index 489e32c2b2..13c3f3b795 100644 --- a/exercises/acronym/README.md +++ b/exercises/acronym/README.md @@ -15,7 +15,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -31,10 +31,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest acronym_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -52,4 +53,5 @@ please see the [help page](http://exercism.io/languages/python). Julien Vanier [https://github.com/monkbroc](https://github.com/monkbroc) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/all-your-base/README.md b/exercises/all-your-base/README.md index 6e721e7745..5f4d2d0130 100644 --- a/exercises/all-your-base/README.md +++ b/exercises/all-your-base/README.md @@ -39,7 +39,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -55,10 +55,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest all_your_base_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -72,4 +73,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/allergies/README.md b/exercises/allergies/README.md index 752f374979..25ffea6304 100644 --- a/exercises/allergies/README.md +++ b/exercises/allergies/README.md @@ -37,7 +37,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -53,10 +53,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest allergies_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -74,4 +75,5 @@ please see the [help page](http://exercism.io/languages/python). Jumpstart Lab Warm-up [http://jumpstartlab.com](http://jumpstartlab.com) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/alphametics/README.md b/exercises/alphametics/README.md index 622b9a493e..995a500419 100644 --- a/exercises/alphametics/README.md +++ b/exercises/alphametics/README.md @@ -39,7 +39,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -55,10 +55,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest alphametics_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -72,4 +73,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/anagram/README.md b/exercises/anagram/README.md index dafa0da5de..6a44944a23 100644 --- a/exercises/anagram/README.md +++ b/exercises/anagram/README.md @@ -14,7 +14,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -30,10 +30,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest anagram_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -51,4 +52,5 @@ please see the [help page](http://exercism.io/languages/python). Inspired by the Extreme Startup game [https://github.com/rchatley/extreme_startup](https://github.com/rchatley/extreme_startup) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/armstrong-numbers/README.md b/exercises/armstrong-numbers/README.md index 585d1fdaaf..8207b92a6e 100644 --- a/exercises/armstrong-numbers/README.md +++ b/exercises/armstrong-numbers/README.md @@ -19,7 +19,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -35,10 +35,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest armstrong_numbers_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -56,4 +57,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [https://en.wikipedia.org/wiki/Narcissistic_number](https://en.wikipedia.org/wiki/Narcissistic_number) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/atbash-cipher/README.md b/exercises/atbash-cipher/README.md index c83007455b..825e1d06ec 100644 --- a/exercises/atbash-cipher/README.md +++ b/exercises/atbash-cipher/README.md @@ -36,7 +36,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -52,10 +52,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest atbash_cipher_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -73,4 +74,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [http://en.wikipedia.org/wiki/Atbash](http://en.wikipedia.org/wiki/Atbash) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/beer-song/README.md b/exercises/beer-song/README.md index c6e7bc03d3..80694cf352 100644 --- a/exercises/beer-song/README.md +++ b/exercises/beer-song/README.md @@ -328,7 +328,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -344,10 +344,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest beer_song_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -365,4 +366,5 @@ please see the [help page](http://exercism.io/languages/python). Learn to Program by Chris Pine [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/binary-search-tree/README.md b/exercises/binary-search-tree/README.md index 2fb3d55155..1e2deee9af 100644 --- a/exercises/binary-search-tree/README.md +++ b/exercises/binary-search-tree/README.md @@ -61,7 +61,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -77,10 +77,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest binary_search_tree_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -98,4 +99,5 @@ please see the [help page](http://exercism.io/languages/python). Josh Cheek [https://twitter.com/josh_cheek](https://twitter.com/josh_cheek) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/binary-search/README.md b/exercises/binary-search/README.md index 34948c18bf..223a9a25f1 100644 --- a/exercises/binary-search/README.md +++ b/exercises/binary-search/README.md @@ -42,7 +42,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -58,10 +58,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest binary_search_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -79,4 +80,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [http://en.wikipedia.org/wiki/Binary_search_algorithm](http://en.wikipedia.org/wiki/Binary_search_algorithm) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/binary/README.md b/exercises/binary/README.md index 66c1ba0503..7b66423614 100644 --- a/exercises/binary/README.md +++ b/exercises/binary/README.md @@ -38,7 +38,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -54,10 +54,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest binary_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -75,4 +76,5 @@ please see the [help page](http://exercism.io/languages/python). All of Computer Science [http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-](http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/bob/README.md b/exercises/bob/README.md index a7073834c2..c7d4f0b113 100644 --- a/exercises/bob/README.md +++ b/exercises/bob/README.md @@ -21,7 +21,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -37,10 +37,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest bob_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -58,4 +59,5 @@ please see the [help page](http://exercism.io/languages/python). Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/book-store/README.md b/exercises/book-store/README.md index c15756ace7..f4a532f931 100644 --- a/exercises/book-store/README.md +++ b/exercises/book-store/README.md @@ -75,7 +75,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -91,10 +91,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest book_store_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -112,4 +113,5 @@ please see the [help page](http://exercism.io/languages/python). Inspired by the harry potter kata from Cyber-Dojo. [http://cyber-dojo.org](http://cyber-dojo.org) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/bowling/README.md b/exercises/bowling/README.md index 2d6f26750d..a217b90e3f 100644 --- a/exercises/bowling/README.md +++ b/exercises/bowling/README.md @@ -68,7 +68,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -84,10 +84,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest bowling_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -105,4 +106,5 @@ please see the [help page](http://exercism.io/languages/python). The Bowling Game Kata at but UncleBob [http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata](http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/bracket-push/README.md b/exercises/bracket-push/README.md index 8d42efbc20..7d264690bd 100644 --- a/exercises/bracket-push/README.md +++ b/exercises/bracket-push/README.md @@ -11,7 +11,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -27,10 +27,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest bracket_push_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -48,4 +49,5 @@ please see the [help page](http://exercism.io/languages/python). Ginna Baker ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/change/README.md b/exercises/change/README.md index a1613b4cdb..33f09a97be 100644 --- a/exercises/change/README.md +++ b/exercises/change/README.md @@ -24,7 +24,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -40,10 +40,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest change_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -61,4 +62,5 @@ please see the [help page](http://exercism.io/languages/python). Software Craftsmanship - Coin Change Kata [https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata](https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/circular-buffer/README.md b/exercises/circular-buffer/README.md index e65b341eda..3dcd0595e8 100644 --- a/exercises/circular-buffer/README.md +++ b/exercises/circular-buffer/README.md @@ -58,7 +58,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -74,10 +74,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest circular_buffer_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -95,4 +96,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [http://en.wikipedia.org/wiki/Circular_buffer](http://en.wikipedia.org/wiki/Circular_buffer) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/clock/README.md b/exercises/clock/README.md index d1c1ab655d..3cc70cf544 100644 --- a/exercises/clock/README.md +++ b/exercises/clock/README.md @@ -14,7 +14,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -30,10 +30,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest clock_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -51,4 +52,5 @@ please see the [help page](http://exercism.io/languages/python). Pairing session with Erin Drummond [https://twitter.com/ebdrummond](https://twitter.com/ebdrummond) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/collatz-conjecture/README.md b/exercises/collatz-conjecture/README.md index 4d879b747b..2033352e2c 100644 --- a/exercises/collatz-conjecture/README.md +++ b/exercises/collatz-conjecture/README.md @@ -39,7 +39,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -55,10 +55,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest collatz_conjecture_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -76,4 +77,5 @@ please see the [help page](http://exercism.io/languages/python). An unsolved problem in mathematics named after mathematician Lothar Collatz [https://en.wikipedia.org/wiki/3x_%2B_1_problem](https://en.wikipedia.org/wiki/3x_%2B_1_problem) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/complex-numbers/README.md b/exercises/complex-numbers/README.md index 53d4a15350..be915be539 100644 --- a/exercises/complex-numbers/README.md +++ b/exercises/complex-numbers/README.md @@ -44,7 +44,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -60,10 +60,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest complex_numbers_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -81,4 +82,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [https://en.wikipedia.org/wiki/Complex_number](https://en.wikipedia.org/wiki/Complex_number) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/connect/README.md b/exercises/connect/README.md index 9bc29c0fa6..b5c1799092 100644 --- a/exercises/connect/README.md +++ b/exercises/connect/README.md @@ -38,7 +38,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -54,10 +54,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest connect_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -71,4 +72,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/crypto-square/README.md b/exercises/crypto-square/README.md index acc8dfbd73..919e97b1c3 100644 --- a/exercises/crypto-square/README.md +++ b/exercises/crypto-square/README.md @@ -77,7 +77,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -93,10 +93,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest crypto_square_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -114,4 +115,5 @@ please see the [help page](http://exercism.io/languages/python). J Dalbey's Programming Practice problems [http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html](http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/custom-set/README.md b/exercises/custom-set/README.md index 18ce3255d6..ee82d4b921 100644 --- a/exercises/custom-set/README.md +++ b/exercises/custom-set/README.md @@ -15,7 +15,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -31,10 +31,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest custom_set_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -48,4 +49,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/diamond/README.md b/exercises/diamond/README.md index 05ef15e613..03315ade75 100644 --- a/exercises/diamond/README.md +++ b/exercises/diamond/README.md @@ -60,7 +60,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -76,10 +76,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest diamond_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -97,4 +98,5 @@ please see the [help page](http://exercism.io/languages/python). Seb Rose [http://claysnow.co.uk/recycling-tests-in-tdd/](http://claysnow.co.uk/recycling-tests-in-tdd/) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/difference-of-squares/README.md b/exercises/difference-of-squares/README.md index d8f8a3965e..4b28042310 100644 --- a/exercises/difference-of-squares/README.md +++ b/exercises/difference-of-squares/README.md @@ -20,7 +20,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -36,10 +36,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest difference_of_squares_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -57,4 +58,5 @@ please see the [help page](http://exercism.io/languages/python). Problem 6 at Project Euler [http://projecteuler.net/problem=6](http://projecteuler.net/problem=6) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/diffie-hellman/README.md b/exercises/diffie-hellman/README.md index 9110cf722e..f5b49aa207 100644 --- a/exercises/diffie-hellman/README.md +++ b/exercises/diffie-hellman/README.md @@ -62,7 +62,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -78,10 +78,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest diffie_hellman_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -99,4 +100,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia, 1024 bit key from www.cryptopp.com/wiki. [http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange](http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/dominoes/README.md b/exercises/dominoes/README.md index d076968c34..86b1d321c5 100644 --- a/exercises/dominoes/README.md +++ b/exercises/dominoes/README.md @@ -22,7 +22,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -38,10 +38,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest dominoes_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -55,4 +56,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/dot-dsl/README.md b/exercises/dot-dsl/README.md index 1aa24b0c4b..2964d08f48 100644 --- a/exercises/dot-dsl/README.md +++ b/exercises/dot-dsl/README.md @@ -48,7 +48,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -64,10 +64,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest dot_dsl_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -81,4 +82,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/error-handling/README.md b/exercises/error-handling/README.md index 6a5c29e7d5..6fdbed5a04 100644 --- a/exercises/error-handling/README.md +++ b/exercises/error-handling/README.md @@ -27,7 +27,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -43,10 +43,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest error_handling_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -60,4 +61,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/etl/README.md b/exercises/etl/README.md index 149737ef91..4e8483a9eb 100644 --- a/exercises/etl/README.md +++ b/exercises/etl/README.md @@ -54,7 +54,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -70,10 +70,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest etl_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -91,4 +92,5 @@ please see the [help page](http://exercism.io/languages/python). The Jumpstart Lab team [http://jumpstartlab.com](http://jumpstartlab.com) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/flatten-array/README.md b/exercises/flatten-array/README.md index 05203da96b..ce4aee287f 100644 --- a/exercises/flatten-array/README.md +++ b/exercises/flatten-array/README.md @@ -18,7 +18,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -34,10 +34,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest flatten_array_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -55,4 +56,5 @@ please see the [help page](http://exercism.io/languages/python). Interview Question [https://reference.wolfram.com/language/ref/Flatten.html](https://reference.wolfram.com/language/ref/Flatten.html) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/food-chain/README.md b/exercises/food-chain/README.md index 5edf552ddd..4fe50ad6ad 100644 --- a/exercises/food-chain/README.md +++ b/exercises/food-chain/README.md @@ -71,7 +71,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -87,10 +87,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest food_chain_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -108,4 +109,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [http://en.wikipedia.org/wiki/There_Was_an_Old_Lady_Who_Swallowed_a_Fly](http://en.wikipedia.org/wiki/There_Was_an_Old_Lady_Who_Swallowed_a_Fly) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/forth/README.md b/exercises/forth/README.md index af608c4d72..0f079a7837 100644 --- a/exercises/forth/README.md +++ b/exercises/forth/README.md @@ -33,7 +33,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -49,10 +49,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest forth_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -66,4 +67,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/gigasecond/README.md b/exercises/gigasecond/README.md index 50c7c7b760..bcbf0382a1 100644 --- a/exercises/gigasecond/README.md +++ b/exercises/gigasecond/README.md @@ -12,7 +12,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -28,10 +28,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest gigasecond_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -49,4 +50,5 @@ please see the [help page](http://exercism.io/languages/python). Chapter 9 in Chris Pine's online Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=09](http://pine.fm/LearnToProgram/?Chapter=09) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/go-counting/README.md b/exercises/go-counting/README.md index 857528ea46..8e0439fb85 100644 --- a/exercises/go-counting/README.md +++ b/exercises/go-counting/README.md @@ -41,7 +41,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -57,10 +57,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest go_counting_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -74,4 +75,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/grade-school/README.md b/exercises/grade-school/README.md index 9ede61a59e..1ee2a1c8be 100644 --- a/exercises/grade-school/README.md +++ b/exercises/grade-school/README.md @@ -42,7 +42,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -58,10 +58,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest grade_school_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -79,4 +80,5 @@ please see the [help page](http://exercism.io/languages/python). A pairing session with Phil Battos at gSchool [http://gschool.it](http://gschool.it) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/grains/README.md b/exercises/grains/README.md index 4fc98b83f6..63a337682f 100644 --- a/exercises/grains/README.md +++ b/exercises/grains/README.md @@ -34,7 +34,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -50,10 +50,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest grains_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -71,4 +72,5 @@ please see the [help page](http://exercism.io/languages/python). JavaRanch Cattle Drive, exercise 6 [http://www.javaranch.com/grains.jsp](http://www.javaranch.com/grains.jsp) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/grep/README.md b/exercises/grep/README.md index 954e53edd5..04ae196253 100644 --- a/exercises/grep/README.md +++ b/exercises/grep/README.md @@ -72,7 +72,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -88,10 +88,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest grep_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -109,4 +110,5 @@ please see the [help page](http://exercism.io/languages/python). Conversation with Nate Foster. [http://www.cs.cornell.edu/Courses/cs3110/2014sp/hw/0/ps0.pdf](http://www.cs.cornell.edu/Courses/cs3110/2014sp/hw/0/ps0.pdf) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/hamming/README.md b/exercises/hamming/README.md index 27566f7ebd..3849af1868 100644 --- a/exercises/hamming/README.md +++ b/exercises/hamming/README.md @@ -43,7 +43,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -59,10 +59,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest hamming_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -80,4 +81,5 @@ please see the [help page](http://exercism.io/languages/python). The Calculating Point Mutations problem at Rosalind [http://rosalind.info/problems/hamm/](http://rosalind.info/problems/hamm/) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/hello-world/README.md b/exercises/hello-world/README.md index 3e5b125b51..8e2328c19d 100644 --- a/exercises/hello-world/README.md +++ b/exercises/hello-world/README.md @@ -22,7 +22,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -38,10 +38,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest hello_world_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -59,4 +60,5 @@ please see the [help page](http://exercism.io/languages/python). This is an exercise to introduce users to using Exercism [http://en.wikipedia.org/wiki/%22Hello,_world!%22_program](http://en.wikipedia.org/wiki/%22Hello,_world!%22_program) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/hexadecimal/README.md b/exercises/hexadecimal/README.md index 6cadd15079..aeca4fa9b8 100644 --- a/exercises/hexadecimal/README.md +++ b/exercises/hexadecimal/README.md @@ -15,7 +15,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -31,10 +31,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest hexadecimal_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -52,4 +53,5 @@ please see the [help page](http://exercism.io/languages/python). All of Computer Science [http://www.wolframalpha.com/examples/NumberBases.html](http://www.wolframalpha.com/examples/NumberBases.html) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/house/README.md b/exercises/house/README.md index d7b709dd3b..282e274055 100644 --- a/exercises/house/README.md +++ b/exercises/house/README.md @@ -113,7 +113,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -129,10 +129,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest house_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -150,4 +151,5 @@ please see the [help page](http://exercism.io/languages/python). British nursery rhyme [http://en.wikipedia.org/wiki/This_Is_The_House_That_Jack_Built](http://en.wikipedia.org/wiki/This_Is_The_House_That_Jack_Built) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/isbn-verifier/README.md b/exercises/isbn-verifier/README.md index 27809cd4c3..f0ae471f6f 100644 --- a/exercises/isbn-verifier/README.md +++ b/exercises/isbn-verifier/README.md @@ -48,7 +48,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -64,10 +64,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest isbn_verifier_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -85,4 +86,5 @@ please see the [help page](http://exercism.io/languages/python). Converting a string into a number and some basic processing utilizing a relatable real world example. [https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation](https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/isogram/README.md b/exercises/isogram/README.md index 152480b7ab..5115396b22 100644 --- a/exercises/isogram/README.md +++ b/exercises/isogram/README.md @@ -21,7 +21,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -37,10 +37,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest isogram_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -58,4 +59,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [https://en.wikipedia.org/wiki/Isogram](https://en.wikipedia.org/wiki/Isogram) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/kindergarten-garden/README.md b/exercises/kindergarten-garden/README.md index ba8a087a83..3980d87089 100644 --- a/exercises/kindergarten-garden/README.md +++ b/exercises/kindergarten-garden/README.md @@ -67,7 +67,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -83,10 +83,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest kindergarten_garden_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -104,4 +105,5 @@ please see the [help page](http://exercism.io/languages/python). Random musings during airplane trip. [http://jumpstartlab.com](http://jumpstartlab.com) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/largest-series-product/README.md b/exercises/largest-series-product/README.md index 36dcf1231f..f88d6f4e49 100644 --- a/exercises/largest-series-product/README.md +++ b/exercises/largest-series-product/README.md @@ -21,7 +21,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -37,10 +37,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest largest_series_product_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -58,4 +59,5 @@ please see the [help page](http://exercism.io/languages/python). A variation on Problem 8 at Project Euler [http://projecteuler.net/problem=8](http://projecteuler.net/problem=8) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/leap/README.md b/exercises/leap/README.md index 0166070cd5..e1f7826f35 100644 --- a/exercises/leap/README.md +++ b/exercises/leap/README.md @@ -34,7 +34,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -50,10 +50,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest leap_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -71,4 +72,5 @@ please see the [help page](http://exercism.io/languages/python). JavaRanch Cattle Drive, exercise 3 [http://www.javaranch.com/leap.jsp](http://www.javaranch.com/leap.jsp) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/linked-list/README.md b/exercises/linked-list/README.md index d3cd3b58b2..38d438eb10 100644 --- a/exercises/linked-list/README.md +++ b/exercises/linked-list/README.md @@ -35,7 +35,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -51,10 +51,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest linked_list_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -72,4 +73,5 @@ please see the [help page](http://exercism.io/languages/python). Classic computer science topic ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/list-ops/README.md b/exercises/list-ops/README.md index acb0869ab4..db5e2011b5 100644 --- a/exercises/list-ops/README.md +++ b/exercises/list-ops/README.md @@ -14,7 +14,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -30,10 +30,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest list_ops_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -47,4 +48,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/luhn/README.md b/exercises/luhn/README.md index 2ae8f805c4..6ece2fe3e0 100644 --- a/exercises/luhn/README.md +++ b/exercises/luhn/README.md @@ -72,7 +72,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -88,10 +88,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest luhn_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -109,4 +110,5 @@ please see the [help page](http://exercism.io/languages/python). The Luhn Algorithm on Wikipedia [http://en.wikipedia.org/wiki/Luhn_algorithm](http://en.wikipedia.org/wiki/Luhn_algorithm) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/markdown/README.md b/exercises/markdown/README.md index 5ecf15c0cc..10d263ce14 100644 --- a/exercises/markdown/README.md +++ b/exercises/markdown/README.md @@ -22,7 +22,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -38,10 +38,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest markdown_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -55,4 +56,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/matrix/README.md b/exercises/matrix/README.md index d71988ab63..8fdffdfef8 100644 --- a/exercises/matrix/README.md +++ b/exercises/matrix/README.md @@ -48,7 +48,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -64,10 +64,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest matrix_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -85,4 +86,5 @@ please see the [help page](http://exercism.io/languages/python). Warmup to the `saddle-points` warmup. [http://jumpstartlab.com](http://jumpstartlab.com) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/meetup/README.md b/exercises/meetup/README.md index a5919cff46..a5a3434a59 100644 --- a/exercises/meetup/README.md +++ b/exercises/meetup/README.md @@ -34,7 +34,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -50,10 +50,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest meetup_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -71,4 +72,5 @@ please see the [help page](http://exercism.io/languages/python). Jeremy Hinegardner mentioned a Boulder meetup that happens on the Wednesteenth of every month [https://twitter.com/copiousfreetime](https://twitter.com/copiousfreetime) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/minesweeper/README.md b/exercises/minesweeper/README.md index 2382b3350f..892f8e0d89 100644 --- a/exercises/minesweeper/README.md +++ b/exercises/minesweeper/README.md @@ -34,7 +34,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -50,10 +50,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest minesweeper_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -67,4 +68,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/nth-prime/README.md b/exercises/nth-prime/README.md index 09076e72f0..2acf11dca0 100644 --- a/exercises/nth-prime/README.md +++ b/exercises/nth-prime/README.md @@ -16,7 +16,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -32,10 +32,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest nth_prime_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -53,4 +54,5 @@ please see the [help page](http://exercism.io/languages/python). A variation on Problem 7 at Project Euler [http://projecteuler.net/problem=7](http://projecteuler.net/problem=7) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/nucleotide-count/README.md b/exercises/nucleotide-count/README.md index 5470c1d1df..83d2bcebe3 100644 --- a/exercises/nucleotide-count/README.md +++ b/exercises/nucleotide-count/README.md @@ -20,7 +20,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -36,10 +36,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest nucleotide_count_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -57,4 +58,5 @@ please see the [help page](http://exercism.io/languages/python). The Calculating DNA Nucleotides_problem at Rosalind [http://rosalind.info/problems/dna/](http://rosalind.info/problems/dna/) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/ocr-numbers/README.md b/exercises/ocr-numbers/README.md index e8d13e1d73..53322be42a 100644 --- a/exercises/ocr-numbers/README.md +++ b/exercises/ocr-numbers/README.md @@ -86,7 +86,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -102,10 +102,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest ocr_numbers_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -123,4 +124,5 @@ please see the [help page](http://exercism.io/languages/python). Inspired by the Bank OCR kata [http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR](http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/octal/README.md b/exercises/octal/README.md index 1d9b9d6388..4b59ce77cb 100644 --- a/exercises/octal/README.md +++ b/exercises/octal/README.md @@ -54,7 +54,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -70,10 +70,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest octal_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -91,4 +92,5 @@ please see the [help page](http://exercism.io/languages/python). All of Computer Science [http://www.wolframalpha.com/input/?i=base+8](http://www.wolframalpha.com/input/?i=base+8) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/palindrome-products/README.md b/exercises/palindrome-products/README.md index a1afd08a89..5355debba4 100644 --- a/exercises/palindrome-products/README.md +++ b/exercises/palindrome-products/README.md @@ -40,7 +40,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -56,10 +56,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest palindrome_products_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -77,4 +78,5 @@ please see the [help page](http://exercism.io/languages/python). Problem 4 at Project Euler [http://projecteuler.net/problem=4](http://projecteuler.net/problem=4) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/pangram/README.md b/exercises/pangram/README.md index 2e5fa4181d..effb7b3265 100644 --- a/exercises/pangram/README.md +++ b/exercises/pangram/README.md @@ -16,7 +16,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -32,10 +32,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest pangram_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -53,4 +54,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [https://en.wikipedia.org/wiki/Pangram](https://en.wikipedia.org/wiki/Pangram) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/parallel-letter-frequency/README.md b/exercises/parallel-letter-frequency/README.md index 477f9317cd..62dbb5b3a8 100644 --- a/exercises/parallel-letter-frequency/README.md +++ b/exercises/parallel-letter-frequency/README.md @@ -15,7 +15,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -31,10 +31,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest parallel_letter_frequency_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -48,4 +49,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/pascals-triangle/README.md b/exercises/pascals-triangle/README.md index bb7ca751fd..61f37d0422 100644 --- a/exercises/pascals-triangle/README.md +++ b/exercises/pascals-triangle/README.md @@ -22,7 +22,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -38,10 +38,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest pascals_triangle_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -59,4 +60,5 @@ please see the [help page](http://exercism.io/languages/python). Pascal's Triangle at Wolfram Math World [http://mathworld.wolfram.com/PascalsTriangle.html](http://mathworld.wolfram.com/PascalsTriangle.html) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/perfect-numbers/README.md b/exercises/perfect-numbers/README.md index bb130d57a6..e734b91ef4 100644 --- a/exercises/perfect-numbers/README.md +++ b/exercises/perfect-numbers/README.md @@ -25,7 +25,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -41,10 +41,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest perfect_numbers_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -62,4 +63,5 @@ please see the [help page](http://exercism.io/languages/python). Taken from Chapter 2 of Functional Thinking by Neal Ford. [http://shop.oreilly.com/product/0636920029687.do](http://shop.oreilly.com/product/0636920029687.do) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/phone-number/README.md b/exercises/phone-number/README.md index 581302b029..72ed048b6d 100644 --- a/exercises/phone-number/README.md +++ b/exercises/phone-number/README.md @@ -36,7 +36,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -52,10 +52,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest phone_number_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -73,4 +74,5 @@ please see the [help page](http://exercism.io/languages/python). Event Manager by JumpstartLab [http://tutorials.jumpstartlab.com/projects/eventmanager.html](http://tutorials.jumpstartlab.com/projects/eventmanager.html) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/pig-latin/README.md b/exercises/pig-latin/README.md index 6a68117bba..9fa95c72eb 100644 --- a/exercises/pig-latin/README.md +++ b/exercises/pig-latin/README.md @@ -25,7 +25,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -41,10 +41,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest pig_latin_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -62,4 +63,5 @@ please see the [help page](http://exercism.io/languages/python). The Pig Latin exercise at Test First Teaching by Ultrasaurus [https://github.com/ultrasaurus/test-first-teaching/blob/master/learn_ruby/pig_latin/](https://github.com/ultrasaurus/test-first-teaching/blob/master/learn_ruby/pig_latin/) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/point-mutations/README.md b/exercises/point-mutations/README.md index dce6b700d2..60ec8912b4 100644 --- a/exercises/point-mutations/README.md +++ b/exercises/point-mutations/README.md @@ -42,7 +42,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -58,10 +58,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest point_mutations_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -79,4 +80,5 @@ please see the [help page](http://exercism.io/languages/python). The Calculating Point Mutations problem at Rosalind [http://rosalind.info/problems/hamm/](http://rosalind.info/problems/hamm/) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/poker/README.md b/exercises/poker/README.md index 9d62cfa552..03d28f1fa6 100644 --- a/exercises/poker/README.md +++ b/exercises/poker/README.md @@ -13,7 +13,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -29,10 +29,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest poker_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -50,4 +51,5 @@ please see the [help page](http://exercism.io/languages/python). Inspired by the training course from Udacity. [https://www.udacity.com/course/viewer#!/c-cs212/](https://www.udacity.com/course/viewer#!/c-cs212/) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/pov/README.md b/exercises/pov/README.md index 170ac0dff9..8a00c56ff2 100644 --- a/exercises/pov/README.md +++ b/exercises/pov/README.md @@ -45,7 +45,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -61,10 +61,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest pov_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -82,4 +83,5 @@ please see the [help page](http://exercism.io/languages/python). Adaptation of exercise from 4clojure [https://www.4clojure.com/](https://www.4clojure.com/) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/prime-factors/README.md b/exercises/prime-factors/README.md index cf2260c6c3..9c4045c6b3 100644 --- a/exercises/prime-factors/README.md +++ b/exercises/prime-factors/README.md @@ -37,7 +37,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -53,10 +53,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest prime_factors_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -74,4 +75,5 @@ please see the [help page](http://exercism.io/languages/python). The Prime Factors Kata by Uncle Bob [http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata](http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/protein-translation/README.md b/exercises/protein-translation/README.md index 0dab8ed6a7..88b0e53d3c 100644 --- a/exercises/protein-translation/README.md +++ b/exercises/protein-translation/README.md @@ -49,7 +49,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -65,10 +65,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest protein_translation_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -86,4 +87,5 @@ please see the [help page](http://exercism.io/languages/python). Tyler Long ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/proverb/README.md b/exercises/proverb/README.md index 50c18520f1..d6ad5c9ed2 100644 --- a/exercises/proverb/README.md +++ b/exercises/proverb/README.md @@ -24,7 +24,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -40,10 +40,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest proverb_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -61,4 +62,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [http://en.wikipedia.org/wiki/For_Want_of_a_Nail](http://en.wikipedia.org/wiki/For_Want_of_a_Nail) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/pythagorean-triplet/README.md b/exercises/pythagorean-triplet/README.md index 33dcc5d739..e486365739 100644 --- a/exercises/pythagorean-triplet/README.md +++ b/exercises/pythagorean-triplet/README.md @@ -25,7 +25,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -41,10 +41,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest pythagorean_triplet_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -62,4 +63,5 @@ please see the [help page](http://exercism.io/languages/python). Problem 9 at Project Euler [http://projecteuler.net/problem=9](http://projecteuler.net/problem=9) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/queen-attack/README.md b/exercises/queen-attack/README.md index 5163ef91a3..a64d48c02c 100644 --- a/exercises/queen-attack/README.md +++ b/exercises/queen-attack/README.md @@ -34,7 +34,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -50,10 +50,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest queen_attack_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -71,4 +72,5 @@ please see the [help page](http://exercism.io/languages/python). J Dalbey's Programming Practice problems [http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html](http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/rail-fence-cipher/README.md b/exercises/rail-fence-cipher/README.md index 06aa7e590d..00d5be0384 100644 --- a/exercises/rail-fence-cipher/README.md +++ b/exercises/rail-fence-cipher/README.md @@ -66,7 +66,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -82,10 +82,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest rail_fence_cipher_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -103,4 +104,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [https://en.wikipedia.org/wiki/Transposition_cipher#Rail_Fence_cipher](https://en.wikipedia.org/wiki/Transposition_cipher#Rail_Fence_cipher) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/raindrops/README.md b/exercises/raindrops/README.md index a70a8744b1..871208c330 100644 --- a/exercises/raindrops/README.md +++ b/exercises/raindrops/README.md @@ -25,7 +25,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -41,10 +41,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest raindrops_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -62,4 +63,5 @@ please see the [help page](http://exercism.io/languages/python). A variation on a famous interview question intended to weed out potential candidates. [http://jumpstartlab.com](http://jumpstartlab.com) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/rational-numbers/README.md b/exercises/rational-numbers/README.md index cd2b0b6fb4..3cba387ca7 100644 --- a/exercises/rational-numbers/README.md +++ b/exercises/rational-numbers/README.md @@ -36,12 +36,30 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") ``` +## Running the tests + +To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)): + +- Python 2.7: `py.test rational_numbers_test.py` +- Python 3.3+: `pytest rational_numbers_test.py` + +Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): +`python -m pytest rational_numbers_test.py` + +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases + +For other options, see `python -m pytest -h` + ## Submitting Exercises Note that, when trying to submit an exercise, make sure the solution is in the `$EXERCISM_WORKSPACE/python/rational-numbers` directory. @@ -56,4 +74,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [https://en.wikipedia.org/wiki/Rational_number](https://en.wikipedia.org/wiki/Rational_number) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/react/README.md b/exercises/react/README.md index 4101b60111..00d3b3a039 100644 --- a/exercises/react/README.md +++ b/exercises/react/README.md @@ -23,7 +23,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -39,10 +39,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest react_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -56,4 +57,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/rectangles/README.md b/exercises/rectangles/README.md index 31f9b273ad..c73b7f36dc 100644 --- a/exercises/rectangles/README.md +++ b/exercises/rectangles/README.md @@ -71,7 +71,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -87,10 +87,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest rectangles_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -104,4 +105,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/reverse-string/README.md b/exercises/reverse-string/README.md index c63c49b6b9..20c31219a2 100644 --- a/exercises/reverse-string/README.md +++ b/exercises/reverse-string/README.md @@ -14,7 +14,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -30,10 +30,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest reverse_string_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -51,4 +52,5 @@ please see the [help page](http://exercism.io/languages/python). Introductory challenge to reverse an input string [https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb](https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/rna-transcription/README.md b/exercises/rna-transcription/README.md index b7c01fc89d..6e16ef43aa 100644 --- a/exercises/rna-transcription/README.md +++ b/exercises/rna-transcription/README.md @@ -29,7 +29,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -45,10 +45,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest rna_transcription_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -66,4 +67,5 @@ please see the [help page](http://exercism.io/languages/python). Hyperphysics [http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html](http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/robot-name/README.md b/exercises/robot-name/README.md index 51a03fc316..a97128f573 100644 --- a/exercises/robot-name/README.md +++ b/exercises/robot-name/README.md @@ -23,7 +23,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -39,10 +39,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest robot_name_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -60,4 +61,5 @@ please see the [help page](http://exercism.io/languages/python). A debugging session with Paul Blackwell at gSchool. [http://gschool.it](http://gschool.it) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/robot-simulator/README.md b/exercises/robot-simulator/README.md index 44e55ee89a..424db544b2 100644 --- a/exercises/robot-simulator/README.md +++ b/exercises/robot-simulator/README.md @@ -35,7 +35,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -51,10 +51,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest robot_simulator_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -72,4 +73,5 @@ please see the [help page](http://exercism.io/languages/python). Inspired by an interview question at a famous company. ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/roman-numerals/README.md b/exercises/roman-numerals/README.md index edf49d030e..7ebb3f444c 100644 --- a/exercises/roman-numerals/README.md +++ b/exercises/roman-numerals/README.md @@ -50,7 +50,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -66,10 +66,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest roman_numerals_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -87,4 +88,5 @@ please see the [help page](http://exercism.io/languages/python). The Roman Numeral Kata [http://codingdojo.org/cgi-bin/index.pl?KataRomanNumerals](http://codingdojo.org/cgi-bin/index.pl?KataRomanNumerals) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/rotational-cipher/README.md b/exercises/rotational-cipher/README.md index c79f222570..f2c0336e92 100644 --- a/exercises/rotational-cipher/README.md +++ b/exercises/rotational-cipher/README.md @@ -38,7 +38,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -54,10 +54,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest rotational_cipher_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -75,4 +76,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [https://en.wikipedia.org/wiki/Caesar_cipher](https://en.wikipedia.org/wiki/Caesar_cipher) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/run-length-encoding/README.md b/exercises/run-length-encoding/README.md index 1dacdb76dd..bd813a2b3b 100644 --- a/exercises/run-length-encoding/README.md +++ b/exercises/run-length-encoding/README.md @@ -31,7 +31,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -47,10 +47,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest run_length_encoding_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -68,4 +69,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [https://en.wikipedia.org/wiki/Run-length_encoding](https://en.wikipedia.org/wiki/Run-length_encoding) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/saddle-points/README.md b/exercises/saddle-points/README.md index 758e17b676..6f8e3eccf2 100644 --- a/exercises/saddle-points/README.md +++ b/exercises/saddle-points/README.md @@ -34,7 +34,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -50,10 +50,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest saddle_points_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -71,4 +72,5 @@ please see the [help page](http://exercism.io/languages/python). J Dalbey's Programming Practice problems [http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html](http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/say/README.md b/exercises/say/README.md index e8f59898da..ecd2b70756 100644 --- a/exercises/say/README.md +++ b/exercises/say/README.md @@ -70,7 +70,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -86,10 +86,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest say_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -107,4 +108,5 @@ please see the [help page](http://exercism.io/languages/python). A variation on JavaRanch CattleDrive, exercise 4a [http://www.javaranch.com/say.jsp](http://www.javaranch.com/say.jsp) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/scale-generator/README.md b/exercises/scale-generator/README.md index 80cadfb227..149e7b21a8 100644 --- a/exercises/scale-generator/README.md +++ b/exercises/scale-generator/README.md @@ -63,7 +63,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -79,10 +79,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest scale_generator_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -96,4 +97,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/scrabble-score/README.md b/exercises/scrabble-score/README.md index f80f2ba3f1..c804196097 100644 --- a/exercises/scrabble-score/README.md +++ b/exercises/scrabble-score/README.md @@ -47,7 +47,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -63,10 +63,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest scrabble_score_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -84,4 +85,5 @@ please see the [help page](http://exercism.io/languages/python). Inspired by the Extreme Startup game [https://github.com/rchatley/extreme_startup](https://github.com/rchatley/extreme_startup) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/secret-handshake/README.md b/exercises/secret-handshake/README.md index 1eba9fc36e..0b9820e933 100644 --- a/exercises/secret-handshake/README.md +++ b/exercises/secret-handshake/README.md @@ -36,7 +36,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -52,10 +52,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest secret_handshake_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -73,4 +74,5 @@ please see the [help page](http://exercism.io/languages/python). Bert, in Mary Poppins [http://www.imdb.com/title/tt0058331/quotes/qt0437047](http://www.imdb.com/title/tt0058331/quotes/qt0437047) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/series/README.md b/exercises/series/README.md index a34c51ebf1..4692f6e667 100644 --- a/exercises/series/README.md +++ b/exercises/series/README.md @@ -28,7 +28,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -44,10 +44,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest series_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -65,4 +66,5 @@ please see the [help page](http://exercism.io/languages/python). A subset of the Problem 8 at Project Euler [http://projecteuler.net/problem=8](http://projecteuler.net/problem=8) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/sieve/README.md b/exercises/sieve/README.md index 70c8dcae03..4300b7b349 100644 --- a/exercises/sieve/README.md +++ b/exercises/sieve/README.md @@ -35,7 +35,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -51,10 +51,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest sieve_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -72,4 +73,5 @@ please see the [help page](http://exercism.io/languages/python). Sieve of Eratosthenes at Wikipedia [http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes](http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/simple-cipher/README.md b/exercises/simple-cipher/README.md index 9568b99917..44ec09a655 100644 --- a/exercises/simple-cipher/README.md +++ b/exercises/simple-cipher/README.md @@ -107,7 +107,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -123,10 +123,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest simple_cipher_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -144,4 +145,5 @@ please see the [help page](http://exercism.io/languages/python). Substitution Cipher at Wikipedia [http://en.wikipedia.org/wiki/Substitution_cipher](http://en.wikipedia.org/wiki/Substitution_cipher) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/simple-linked-list/README.md b/exercises/simple-linked-list/README.md index c2ef7df70a..cfca19f339 100644 --- a/exercises/simple-linked-list/README.md +++ b/exercises/simple-linked-list/README.md @@ -41,7 +41,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -57,10 +57,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest simple_linked_list_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -78,4 +79,5 @@ please see the [help page](http://exercism.io/languages/python). Inspired by 'Data Structures and Algorithms with Object-Oriented Design Patterns in Ruby', singly linked-lists. [http://www.brpreiss.com/books/opus8/html/page96.html#SECTION004300000000000000000](http://www.brpreiss.com/books/opus8/html/page96.html#SECTION004300000000000000000) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/space-age/README.md b/exercises/space-age/README.md index ae4e5deda2..cc02b41896 100644 --- a/exercises/space-age/README.md +++ b/exercises/space-age/README.md @@ -25,7 +25,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -41,10 +41,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest space_age_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -62,4 +63,5 @@ please see the [help page](http://exercism.io/languages/python). Partially inspired by Chapter 1 in Chris Pine's online Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=01](http://pine.fm/LearnToProgram/?Chapter=01) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/spiral-matrix/README.md b/exercises/spiral-matrix/README.md index 5a0d4c89cf..9fbde22c53 100644 --- a/exercises/spiral-matrix/README.md +++ b/exercises/spiral-matrix/README.md @@ -31,7 +31,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -47,10 +47,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest spiral_matrix_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -68,4 +69,5 @@ please see the [help page](http://exercism.io/languages/python). Reddit r/dailyprogrammer challenge #320 [Easy] Spiral Ascension. [https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/](https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/strain/README.md b/exercises/strain/README.md index 68b5315747..1b3d296d9d 100644 --- a/exercises/strain/README.md +++ b/exercises/strain/README.md @@ -41,7 +41,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -57,10 +57,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest strain_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -78,4 +79,5 @@ please see the [help page](http://exercism.io/languages/python). Conversation with James Edward Gray II [https://twitter.com/jeg2](https://twitter.com/jeg2) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/sublist/README.md b/exercises/sublist/README.md index dad2e4ae88..54bf3476d3 100644 --- a/exercises/sublist/README.md +++ b/exercises/sublist/README.md @@ -25,7 +25,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -41,10 +41,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest sublist_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -58,4 +59,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/sum-of-multiples/README.md b/exercises/sum-of-multiples/README.md index 314ef27404..3e4b4ab78e 100644 --- a/exercises/sum-of-multiples/README.md +++ b/exercises/sum-of-multiples/README.md @@ -16,7 +16,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -32,10 +32,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest sum_of_multiples_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -53,4 +54,5 @@ please see the [help page](http://exercism.io/languages/python). A variation on Problem 1 at Project Euler [http://projecteuler.net/problem=1](http://projecteuler.net/problem=1) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/tournament/README.md b/exercises/tournament/README.md index c6d3e9cf3b..6e6ca9a0a2 100644 --- a/exercises/tournament/README.md +++ b/exercises/tournament/README.md @@ -72,7 +72,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -88,10 +88,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest tournament_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -105,4 +106,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/transpose/README.md b/exercises/transpose/README.md index e23672ef78..781c1e9496 100644 --- a/exercises/transpose/README.md +++ b/exercises/transpose/README.md @@ -66,7 +66,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -82,10 +82,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest transpose_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -103,4 +104,5 @@ please see the [help page](http://exercism.io/languages/python). Reddit r/dailyprogrammer challenge #270 [Easy]. [https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text](https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/tree-building/README.md b/exercises/tree-building/README.md index 5ec7d0f7bf..b83588ca3a 100644 --- a/exercises/tree-building/README.md +++ b/exercises/tree-building/README.md @@ -34,7 +34,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -50,10 +50,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest tree_building_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -67,4 +68,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/triangle/README.md b/exercises/triangle/README.md index d4e3781c12..79e49a220a 100644 --- a/exercises/triangle/README.md +++ b/exercises/triangle/README.md @@ -30,7 +30,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -46,10 +46,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest triangle_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -67,4 +68,5 @@ please see the [help page](http://exercism.io/languages/python). The Ruby Koans triangle project, parts 1 & 2 [http://rubykoans.com](http://rubykoans.com) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/trinary/README.md b/exercises/trinary/README.md index fa8e5cada7..19046d98fe 100644 --- a/exercises/trinary/README.md +++ b/exercises/trinary/README.md @@ -29,7 +29,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -45,10 +45,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest trinary_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -66,4 +67,5 @@ please see the [help page](http://exercism.io/languages/python). All of Computer Science [http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-](http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/twelve-days/README.md b/exercises/twelve-days/README.md index 4e43f34ac8..4752145bad 100644 --- a/exercises/twelve-days/README.md +++ b/exercises/twelve-days/README.md @@ -36,7 +36,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -52,10 +52,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest twelve_days_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -73,4 +74,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [http://en.wikipedia.org/wiki/The_Twelve_Days_of_Christmas_(song)](http://en.wikipedia.org/wiki/The_Twelve_Days_of_Christmas_(song)) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/two-bucket/README.md b/exercises/two-bucket/README.md index 40bf437a56..0061be0817 100644 --- a/exercises/two-bucket/README.md +++ b/exercises/two-bucket/README.md @@ -27,7 +27,7 @@ To conclude, the only valid moves are: - emptying one bucket and doing nothing to the other - filling one bucket and doing nothing to the other -Written with <3 at [Fullstack Academy](http://www.fullstackacademy.com/) by [Lindsay](http://lindsaylevine.com). +Written with <3 at [Fullstack Academy](http://www.fullstackacademy.com/) by Lindsay Levine. ## Exception messages @@ -37,7 +37,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -53,10 +53,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest two_bucket_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -74,4 +75,5 @@ please see the [help page](http://exercism.io/languages/python). Water Pouring Problem [http://demonstrations.wolfram.com/WaterPouringProblem/](http://demonstrations.wolfram.com/WaterPouringProblem/) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/two-fer/README.md b/exercises/two-fer/README.md index dea52012a7..2f7d6b6a82 100644 --- a/exercises/two-fer/README.md +++ b/exercises/two-fer/README.md @@ -20,7 +20,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -36,10 +36,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest two_fer_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -57,4 +58,5 @@ please see the [help page](http://exercism.io/languages/python). [https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/variable-length-quantity/README.md b/exercises/variable-length-quantity/README.md index 59b4e908c5..9e951b02e9 100644 --- a/exercises/variable-length-quantity/README.md +++ b/exercises/variable-length-quantity/README.md @@ -39,7 +39,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -55,10 +55,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest variable_length_quantity_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -76,4 +77,5 @@ please see the [help page](http://exercism.io/languages/python). A poor Splice developer having to implement MIDI encoding/decoding. [https://splice.com](https://splice.com) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/word-count/README.md b/exercises/word-count/README.md index c3c68e576c..9c41945510 100644 --- a/exercises/word-count/README.md +++ b/exercises/word-count/README.md @@ -19,7 +19,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -35,10 +35,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest word_count_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -56,4 +57,5 @@ please see the [help page](http://exercism.io/languages/python). This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour. ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/word-search/README.md b/exercises/word-search/README.md index c83f56e70c..09ef4a8e70 100644 --- a/exercises/word-search/README.md +++ b/exercises/word-search/README.md @@ -34,7 +34,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -50,10 +50,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest word_search_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -67,4 +68,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/wordy/README.md b/exercises/wordy/README.md index 170ffb1c69..30f4898639 100644 --- a/exercises/wordy/README.md +++ b/exercises/wordy/README.md @@ -59,7 +59,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -75,10 +75,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest wordy_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -96,4 +97,5 @@ please see the [help page](http://exercism.io/languages/python). Inspired by one of the generated questions in the Extreme Startup game. [https://github.com/rchatley/extreme_startup](https://github.com/rchatley/extreme_startup) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/zebra-puzzle/README.md b/exercises/zebra-puzzle/README.md index d2ed54f8db..ff2539b14f 100644 --- a/exercises/zebra-puzzle/README.md +++ b/exercises/zebra-puzzle/README.md @@ -33,7 +33,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -49,10 +49,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest zebra_puzzle_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -70,4 +71,5 @@ please see the [help page](http://exercism.io/languages/python). Wikipedia [https://en.wikipedia.org/wiki/Zebra_Puzzle](https://en.wikipedia.org/wiki/Zebra_Puzzle) ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/zipper/README.md b/exercises/zipper/README.md index 876b60cbe7..a9382cfa77 100644 --- a/exercises/zipper/README.md +++ b/exercises/zipper/README.md @@ -35,7 +35,7 @@ every exercise will require you to raise an exception, but for those that do, th a message. To raise a message with an exception, just write it as an argument to the exception type. For example, instead of -`raise Exception`, you shold write: +`raise Exception`, you should write: ```python raise Exception("Meaningful message indicating the source of the error") @@ -51,10 +51,11 @@ To run the tests, run the appropriate command below ([why they are different](ht Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version): `python -m pytest zipper_test.py` -### Common pytest options -- -v : enable verbose output -- -x : stop running tests on first failure -- --ff : run failures from previous test before running other test cases +### Common `pytest` options + +- `-v` : enable verbose output +- `-x` : stop running tests on first failure +- `--ff` : run failures from previous test before running other test cases For other options, see `python -m pytest -h` @@ -68,4 +69,5 @@ For more detailed information about running tests, code style and linting, please see the [help page](http://exercism.io/languages/python). ## Submitting Incomplete Solutions + It's possible to submit an incomplete solution so you can see how others have completed the exercise.