Skip to content

Commit

Permalink
Badges
Browse files Browse the repository at this point in the history
  • Loading branch information
mjvogelsong committed Mar 9, 2024
1 parent d9e61d7 commit f79483b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

# When a release is created on github (using the vX.Y.Z tag formatting), publish the package to PyPI.
publish:
# if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-22.04
needs:
- lint
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ test: install ## Run the unit tests
build: ## Build the package (e.g., for publishing to PyPI)
poetry build

clean: ## Clean up build artifacts
rm -rf dist

# Adjust which paths we lint
LINT_PATHS="."

Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# python-template
# mjv-template

[![cicd](https://github.com/mjvogelsong/python-template/actions/workflows/cicd.yaml/badge.svg)](./.github/workflows/cicd.yaml)
[![pypi](https://img.shields.io/pypi/v/mjv-template.svg)](https://pypi.org/project/mjv-template/)
[![python](https://img.shields.io/pypi/pyversions/mjv-template.svg)](https://pypi.org/project/mjv-template/)
[![license](https://img.shields.io/pypi/l/mjv-template.svg)](https://pypi.org/project/mjv-template/)

[![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
[![pydantic](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/main/docs/badge/v2.json)](https://pydantic.dev)

A template for python projects.

0 comments on commit f79483b

Please sign in to comment.