Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • pystencils pystencils
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pycodegen
  • pystencilspystencils
  • Merge requests
  • !36

Pre-push hook

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Stephan Seitz requested to merge seitz/pystencils:pre-push-hook into master Aug 18, 2019
  • Overview 0
  • Commits 2
  • Pipelines 1
  • Changes 2

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 Aug 19, 2019 by Stephan Seitz
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: pre-push-hook