neurogeriatricskiel / KielMAT

Python based toolbox for processing motion data
https://neurogeriatricskiel.github.io/KielMAT/
Other
6 stars 1 forks source link

Setup same linting in VSCode an #5

Closed JuliusWelzel closed 1 year ago

JuliusWelzel commented 1 year ago

I would propose to use some linters (e.g. ruff) and set up a *.toml for us to use at VSCode and for CI on GitHub? What do you think?

masoudabedinifar commented 1 year ago

@JuliusWelzel it's a good idea to use Ruff in our coding, I just tried it. However, the only error type that I got was "Line too long (160 > 88 characters)". Then, @JuliusWelzel do we need to take care of the number of the characters of the lines?

JuliusWelzel commented 1 year ago

All done: image

JuliusWelzel commented 1 year ago

I added an explanation on how to style your code with black here. Please use from now on, before you push to the main branch