1. Home
  2. Data Science
  3. Python
  4. Which tool lints Python code for errors and style issues?

Added 25 Nov 2026

Which tool lints Python code for errors and style issues?

  1. setuptools
  2. wheel
  3. flake8 Correct answer
  4. tox only

Correct answer

C. flake8

5 views

MCQSEXAM

Explanation

flake8 combines pyflakes, pycodestyle and mccabe.

Reference

Asked in: Python Interview Advanced

https://docs.python.org/3/library/index.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs