Skip to content

Commit ceb4dd0

Browse files
author
SophieCurinier
committed
[DEVOPS-420] Indentation style
1 parent be69a66 commit ceb4dd0

3 files changed

Lines changed: 19 additions & 20 deletions

File tree

.pre-commit-config.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
default_language_version:
32
python: python3
43
exclude: ^docs/(conf.py|_ext/)
@@ -42,14 +41,14 @@ repos:
4241
hooks:
4342
- id: relint
4443
args: [-W] # to fail on warnings
45-
- repo: https://github.com/MiraGeoscience/mirageoscience.pre-commit-hooks
46-
rev: v1.0.0
47-
hooks:
48-
- id: check-copyright
49-
files: (^LICENSE|^README(|-dev).rst|\.py|\.pyi)$
50-
exclude: (^\.|^docs/)
51-
- id: prepare-commit-msg
52-
- id: check-commit-msg
44+
- repo: https://github.com/MiraGeoscience/pre-commit-hooks
45+
rev: v1.0.0
46+
hooks:
47+
- id: check-copyright
48+
files: (^LICENSE|^README(|-dev).rst|\.py|\.pyi)$
49+
exclude: (^\.|^docs/)
50+
- id: prepare-commit-msg
51+
- id: check-commit-msg
5352
- repo: https://github.com/codespell-project/codespell
5453
rev: v2.3.0
5554
hooks:

README.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ Usage
2525
Example of ``.pre-commit-config.yamnl``:
2626

2727
.. code:: yaml
28-
29-
- repo: http://github.com/MiraGeoscience/mirageoscience.pre-commit-hooks
30-
rev: <release>
31-
hooks:
32-
- id: check-copyright
33-
types: [text]
34-
files: (^LICENSE|^README(|-dev).rst|\.py|\.pyi)$
35-
exclude: (^\.|^docs/)
36-
- id: prepare-commit-msg
37-
- id: check-commit-msg
28+
repos:
29+
- repo: http://github.com/MiraGeoscience/pre-commit-hooks
30+
rev: <release>
31+
hooks:
32+
- id: check-copyright
33+
types: [text]
34+
files: (^LICENSE|^README(|-dev).rst|\.py|\.pyi)$
35+
exclude: (^\.|^docs/)
36+
- id: prepare-commit-msg
37+
- id: check-commit-msg
3838

3939
License
4040
^^^^^^^

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version = "1.0.0"
55

66
license = "MIT"
77
description = ""
8-
repository = "https://github.com/MiraGeoscience/mirageoscience.pre-commit-hooks"
8+
repository = "https://github.com/MiraGeoscience/pre-commit-hooks"
99
authors = ["Mira Geoscience <support@mirageoscience.com>"]
1010
readme = "README.rst"
1111

0 commit comments

Comments
 (0)