Skip to content

Commit 1353202

Browse files
authored
add badges to README and CONTRIBUTING (#40)
1 parent 34dee16 commit 1353202

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Contributing to observability-libs
22

3+
![GitHub License](https://img.shields.io/github/license/canonical/observability-libs)
4+
![GitHub Commit Activity](https://img.shields.io/github/commit-activity/y/canonical/observability-libs)
5+
![GitHub Lines of Code](https://img.shields.io/tokei/lines/github/canonical/observability-libs)
6+
![GitHub Issues](https://img.shields.io/github/issues/canonical/observability-libs)
7+
![GitHub PRs](https://img.shields.io/github/issues-pr/canonical/observability-libs)
8+
![GitHub Contributors](https://img.shields.io/github/contributors/canonical/observability-libs)
9+
![GitHub Watchers](https://img.shields.io/github/watchers/canonical/observability-libs?style=social)
10+
311
## Bugs and pull requests
412

513
- Generally, before developing enhancements to this charm, you should consider explaining your use

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Observability Libs
22

3+
[![Release Libraries](https://github.com/canonical/observability-libs/actions/workflows/release-libs.yaml/badge.svg)](https://github.com/canonical/observability-libs/actions/workflows/release-libs.yaml)
4+
[![Discourse Status](https://img.shields.io/discourse/status?server=https%3A%2F%2Fdiscourse.charmhub.io&style=flat&label=CharmHub%20Discourse)](https://discourse.charmhub.io)
5+
36
## Description
47

58
Observability Libs is a placeholder charm that is used to provide a home for [charm libraries] that

tox.ini

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,7 @@ deps =
7272
commands =
7373
charm: mypy {[vars]src_path} {posargs}
7474
lib: mypy --python-version 3.8 {[vars]lib_path}/v0 {posargs}
75-
lib: /usr/bin/env sh -c 'for m in $(git diff main --name-only {[vars]lib_path}); do \
76-
lib: if ! git diff $m | grep -q "+LIBPATCH\|+LIBAPI"; then \
77-
lib: echo "You forgot to bump the version on $m!"; exit 1; \
78-
lib: fi; done'
75+
lib: /usr/bin/env sh -c 'for m in $(git diff main --name-only {[vars]lib_path}); do if ! git diff main $m | grep -q "+LIBPATCH\|+LIBAPI"; then echo "You forgot to bump the version on $m!"; exit 1; fi; done'
7976
unit: mypy {[vars]tst_path}/unit {posargs}
8077
integration: mypy {[vars]tst_path}/integration {posargs}
8178
allowlist_externals = /usr/bin/env

0 commit comments

Comments
 (0)