Changeset 5da9b8c3 in trunk


Ignore:
Timestamp:
2020-09-27T16:44:13Z (5 years ago)
Author:
Ross Patterson <me@…>
Branches:
master
Children:
b826850
Parents:
b306475
git-author:
Ross Patterson <me@…> (2020-09-27 16:30:06)
git-committer:
Ross Patterson <me@…> (2020-09-27 16:44:13)
Message:

test(vcs): Add a VCS commit hook to run linters

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified .pre-commit-config.yaml

    rb306475 r5da9b8c3  
    22  - repo: local
    33    hooks:
     4    - id: codechecks
     5      name: codechecks
     6      stages: ["commit"]
     7      entry: "tox -e codechecks"
     8      language: system
     9      pass_filenames: false
    410    - id: test
    511      name: test
     12      stages: ["push"]
    613      entry: "make test"
    714      language: system
  • TabularUnified Makefile

    rb306475 r5da9b8c3  
    3232.PHONY: build
    3333## Set up and build for local development
    34 # To also run checks on every commit:
    35 # $ make .git/hooks/pre-commit
    36 build: .tox .git/hooks/pre-push
     34build: .tox .git/hooks/pre-commit .git/hooks/pre-push
    3735
    3836.PHONY: test
Note: See TracChangeset for help on using the changeset viewer.