Speaker

Kyle Knapp

Materials

Note

  • example

  • Steps to automation

    1. tools
      • flake8
        • pycodestyle → style
        • pyflakes → bug
        • mccabe → complexity
          • flake8 --max-complexity ...
      • pylint
        • similar but stricter and more optional than flake8
      • coverage
      • other tools: mypy, doc8, pydocstyle
    2. automation on local env
      • Makefile
      • requirements-dev.txt
    3. atuomation on prod env
      • Makefile
      • requirements-prod.txt

pylint-vs-flake8

  • Best practices
    1. Always improve quality check
    2. Avoid compromising existing quality checks
    3. Be aware automated quality checks does not guarantee code quality

Share on: TwitterFacebookEmail


Published

Category

PyCon US 2018

Tags

Contact