Skip to content
Snippets Groups Projects
Commit a15ae262 authored by Yannick DAYER's avatar Yannick DAYER
Browse files

Add pre-commit

parent 6c4ce1a2
No related branches found
No related tags found
1 merge request!25Refactor
Pipeline #51518 passed
......@@ -12,3 +12,4 @@ develop-eggs
sphinx
dist
record.txt
build
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/timothycrosley/isort
rev: 5.8.0
hooks:
- id: isort
args: [--sl, --line-length, "88"]
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-ast
- id: check-case-conflict
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
- id: check-added-large-files
- repo: local
hooks:
- id: sphinx-build
name: sphinx build
entry: python -m sphinx.cmd.build
args: [-a, -E, -W, doc, sphinx]
language: system
files: ^doc/
types: [file]
pass_filenames: false
- id: sphinx-doctest
name: sphinx doctest
entry: python -m sphinx.cmd.build
args: [-a, -E, -b, doctest, doc, sphinx]
language: system
files: ^doc/
types: [file]
pass_filenames: false
include README.rst bootstrap-buildout.py buildout.cfg develop.cfg COPYING version.txt requirements.txt
recursive-include doc *.py *.rst
recursive-include bob/bio/gmm/test/data *.hdf5 *-dev
recursive-include bob/bio/gmm/test/data *.hdf5 *-dev
......@@ -12,7 +12,7 @@ This package is part of the ``bob.bio`` packages, which provide open source tool
In this package, algorithms for executing experiments based on Gaussian Mixture Models are provided, including scripts to run the training procedures of the Expectation-Maximization loops in parallel.
For more detailed information about the structure of the ``bob.bio`` packages, please refer to the documentation of :ref:`bob.bio.base <bob.bio.base>`.
Particularly, the installation of this and other ``bob.bio`` packages, please read the :ref:`bob.bio.base.installation`.
Particularly, the installation of this and other ``bob.bio`` packages, please read the installation_.
In the following, we provide more detailed information about the particularities of this package only.
......
.. author: Yannick Dayer <yannick.dayer@idiap.ch>
.. date: Wed 16 Jun 2021 13:50:12 UTC+02
.. This file contains all links we use for documentation in a centralized place
.. _idiap: http://www.idiap.ch
.. _gitlab: http://gitlab.idiap.ch/bob
.. _bob: http://www.idiap.ch/software/bob
.. _installation: https://www.idiap.ch/software/bob/install
bob.db.atnt # for test purposes
bob.io.image # for test purposes
\ No newline at end of file
bob.io.image # for test purposes
4.0.1b0
\ No newline at end of file
4.0.1b0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment