Git Product home page Git Product logo

Comments (8)

apuignav avatar apuignav commented on July 18, 2024

Argh, I've found linting LHCb software to be extremely tricky because you need the full stack for the linter to recgnize all the Gaudi imports. I am not sure we can make Travis do that, but I agree it would be a nice addition.

What I usually run is pylint and if it passes flake8. This gives properly formatted code (even if I don't agree with some of the formatting rules) but it doesn't bother you about it until the syntax is fixed.

from first-analysis-steps.

kdungs avatar kdungs commented on July 18, 2024

Something much more superficial would be pep8 it just checks the formatting of your code (line length, spaces, vertical white space, โ€ฆ)

from first-analysis-steps.

betatim avatar betatim commented on July 18, 2024

Do you know how to run pep8 on our .md files though? I think pep8
would be more than good enough.

On Sat, May 23, 2015 at 12:11 PM Kevin Dungs [email protected]
wrote:

Something much more superficial would be pep8 it just checks the
formatting of your code (line length, spaces, vertical white space, โ€ฆ)

โ€”
Reply to this email directly or view it on GitHub
#37 (comment)
.

from first-analysis-steps.

kdungs avatar kdungs commented on July 18, 2024

My best guess would be that one would have to write a custom pandocfilter for that.

from first-analysis-steps.

kdungs avatar kdungs commented on July 18, 2024

With the recent merge of #70, this is resolved now, no?

from first-analysis-steps.

alexpearce avatar alexpearce commented on July 18, 2024

I suppose there's still the โ€˜issueโ€™ of checking the code that's inline with the lessons. Do you think it's worth checking those?

from first-analysis-steps.

kdungs avatar kdungs commented on July 18, 2024

๐Ÿ˜ฟ
Well... I started working on it and is indeed possible to build something with pandoc that would do this. Maybe keep the idea for later.

from first-analysis-steps.

ibab avatar ibab commented on July 18, 2024

We could also do it without pandoc using a package like this one: https://www.npmjs.com/package/tests-ex-markdown

from first-analysis-steps.

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.