Skip to content

Pylint raises half a million errors when ran on every directory #8788

@CaedenPH

Description

@CaedenPH

What would you like to share?

Running pylint **/*.py lints every file in the whole project and raises a lot of errors and overall rates the code 8.20/10
Lets aim to make this 10/10

Additional information

Example outputs

************* Module arithmetic_analysis.bisection
arithmetic_analysis\bisection.py:1:0: C0114: Missing module docstring (missing-module-docstring)
arithmetic_analysis\bisection.py:4:50: C0103: Argument name "a" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\bisection.py:4:60: C0103: Argument name "b" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\bisection.py:24:4: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
arithmetic_analysis\bisection.py:36:12: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
arithmetic_analysis\bisection.py:46:0: C0116: Missing function or method docstring (missing-function-docstring)
arithmetic_analysis\bisection.py:46:0: C0103: Function name "f" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\bisection.py:46:6: C0103: Argument name "x" doesn't conform to snake_case naming style (invalid-name)
************* Module arithmetic_analysis.gaussian_elimination
arithmetic_analysis\gaussian_elimination.py:34:4: C0103: Variable name "x" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\gaussian_elimination.py:79:4: C0103: Variable name "x" doesn't conform to snake_case naming style (invalid-name)
************* Module arithmetic_analysis.intersection
arithmetic_analysis\intersection.py:1:0: C0114: Missing module docstring (missing-module-docstring)
arithmetic_analysis\intersection.py:5:53: C0103: Argument name "x0" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\intersection.py:5:64: C0103: Argument name "x1" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\intersection.py:44:0: C0116: Missing function or method docstring (missing-function-docstring)
arithmetic_analysis\intersection.py:44:0: C0103: Function name "f" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\intersection.py:44:6: C0103: Argument name "x" doesn't conform to snake_case naming style (invalid-name)
************* Module arithmetic_analysis.in_static_equilibrium
arithmetic_analysis\in_static_equilibrium.py:34:4: W0621: Redefining name 'forces' from outer scope (line 60) (redefined-outer-name)
arithmetic_analysis\in_static_equilibrium.py:34:30: W0621: Redefining name 'location' from outer scope (line 68) (redefined-outer-name)
************* Module arithmetic_analysis.jacobi_iteration_method
arithmetic_analysis\jacobi_iteration_method.py:12:0: R0914: Too many local variables (18/15) (too-many-locals)
arithmetic_analysis\jacobi_iteration_method.py:158:12: R1724: Unnecessary "else" after "continue", remove the "else" and de-indent the code inside it (no-else-continue)
************* Module arithmetic_analysis.newton_forward_interpolation
arithmetic_analysis\newton_forward_interpolation.py:1:0: C0114: Missing module docstring (missing-module-docstring)
arithmetic_analysis\newton_forward_interpolation.py:8:9: C0103: Argument name "u" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\newton_forward_interpolation.py:8:19: C0103: Argument name "p" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\newton_forward_interpolation.py:23:0: C0116: Missing function or method docstring (missing-function-docstring)
arithmetic_analysis\newton_forward_interpolation.py:24:4: C0103: Variable name "n" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\newton_forward_interpolation.py:25:4: C0103: Variable name "y" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\newton_forward_interpolation.py:34:4: C0103: Variable name "x" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\newton_forward_interpolation.py:41:4: C0103: Variable name "u" doesn't conform to snake_case naming style (invalid-name)
************* Module arithmetic_analysis.newton_method
arithmetic_analysis\newton_method.py:45:0: C0116: Missing function or method docstring (missing-function-docstring)
arithmetic_analysis\newton_method.py:45:0: C0103: Function name "f" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\newton_method.py:45:6: C0103: Argument name "x" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\newton_method.py:49:0: C0116: Missing function or method docstring (missing-function-docstring)
arithmetic_analysis\newton_method.py:49:0: C0103: Function name "f1" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\newton_method.py:49:7: C0103: Argument name "x" doesn't conform to snake_case naming style (invalid-name)
************* Module arithmetic_analysis.newton_raphson
arithmetic_analysis\newton_raphson.py:1:0: C0114: Missing module docstring (missing-module-docstring)
arithmetic_analysis\newton_raphson.py:8:0: W0622: Redefining built-in 'pow' (redefined-builtin)
arithmetic_analysis\newton_raphson.py:8:0: W0401: Wildcard import math (wildcard-import)
arithmetic_analysis\newton_raphson.py:14:15: C0103: Argument name "a" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\newton_raphson.py:26:4: C0103: Variable name "x" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\newton_raphson.py:28:8: C0103: Variable name "x" doesn't conform to snake_case naming style (invalid-name)
arithmetic_analysis\newton_raphson.py:28:34: W0123: Use of eval (eval-used)
arithmetic_analysis\newton_raphson.py:28:56: W0123: Use of eval (eval-used)

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting triageAwaiting triage from a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions