Coder Social home page Coder Social logo

pep8 cmor code about cmor HOT 9 CLOSED

pcmdi avatar pcmdi commented on July 20, 2024
pep8 cmor code

from cmor.

Comments (9)

dnadeau4 avatar dnadeau4 commented on July 20, 2024

I cannot pep C source code, I can try to pep8 all the tests, but they are 109 files...

from cmor.

ehogan avatar ehogan commented on July 20, 2024

You could try autopep8? I used it recently and it did a pretty good job :)

from cmor.

doutriaux1 avatar doutriaux1 commented on July 20, 2024

@dnadeau4 pep8 is for python. @ehogan autopep8 works great. use -ai option it does a really good job. Just be careful of long line with string formating using % bcause autopep8 will split these onto many lines and then the ending % (...) will not be able to match the number of values.

from cmor.

durack1 avatar durack1 commented on July 20, 2024

@dnadeau4 this seems to be a fairly trivial step - want to assign it to 3.1.2?

from cmor.

dnadeau4 avatar dnadeau4 commented on July 20, 2024

@durack1 I used autopepe8 with CDMS2 and loved it. So yes I will do it for 3.1.2

from cmor.

dnadeau4 avatar dnadeau4 commented on July 20, 2024

@dnadeau4 important!

from cmor.

durack1 avatar durack1 commented on July 20, 2024

@dnadeau4 another 3.2.0er?

from cmor.

dnadeau4 avatar dnadeau4 commented on July 20, 2024

autopep8 was done on tests, I am working slowly on the C code.

from cmor.

durack1 avatar durack1 commented on July 20, 2024

@dnadeau4 should this be moved to the 3.2.4 milestone?

from cmor.

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.