Skip to content

Commit a2f57c1

Browse files
committed
Add pre-commit-config yaml for enabling pre-commit checks
1 parent ee8a77d commit a2f57c1

File tree

3 files changed

+45
-1
lines changed

3 files changed

+45
-1
lines changed

.codespell_words

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Parth
2+
Reacher
3+
reacher
4+
theses

.pre-commit-config.yaml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# To use:
2+
#
3+
# pre-commit run -a
4+
#
5+
# Or:
6+
#
7+
# pre-commit install # (runs every time you commit in git)
8+
#
9+
# To update this file:
10+
#
11+
# pre-commit autoupdate
12+
#
13+
# See https://github.com/pre-commit/pre-commit
14+
15+
repos:
16+
# Standard hooks
17+
- repo: https://github.com/pre-commit/pre-commit-hooks
18+
rev: v4.5.0
19+
hooks:
20+
- id: check-added-large-files
21+
- id: check-case-conflict
22+
- id: check-json
23+
- id: check-merge-conflict
24+
- id: check-symlinks
25+
- id: check-toml
26+
- id: check-yaml
27+
- id: debug-statements
28+
- id: destroyed-symlinks
29+
- id: detect-private-key
30+
- id: end-of-file-fixer
31+
exclude: docs/_static/img/
32+
- id: mixed-line-ending
33+
- id: pretty-format-json
34+
- id: trailing-whitespace
35+
36+
- repo: https://github.com/codespell-project/codespell
37+
rev: v2.3.0
38+
hooks:
39+
- id: codespell
40+
args: ['--write-changes', '--ignore-words=.codespell_words']

docs/common/envs.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ SimpleMultiObsEnv
2121
-----------------
2222

2323
.. autoclass:: SimpleMultiObsEnv
24-
:members:
24+
:members:

0 commit comments

Comments
 (0)