Giter VIP home page Giter VIP logo

Comments (12)

drvinceknight avatar drvinceknight commented on July 24, 2024

This should wait till #100 and #99 are taken care of. See #98.

from axelrod.

meatballs avatar meatballs commented on July 24, 2024

and meaningful variable names (please)!!

from axelrod.

drvinceknight avatar drvinceknight commented on July 24, 2024

Yup, great will add that also.

I'm thinking of making pep8 be part of the testing suite on Travis... Any reason not to? (330 things fail pep8 at the moment)

from axelrod.

langner avatar langner commented on July 24, 2024

I hate to play the gadly again, but there is no real reason for this and it would be a distraction. Do you really need code that is squeaky clean? Style guides are just that, guides. Not rules. See this part of PEP8 itself:
https://www.python.org/dev/peps/pep-0008/#a-foolish-consistency-is-the-hobgoblin-of-little-minds

from axelrod.

meatballs avatar meatballs commented on July 24, 2024

I tend to agree with @langner

Style guidelines are nice to have, but can end up causing more problems than they solve.

For example, some of the PEP8 errors I've fixed along the way have been simply that a line is more than 79 characters. It simply isn't worth the effort to go through the codebase to find and correct them.

from axelrod.

meatballs avatar meatballs commented on July 24, 2024

To be clear - I think the contribution guidelines should include PEP, but there's no point including compliance as part of the test suite.

from axelrod.

drvinceknight avatar drvinceknight commented on July 24, 2024

Cool, that sounds good to me, will leave the PEP testing out of Travis but
will include something about PEP in the guidelines. I'll throw them on a
separate branch (might get to it today) and ping you guys to see if you
think what I've written is good :)

On Mon, 9 Mar 2015 15:01 Owen Campbell [email protected] wrote:

I tend to agree with @langner https://github.com/langner

Style guidelines are nice to have, but can end up causing more problems
than they solve.

For example, some of the PEP8 errors I've fixed along the way have been
simply that a line is more than 79 characters. It simply isn't worth the
effort to go through the codebase to find and correct them.

β€”
Reply to this email directly or view it on GitHub
https://github.com/drvinceknight/Axelrod/issues/101#issuecomment-77869555
.

from axelrod.

drvinceknight avatar drvinceknight commented on July 24, 2024

Hey @langner and @meatballs , I've just pushed this as contribution guidelines: https://github.com/drvinceknight/Axelrod/blob/c-guidelines/docs/contributing.rst

Let me know what you think. If I don't hear anything I'll assume it's ok (kind of a guidelines/tutorial ish thing).

Once that's merged in to master I'm going to try and go to down on documentation... (by the way: I'm writing this using wifi on a plane! I can't get over how cool that is... I'm in the future!)

from axelrod.

langner avatar langner commented on July 24, 2024

I skimmed over it and it seems fine.

from axelrod.

drvinceknight avatar drvinceknight commented on July 24, 2024

πŸ‘

from axelrod.

meatballs avatar meatballs commented on July 24, 2024

Sorry - been down with a dose of food poisoning! Looks good to me too.

from axelrod.

drvinceknight avatar drvinceknight commented on July 24, 2024

Cool, thanks both. That is now merged in to master.

from axelrod.

Related Issues (20)

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.