Skip to content
Snippets Groups Projects

Add flake8 checker

Merged Gregory Ashton requested to merge add-flake8-checker into master
All threads resolved!

This will cause the CI to fail if people add new code which breaks the flake8 checker.

For an introduction to flake8, see this https://www.caktusgroup.com/blog/2015/08/15/making-clean-code-part-your-build-process/

The rules for the checker are defined in setup.cfg. We can change these in future, either making them more or less stringent.

Related to #181 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Colm Talbot
  • @colm.talbot please feel free to setup a codacy webhook. Though, eventually we should transition away from personal accounts.

    This will simply fail, then if one looks in the logs, you'll see the error message from pep8. Unfortunately, the gitlab-CI doesn't have such a nice interface yet as github. The information is all there, you just have to dig a little (or just run flake8 .).

  • Gregory Ashton added 40 commits

    added 40 commits

    Compare with previous version

  • Moritz Huebner added 68 commits

    added 68 commits

    • d339a288...a52d6223 - 66 commits from branch master
    • df9b6ed0 - Merge remote-tracking branch 'origin/master' into add-flake8-checker
    • 7f9aa69e - Merge remote-tracking branch 'origin/add-flake8-checker' into add-flake8-checker

    Compare with previous version

  • Moritz Huebner added 1 commit

    added 1 commit

    • 2763f70a - Eliminated some PEP8 violations

    Compare with previous version

  • Moritz Huebner added 1 commit

    added 1 commit

    • 990999b0 - Eliminated another PEP8 violation

    Compare with previous version

  • Moritz Huebner approved this merge request

    approved this merge request

  • Moritz Huebner resolved all discussions

    resolved all discussions

  • Moritz Huebner enabled an automatic merge when the pipeline for 990999b0 succeeds

    enabled an automatic merge when the pipeline for 990999b0 succeeds

  • Moritz Huebner mentioned in commit eda21902

    mentioned in commit eda21902

  • Please register or sign in to reply
    Loading