diff --git a/README.md b/README.md index dee624fc..1a191a3a 100644 --- a/README.md +++ b/README.md @@ -62,12 +62,12 @@ If you use pyrolite extensively for your research, citation of the software woul ## Development & Build Status -[![Formatted with Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black) +[![Formatted with 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) [![Code Quality](https://api.codacy.com/project/badge/Grade/fd9912a3faae43bf84a47e3da685d84c)](https://app.codacy.com/gh/morganjwilliams/pyrolite/dashboard?utm_source=github.com&utm_medium=referral&utm_content=morganjwilliams/pyrolite&utm_campaign=Badge_Grade) | **main** | **develop** | |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| [![Unit Tests on main](https://github.com/morganjwilliams/pyrolite/workflows/Unittest/badge.svg?branch=main)](https://github.com/morganjwilliams/pyrolite/actions?query=workflow:Unittest+branch:main) | [![Unit Tests on Develop](https://github.com/morganjwilliams/pyrolite/workflows/Unittest/badge.svg?branch=develop)](https://github.com/morganjwilliams/pyrolite/actions?query=workflow:Unittest+branch:develop) | +| [![Unit Tests on main](https://github.com/morganjwilliams/pyrolite/actions/workflows/unittest.yml/badge.svg?branch=main)](https://github.com/morganjwilliams/pyrolite/actions?query=workflow:Unittest+branch:main) | [![Unit Tests on Develop](https://github.com/morganjwilliams/pyrolite/actions/workflows/unittest.yml/badge.svg?branch=develop)](https://github.com/morganjwilliams/pyrolite/actions?query=workflow:Unittest+branch:develop) | | [![Coverage Status](https://coveralls.io/repos/github/morganjwilliams/pyrolite/badge.svg?branch=main)](https://coveralls.io/github/morganjwilliams/pyrolite?branch=main) | [![Coverage Status](https://coveralls.io/repos/github/morganjwilliams/pyrolite/badge.svg?branch=develop)](https://coveralls.io/github/morganjwilliams/pyrolite?branch=develop) | **Maintainer**: Morgan Williams (morgan.williams _at_ csiro.au) diff --git a/environment.yml b/environment.yml index 7f98c8db..ec00f679 100644 --- a/environment.yml +++ b/environment.yml @@ -32,7 +32,7 @@ dependencies: # - jupyterlite-sphinx # - jupyterlite-pyodide-kernel - pip - - black + - ruff - isort - pytest - pytest-runner diff --git a/pyproject.toml b/pyproject.toml index 93acc6bf..ed6c98d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,7 @@ excel = ["xlrd", "openpyxl"] dev = [ "pytest", "versioneer", - "black", + "ruff", "isort", "twine", "pyrolite[test,docs,skl]",