Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
2b85a65
circular-buffer: Implemented new exercise
behrtam Nov 11, 2015
e973b94
circular-buffer: Fixed python3 compatibility
behrtam Nov 12, 2015
1bf2880
perfect-numbers: Implement new exercise
behrtam Nov 26, 2015
735f355
Clean up docs for x-api v3
kytrinyx Nov 25, 2015
d199930
rail-fence-cipher: Implement new exercise
behrtam Dec 1, 2015
9945d8f
Add ABOUT page.
ramiroluz Dec 7, 2015
e55dfce
Merge remote-tracking branch 'upstream/docs'
ramiroluz Dec 8, 2015
e79f994
Remove unecessary header.
ramiroluz Dec 8, 2015
44bfc93
Merge #275 and #278.
ramiroluz Dec 10, 2015
fe09a72
Wording changes in ABOUT.md
mandel01 Jan 2, 2016
8dc1d9f
Merge pull request #281 from mandel01/patch-3
kytrinyx Jan 7, 2016
74c20eb
accumulate: fix lambda usage (see #287)
behrtam Jan 25, 2016
12b48b1
word-count: fix lambda usage (see #287)
behrtam Jan 25, 2016
e61777d
strain: fix lambda usage (see #287)
behrtam Jan 25, 2016
c31cf1f
luhn: fix lambda usage (see #287)
behrtam Jan 25, 2016
dcc5fe8
series: fix pep8 compliance (see #287)
behrtam Jan 25, 2016
508b8c7
Merge pull request #288 from behrtam/fix-lambda-accumulate
behrtam Jan 26, 2016
dbad4ee
Merge pull request #289 from behrtam/fix-pep8-series
behrtam Jan 26, 2016
b0f9c50
Merge pull request #290 from behrtam/fix-lambda-word-count
behrtam Jan 26, 2016
096a07f
Merge pull request #291 from behrtam/fix-lambda-luhn
behrtam Jan 26, 2016
1e6f786
Merge pull request #292 from behrtam/fix-lambda-strain
behrtam Jan 26, 2016
05b29a6
largest-series-product: Test all combinations of corner cases
petertseng Jan 23, 2016
46f1a4d
largest-series-product: Add cases where all spans contain a 0
petertseng Jan 23, 2016
396be32
Merge pull request #283 from petertseng/lsp-corner
behrtam Jan 26, 2016
b9dfe29
Moved the exercises to the folder exercises/.
oalbe Jan 26, 2016
99c29c3
Fixed the exercises discovery path in test/check-exercises.py.
oalbe Jan 26, 2016
81376c4
Fixed the single-exercise test.
oalbe Jan 26, 2016
fbd41e5
Fixed the relative path problem. Now the exercises discovery paths ha…
oalbe Jan 27, 2016
a9bc2b5
Merge pull request #286 from oalbe/exercises-folder
behrtam Jan 27, 2016
0bd10c5
binary: Expand invalid input tests
behrtam Dec 2, 2015
cf038f6
Merge pull request #274 from behrtam/binary-add-test-invalid-input
behrtam Feb 1, 2016
f5a1529
Create LEARNING.md and TESTS.md
oalbe Jan 26, 2016
187d62e
Change underscore to hyphen for check-exercises.py
rootulp Feb 3, 2016
8f9008f
Merge pull request #304 from rootulp/readme-fix-typo
behrtam Feb 4, 2016
970433a
Set flake8 max-line-length to 99 characters
behrtam Feb 6, 2016
8cdd7b9
Fix broken help url
behrtam Feb 7, 2016
744c95f
Pin versions of used pip packages
behrtam Feb 8, 2016
bbc7253
Merge pull request #305 from behrtam/travis-version-pinning
behrtam Feb 8, 2016
d036ded
Add badge indicating the requirements status
behrtam Feb 8, 2016
835da7e
Correct iPython to IPython
mandel01 Feb 12, 2016
945a697
Merge pull request #307 from mandel01/patch-4
behrtam Feb 12, 2016
0b397a8
Change version pinning to only use minor versions
behrtam Feb 12, 2016
66cc751
acronym: implement exercise
rootulp Feb 3, 2016
0e22090
Merge pull request #303 from rootulp/acronym-implementation
behrtam Feb 13, 2016
0e66d02
Merge pull request #308 from exercism/pip-minor-versions
kytrinyx Feb 14, 2016
d3383e9
Merge pull request #293 from oalbe/master
behrtam Feb 15, 2016
850c5de
Install packages from requirements file
behrtam Feb 16, 2016
adeaa8d
Fix luhn's checksum tests and implementation
oalbe Feb 16, 2016
7f521b0
Merge pull request #310 from oalbe/luhn-checksum
behrtam Feb 17, 2016
e9fd3ef
Robot-name: fix typo
rootulp Feb 17, 2016
20a0f84
Merge pull request #311 from rootulp/robot-name
kytrinyx Feb 21, 2016
f73a513
Update TESTS.md
huangchris Feb 27, 2016
cfc27ad
Fix typo in documentation where pip is pip3
StevenACoffman Feb 27, 2016
b90e61f
Merge pull request #314 from StevenACoffman/master
behrtam Feb 27, 2016
180fd02
Merge pull request #313 from huangchris/patch-1
behrtam Feb 27, 2016
da69eae
largest-series-product: Do not test slices
petertseng Mar 13, 2016
6035bd2
Merge pull request #316 from petertseng/lsp
behrtam Mar 13, 2016
b5cdae6
largest-series-product: Add additional test cases
behrtam Mar 14, 2016
37913a2
Merge pull request #318 from behrtam/update-largest-series-product
kytrinyx Mar 22, 2016
ffa11c6
Merge workflow document into testing
k4rtik Mar 25, 2016
fcad32e
Merge pull request #320 from k4rtik/master
behrtam Mar 26, 2016
54871b6
grade-school: update tests
de2Zotjes Apr 3, 2016
e048a3e
sum-of-multiples: Remove default values
kotp Apr 3, 2016
3aacd62
sum-of-multiples: Remove default values
behrtam Apr 3, 2016
776e725
Remove old help site links
kotp Apr 3, 2016
cea4ae6
Update pyflakes to version 1.1.0
behrtam Apr 7, 2016
3519060
pangram: Add extra invalid pangram test case (#331)
helenst Apr 9, 2016
4e4f1e5
Corrects pip install command
behrtam Apr 14, 2016
ef5beff
Fix py.test run in documentation (#334)
puzan May 8, 2016
1e00eb8
Add track icon
joeltaylor Jun 16, 2016
01a96f2
Merge pull request #339 from joeltaylor/add_track_icon
Dog Jun 21, 2016
4499354
Add clock exercise
chrisftw Jun 22, 2016
fd98f9a
clock: fixed formatting
chrisftw Jun 22, 2016
ecb9ac4
sublist: Adding test for unique return values
arcuru Jun 26, 2016
a1323ad
pangram: Update pangram test suite
arcuru Jul 20, 2016
22470eb
Merge pull request #340 from chrisftw/python-clock
Dog Jul 20, 2016
7cacb31
Updated ReadMe.md
Dog Jul 20, 2016
47c310e
Merge pull request #347 from exercism/Gitter-Badge
Dog Jul 20, 2016
056e4ff
Merge pull request #242 from behrtam/implement-circular-buffer
Dog Jul 21, 2016
66fe931
Merge pull request #261 from behrtam/implement-perfect-numbers
Dog Jul 21, 2016
ee96091
Merge pull request #273 from behrtam/implement-rail-fence-cipher
Dog Jul 21, 2016
1861f95
bob: Adding non-question trailing whitespace test
arcuru Jul 21, 2016
11a2040
xPython: Moving old exercise PRs to new organization
Dog Jul 21, 2016
1e465a5
Merge pull request #349 from patricksjackson/bob_whitespace
Dog Jul 21, 2016
bee2cec
Merge pull request #345 from patricksjackson/pangram_new_tests
Dog Jul 25, 2016
7596735
Merge pull request #343 from patricksjackson/sublist_test
Dog Jul 25, 2016
a457845
Word-count test name fix
samdec11 Aug 3, 2016
404c25c
Clock: remove duplicated tests (#350)
rootulp Aug 11, 2016
3a4c583
Merge pull request #351 from samdec11/patch-1
Aug 12, 2016
9ae3ba6
xpython: first pass standardizing exercise names #344
Aug 17, 2016
f5b8dae
roman_numerals: fixed class name in test
Dog Aug 18, 2016
869cfa2
Update config.json to match new specification
Aug 20, 2016
95326ba
Merge pull request #354 from Roshanjossey/update-config-to-new-spec
Aug 20, 2016
8664d60
Merge pull request #352 from exercism/standardize
Dog Aug 24, 2016
a2242eb
minor spelling correction
robphoenix Aug 26, 2016
2d11a2a
add topics to hello-world exercise in config.json
robphoenix Aug 26, 2016
58ea647
add topics to leap problem in config.json
robphoenix Aug 26, 2016
e60844a
add topics to clock exercise in config.json
robphoenix Aug 26, 2016
bbb6246
Merge pull request #355 from bordeltabernacle/fix/spelling
Dog Aug 27, 2016
0de150f
Merge pull request #356 from bordeltabernacle/update-config.json/hell…
Dog Aug 27, 2016
53f3ab8
Merge pull request #357 from bordeltabernacle/update-config.json/leap
Dog Aug 27, 2016
e5f054f
Merge pull request #358 from bordeltabernacle/update-config.json/clock
Dog Aug 27, 2016
d82341c
style: Update README for style requirements
arcuru Sep 2, 2016
cfdb5e8
Merge pull request #359 from patricksjackson/style_guide
Sep 5, 2016
001b0b8
Add binary-search exercise
Jun 22, 2016
6686315
Merge pull request #341 from michaelkunc/binary-search
Sep 5, 2016
d09f47e
binary-search: clean up
arcuru Sep 8, 2016
d37ebe3
Merge pull request #360 from patricksjackson/bsearchclean
Dog Sep 9, 2016
1444868
binary-search: Add to "exercises" key in config
behrtam Sep 12, 2016
8768a72
Add binary search to 'exercises' in config
Sep 19, 2016
5472721
hello-world: Add two new test functions to test blank and none names …
hebertjulio Sep 28, 2016
f31c563
Merge pull request #361 from behrtam/master
behrtam Sep 28, 2016
f47ea3b
Update flake8 and pyflakes to the latest version
behrtam Sep 28, 2016
7b33de1
Merge pull request #363 from behrtam/update-flake8
behrtam Sep 28, 2016
98d0505
Add attribution for the track icon
catb0t Oct 2, 2016
cf145f7
Merge pull request #365 from catb0t/patch-1
Oct 2, 2016
66b5506
change if-statements to if-else statements
robphoenix Oct 7, 2016
17449a4
Merge pull request #368 from bordeltabernacle/update-config.json/fix_…
Oct 7, 2016
8b08a8f
Add Python 3.6 in travis (#366)
surajnarwade Oct 19, 2016
1399276
Add flatten array exercise
treyhunner Oct 19, 2016
5a36197
Add topics to word-count exercise in config.json
robphoenix Oct 19, 2016
99b9dfd
Add topics to hamming exercise in config.json
robphoenix Oct 19, 2016
977d0e9
Add topics to rna-transcription exercise in config.json
robphoenix Oct 19, 2016
a0586b6
Add topics to pangram exercise in config.json
robphoenix Oct 19, 2016
6680c45
Activate Python 3.6 (nightly) test build
behrtam Oct 19, 2016
01d8dc3
Fix assertRegexpMatches() deprecation warning
behrtam Oct 19, 2016
b414a74
Remove deprecated problems key
behrtam Oct 22, 2016
69e96b7
Merge pull request #379 from exercism/remove-problems-key
Oct 22, 2016
3460255
Clean up docs for x-api v3
kytrinyx Nov 25, 2015
0604e1f
Add ABOUT page.
ramiroluz Dec 7, 2015
0d15520
Rebase upstream/master.
ramiroluz Oct 27, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ python:
- 3.3
- 3.4
- 3.5
- nightly

matrix:
allow_failures:
- python: nightly

install:
- pip install flake8
- pip install -r requirements-travis.txt

before_script:
# ignore:
# * E501 - line length limit
- flake8 . --ignore=E501
- flake8 ./exercises/ --max-line-length=99 --select=E,W

script:
- ./test/check-exercises.py
Expand Down
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# xPython

[![Build Status](https://travis-ci.org/exercism/xpython.png?branch=master)](https://travis-ci.org/exercism/xpython)
[![Build Status](https://travis-ci.org/exercism/xpython.png?branch=master)](https://travis-ci.org/exercism/xpython) [![Requirements Status](https://requires.io/github/exercism/xpython/requirements.svg?branch=master)](https://requires.io/github/exercism/xpython/requirements/?branch=master)
[![Join the chat at https://gitter.im/exercism/xpython](https://badges.gitter.im/exercism/xpython.svg)](https://gitter.im/exercism/xpython?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Exercism exercises in Python

## Contributing Guide

Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
Please see the [contributing guide](https://github.com/exercism/x-common/blob/master/CONTRIBUTING.md)

## Working on the Exercises

Expand All @@ -18,22 +19,27 @@ Therefore please test your changes at least with Python2.7 and Python3.5.

To test a single exercise, say crypto-square, run:
```
python2.7 test/check_exercises.py crypto-square
python2.7 test/check-exercises.py crypto-square
```
and
```
python3.5 test/check_exercises.py crypto-square
python3.5 test/check-exercises.py crypto-square
```

To run the tests for all exercises type:
```
python test/check_exercises.py
python test/check-exercises.py
```

## Code Style

The Python code in this repo is meant to largely obey the [PEP8 style guide](https://www.python.org/dev/peps/pep-0008/) (not all code does though).
Try the [flake8](http://flake8.readthedocs.org/en/latest/) tool if you feel unsure about questions of style.
The Python code in this repo is meant to largely obey the [PEP8 style guide](https://www.python.org/dev/peps/pep-0008/).

This repo uses [flake8](http://flake8.readthedocs.org/en/latest/) to enforce the coding standard. When you submit a PR, it needs to pass the flake8 tool with no warnings, or it won't be accepted. Here are the settings used by the build system:

```
flake8 [your-code-here.py] --max-line-length=99 --select=E,W
```

## Pull Requests

Expand All @@ -48,10 +54,13 @@ If there are more details to add, put those into the body of the commit message.

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

If you're new to Git take a look at [this short guide](http://help.exercism.io/git-workflow.html).
If you're new to Git take a look at [this short guide](https://github.com/exercism/x-common/blob/master/CONTRIBUTING.md#git-basics).

## License

The MIT License (MIT)

Copyright (c) 2014 Katrina Owen, [email protected]

## Python icon
The Python logo is an unregistered trademark. We are using a derived logo with the permission of the Python Software Foundation.
2 changes: 1 addition & 1 deletion SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ For example, if you're submitting `bob.py` for the Bob exercise, the submit comm


For more detailed information about running tests, code style and linting,
please see the [help page](http://help.exercism.io/getting-started-with-python.html).
please see the [help page](http://exercism.io/languages/python).
Loading