Commit df35ed86 authored by Fabrice Allain's avatar Fabrice Allain Committed by Fabrice ALLAIN
Browse files

commitlint support for git message formatting

parent 3a33386f
......@@ -3,6 +3,7 @@ examples*dev/
examples/tmp/
docs/olds/
*.simg
package-lock.json
################################################################################
# PYTHON #
......
......@@ -3,6 +3,12 @@ MAINTAINER Fabrice Allain <fabrice.allain@pasteur.fr>
RUN yum install -y epel-release
RUN yum install -y python2-pip python-devel gcc make git
RUN curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -; yum -y install nodejs
RUN npm install -g --save-dev @commitlint/{cli,config-conventional}
RUN echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
RUN npm install --save-dev -g husky
RUN npx yarn add husky --dev
RUN pip install --upgrade pip ; pip install --upgrade setuptools; pip install sphinx; pip install numpy; pip install matplotlib; pip install coverage; pip install pytest; pip install pytest-cov
......
......@@ -12,7 +12,6 @@
:maxdepth: 4
:caption: API
api/aria
Core package <api/aria.core>
Conbox package <api/aria.conbox>
......
{
"name": "ariaec",
"version": "1.0.0",
"description": "===================================================== de Novo Ambiguous Restraints for Iterative Assignment =====================================================",
"main": "index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"precommit": "npm test",
"prepush": "npm test",
"test": "echo \"Error: no test specified\" && exit 1",
"commitmsg": "commitlint -e $GIT_PARAMS"
},
"repository": {
"type": "git",
"url": "https://gitlab.pasteur.fr/bis-aria/Ariaec.git"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^6.1.3",
"@commitlint/config-conventional": "^6.1.3",
"husky": "^0.14.3"
},
"dependencies": {}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment