Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lint-Review by Adrian Moisey

Pycon ZA
October 05, 2017

Lint-Review by Adrian Moisey

A Lightning Talk at PyConZA 2017

Pycon ZA

October 05, 2017
Tweet

More Decks by Pycon ZA

Other Decks in Programming

Transcript

  1. Lint Review https://github.com/markstory/lint-review Adrian Moisey adrian on zatech slack adrianmoisey

    on GitLab and GitHub
  2. Why style your code? • Consistency • Easier to read

    • Follow community/official standards (PEP-8, Rubocop, PHPCS, JCSC) • Familiarity with foreign code bases
  3. But I just don’t care about style... • Some linters

    catch syntax errors • Flake8 catches some code breaking syntax errors
  4. Why Lint Review? • It runs against a GitHub Pull

    Request ◦ It only cares about the code that you actually changed • Helps to style an unstyled codebase • Easy to add more linters (it’s written in Python + Flask)
  5. Demo time… Just a screenshot instead...

  6. None
  7. None
  8. Features I’d like to see, if you want to help

    out... • Python 3 • Mypy • GitLab