Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • pystencils pystencils
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • 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

Merged
Created Aug 18, 2019 by Stephan Seitz@seitzMaintainer

Pre-push hook

  • 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
Reviewer
Request review from
Time tracking
Source branch: pre-push-hook