File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ repos :
2+ # - repo: https://github.com/charliermarsh/ruff-pre-commit
3+ # # Ruff version.
4+ # rev: 'v0.1.0'
5+ # hooks:
6+ # - id: ruff
7+ # args: ['--fix', '--config', 'pyproject.toml']
8+
9+ - repo : https://github.com/psf/black
10+ rev : 23.10.0
11+ hooks :
12+ - id : black
13+ language_version : python3.10
14+ args : ['--config', 'pyproject.toml']
15+ verbose : true
16+
17+ # - repo: https://github.com/pre-commit/mirrors-mypy
18+ # rev: v1.6.1
19+ # hooks:
20+ # - id: mypy
Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ Install the current code base from GitHub and pip install a link to that cloned
130130git clone https://github.com/bdaiinstitute/spatialmath-python.git
131131cd spatialmath-python
132132pip install -e .
133+ # Optional: if you would like to contribute and commit code changes to the repository,
134+ # pre-commit install
133135```
134136
135137## Dependencies
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ dependencies = [
4040 " matplotlib" ,
4141 " ansitable" ,
4242 " typing_extensions" ,
43+ " pre-commit" ,
4344]
4445
4546[project .urls ]
You can’t perform that action at this time.
0 commit comments