Skip to content

Commit c3b6456

Browse files
committed
update tools & badges
1 parent e60289d commit c3b6456

File tree

4 files changed

+41
-2
lines changed

4 files changed

+41
-2
lines changed

.pre-commit-config.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/mirrors-clang-format
3+
rev: v13.0.1
4+
hooks:
5+
- id: clang-format
6+
args: [-i, --style=Google]
7+
- repo: https://github.com/pre-commit/pre-commit-hooks
8+
rev: v4.1.0
9+
hooks:
10+
- id: check-added-large-files
11+
- id: check-ast
12+
- id: check-executables-have-shebangs
13+
- id: check-json
14+
- id: check-merge-conflict
15+
- id: check-symlinks
16+
- id: check-toml
17+
- id: check-yaml
18+
- id: debug-statements
19+
- id: destroyed-symlinks
20+
- id: detect-private-key
21+
- id: end-of-file-fixer
22+
- id: fix-byte-order-marker
23+
- id: mixed-line-ending
24+
- id: trailing-whitespace
25+
- repo: https://github.com/psf/black
26+
rev: 22.3.0
27+
hooks:
28+
- id: black
29+
- repo: https://github.com/PyCQA/flake8
30+
rev: 4.0.1
31+
hooks:
32+
- id: flake8

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
[![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause)
44
[![Pipeline status](https://gitlab.laas.fr/stack-of-tasks/dynamic-graph-tutorial/badges/master/pipeline.svg)](https://gitlab.laas.fr/stack-of-tasks/dynamic-graph-tutorial/commits/master)
5-
[![Coverage report](https://gitlab.laas.fr/stack-of-tasks/dynamic-graph-tutorial/badges/master/coverage.svg?job=doc-coverage)](http://projects.laas.fr/gepetto/doc/stack-of-tasks/dynamic-graph-tutorial/master/coverage/)
6-
5+
[![Coverage report](https://gitlab.laas.fr/stack-of-tasks/dynamic-graph-tutorial/badges/master/coverage.svg?job=doc-coverage)](https://gepettoweb.laas.fr/doc/stack-of-tasks/dynamic-graph-tutorial/master/coverage/)
6+
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
7+
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/stack-of-tasks/dynamic-graph-tutorial/master.svg)](https://results.pre-commit.ci/latest/github/stack-of-tasks/dynamic-graph-tutorial)
78

89
See INSTALL for installation instruction.
910

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tool.black]
2+
exclude = "cmake"

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
exclude = cmake
3+
max-line-length = 88
4+
ignore = E226, E704, E24, E121, W504, E126, E123, W503, E203

0 commit comments

Comments
 (0)