Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Code Coverage Badge to read me; Update pre-commit hooks #215

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: 'v0.0.263'
rev: 'v0.1.0'
hooks:
- id: ruff
args: ['--fix', '--config', 'pyproject.toml'] # we want this to refer to `bdai/pyproject.toml`
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.10.0
hooks:
- id: black
language_version: python3.10
args: ['--config', 'pyproject.toml'] # we want this to refer to `bdai/pyproject.toml`
verbose: true
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-yaml
- id: check-added-large-files
- id: check-toml
- id: end-of-file-fixer
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.2.0
rev: v1.6.1
hooks:
- id: mypy
pass_filenames: false
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@
<h1 align="center">Spot ROS2 Driver</h1>
<p align="center">
<a href="https://github.com/MASKOR/spot_ros2/blob/main/LICENSE">
<img src="https://img.shields.io/badge/License-MIT-yellow.svg" />
<img src="https://img.shields.io/badge/License-MIT-yellow.svg" />
</a>
<a href="https://coveralls.io/github/bdaiinstitute/spot_ros2?branch=main">
<img src="https://coveralls.io/repos/github/bdaiinstitute/spot_ros2/badge.svg?branch=main" />
</a>
<a href="https://www.python.org/">
<img src="https://img.shields.io/badge/built%20with-Python3-red.svg" />
<img src="https://img.shields.io/badge/built%20with-Python3-red.svg" />
</a>
<a href="https://github.com/bdaiinstitute/spot_ros2/actions">
<img src="https://github.com/bdaiinstitute/spot_ros2/actions/workflows/test.yml/badge.svg">
<img src="https://github.com/bdaiinstitute/spot_ros2/actions/workflows/test.yml/badge.svg">
</a>
<a href="https://bdaiinstitute.github.io/spot_ros2">
<img src="https://img.shields.io/badge/docs-Python3-blue">
<img src="https://img.shields.io/badge/docs-Python3-blue">
</a>
</p>
</p>
Expand Down