Comments (8)
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.
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.
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.
My best guess would be that one would have to write a custom pandocfilter for that.
from first-analysis-steps.
With the recent merge of #70, this is resolved now, no?
from first-analysis-steps.
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.
๐ฟ
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.
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)
- Explain how to generate the web pages HOT 5
- Move ganga lb-dev lesson HOT 7
- Should we switch to LoKi functors for DecayTreeFitter?
- Use GaudiExec in all Ganga lessons HOT 11
- Lesson "More on Ganga" doesn't exist anymore HOT 3
- Add Turbo stream in callout box of lesson 11 HOT 1
- Migrate all possible SVN URLs to GitLab HOT 1
- Updates and issues in 2. Install Party
- Test issue
- Mention MassStorage in "EOS-Storage" Chapter
- There is an online tool for finding the EventType of your decay HOT 3
- Tag the commit used for the November 2016 session
- Typo on the 'Contribute to this lesson' page
- python http module only available in Python 3
- Clarify DST explorer lesson
- Improve LoKi Functors lesson
- Running DaVinci on the grid: PythonOptsCmakeParserError HOT 3
- Setting up project fails HOT 3
- Why edit .gangarc for MassStorageFile? HOT 4
- Use CERN-FNAL school slides on "from collisions to analysis"? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from first-analysis-steps.