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

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
Please register or sign in to reply