ubsuny / CP1-24-HW3

Homework 3 template for CP1-24
1 stars 16 forks source link

What is linting? #31

Closed p-pxmpo closed 1 week ago

p-pxmpo commented 1 week ago

Can someone explain what linting is? Im seeing seeing some of the pull requests saying an "all checks have failed" message by something called pylint.

avgagliardo commented 1 week ago

Linting is the process of making your code conform to the stylistic guidelines that help keep code easy to read, maintain, and extend.

If you are interested check out PEP8 which outlines the the conventions for writing software with python.

The linter is usually a process where an automated worker goes through your code to analyze how closely it conforms to these guidelines.

laserlab commented 1 week ago

Can someone explain what linting is? Im seeing seeing some of the pull requests saying an "all checks have failed" message by something called pylint.

we also have covered that in class in slides (on discord) and in a hands on session (see: ubsuny/CompPyhys/ReviewPython/linting)

p-pxmpo commented 1 week ago

thank you