Skip to content
Snippets Groups Projects

Pre-push hook

Merged Stephan Seitz requested to merge seitz/pystencils:pre-push-hook into master

This prevents me from pushing stuff that either fails in quicktest or flake8.

Has to be copied manually to .git/hooks and python3 has to be adapted to your Python executable.

Is there an update in flake8 that .flake8 is not recognized automatically anymore and that we need to append C901? Probably, I installed just different linter on my PC at home. flake8 can use different linters.

Edited by Stephan Seitz

Merge request reports

Pipeline #17359 passed

Pipeline passed for edf5ca18 on seitz:pre-push-hook

Merged by Martin BauerMartin Bauer 5 years ago (Aug 20, 2019 2:28pm UTC)

Loading

Pipeline #17397 passed

Pipeline passed for 62e03ae4 on master

Test coverage 78.92% from 0 jobs

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply