Coder Social home page Coder Social logo

Comments (6)

bjlittle avatar bjlittle commented on August 18, 2024 1

@mattiarighi I'm slightly confused (a normal state of being for me these days) ... but why is there pep8 source code being held within this repo? 😕

Surely, this should be purged in favour of pulling in 3rd party code as part of the required ESMValTool conda requirements? For example, see https://pypi.python.org/pypi/pep8/1.7.0 and also https://github.com/conda-forge/pep8-feedstock ...

I'm 👎 for https://github.com/ESMValGroup/ESMValTool/tree/master/util/pep8-checker

from esmvaltool.

bjlittle avatar bjlittle commented on August 18, 2024

@cehbrecht 👍 I agree. We should enforce PEP8 compliance and have a PEP8 unit test that checks the code base in the chosen CI framework (i.e. travis) triggered by PR by users or devs.

from esmvaltool.

mattiarighi avatar mattiarighi commented on August 18, 2024

There is pep8 checker available in the tool at:
https://github.com/ESMValGroup/ESMValTool/tree/master/util/pep8-checker

@ESMValGroup/esmvaltool-coreteam

from esmvaltool.

mattiarighi avatar mattiarighi commented on August 18, 2024

@bjlittle The pep8 checker was introduced by Martin long ago, I really don't know the reasons for that.
If there is a better solution I'm fine with it, as long as we can keep a coding standard.
This should also apply to NCL: as far as I know there are no rules for that, and Martin introduced a very basic ncl-checker https://github.com/ESMValGroup/ESMValTool/tree/master/util/ncl-checker, but it needs to be improved.

@ESMValGroup/esmvaltool-coreteam

from esmvaltool.

bjlittle avatar bjlittle commented on August 18, 2024

@cehbrecht also see #34

from esmvaltool.

bjlittle avatar bjlittle commented on August 18, 2024

Closed by #39

from esmvaltool.

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.