GithubHelp home page GithubHelp logo

chrishna1 / python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from exercism/python

0.0 1.0 0.0 578 KB

Exercism exercises in Python.

Home Page: http://exercism.io/languages/python

License: MIT License

Shell 0.24% Python 99.76%

python's Introduction

Exercism Python Track

Build Status Requirements Status Join the chat at https://gitter.im/exercism/python

Exercism exercises in Python

Contributing Guide

Please see the contributing guide

Working on the Exercises

We welcome both improvements to the existing exercises and new exercises. A list of missing exercise can be found here: http://exercism.io/languages/python/todo

Conventions

  • We use minimalistic stub files for all exercises (#272).
  • We use unittest (Python Standard Library) and no 3rd-party-framework.
  • We use the parameter order self.assertEqual(actual, expected) (#440).

Testing

All exercises must be compatible with Python versions 2.7 and 3.3 upwards.

To test a single exercise (e.g., with Python 2.7):

python2.7 test/check-exercises.py [exercise-name]

To test all exercises (e.g., with Python 3):

python3 test/check-exercises.py

Code Style

The Python code in this repo is meant to follow the PEP8 style guide (a stylized version http://pep8.org).

This repo uses flake8 with default settings to enforce the coding standard.

CI build

This repo uses travis-ci in the following configuration: travis.yml

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

Pull Requests

We โค๏ธ pull requests! We even ๐Ÿ’– them if they contain well written commit messages!

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

exercise-name: Changes some things

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 on good commit messages.

If you're new to Git take a look at this short guide.

Python icon

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

python's People

Contributors

behrtam avatar kytrinyx avatar sjakobi avatar dog avatar betegelse avatar rootulp avatar robphoenix avatar peque avatar oalbe avatar zacharyrsmith avatar arcuru avatar etrepum avatar fluxusfrequency avatar mandel01 avatar cypher avatar petertseng avatar kotp avatar csabella avatar martindelille avatar lowks avatar mambocab avatar henrik avatar dkinzer avatar chrisftw avatar cptjackson avatar austinlyons avatar markijbema avatar michaelem avatar crazymykl avatar n1k0 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.