docs: Update Ruff badge and links.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-10-26 15:19:05 -07:00 committed by Anders Kaseorg
parent e442a9d11e
commit f8aac58a6a
4 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ Come find us on the [development community chat](https://zulip.com/development-c
[![GitHub Actions build status](https://github.com/zulip/zulip/actions/workflows/zulip-ci.yml/badge.svg)](https://github.com/zulip/zulip/actions/workflows/zulip-ci.yml?query=branch%3Amain) [![GitHub Actions build status](https://github.com/zulip/zulip/actions/workflows/zulip-ci.yml/badge.svg)](https://github.com/zulip/zulip/actions/workflows/zulip-ci.yml?query=branch%3Amain)
[![coverage status](https://img.shields.io/codecov/c/github/zulip/zulip/main.svg)](https://codecov.io/gh/zulip/zulip) [![coverage status](https://img.shields.io/codecov/c/github/zulip/zulip/main.svg)](https://codecov.io/gh/zulip/zulip)
[![Mypy coverage](https://img.shields.io/badge/mypy-100%25-green.svg)][mypy-coverage] [![Mypy coverage](https://img.shields.io/badge/mypy-100%25-green.svg)][mypy-coverage]
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff) [![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 style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![GitHub release](https://img.shields.io/github/release/zulip/zulip.svg)](https://github.com/zulip/zulip/releases/latest) [![GitHub release](https://img.shields.io/github/release/zulip/zulip.svg)](https://github.com/zulip/zulip/releases/latest)

View File

@ -61,7 +61,7 @@ lint checks in parallel, including:
- JavaScript ([ESLint](https://eslint.org/), - JavaScript ([ESLint](https://eslint.org/),
[Prettier](https://prettier.io/)) [Prettier](https://prettier.io/))
- Python ([mypy](http://mypy-lang.org/), - Python ([mypy](http://mypy-lang.org/),
[ruff](https://github.com/charliermarsh/ruff), [ruff](https://github.com/astral-sh/ruff),
[Black](https://github.com/psf/black), [Black](https://github.com/psf/black),
[isort](https://pycqa.github.io/isort/)) [isort](https://pycqa.github.io/isort/))
- templates - templates

View File

@ -30,7 +30,7 @@ below will direct you to the official documentation for these projects.
- [Prettier](https://prettier.io/) - [Prettier](https://prettier.io/)
- [Puppet](https://puppet.com/) (puppet provides its own mechanism for - [Puppet](https://puppet.com/) (puppet provides its own mechanism for
validating manifests) validating manifests)
- [ruff](https://github.com/charliermarsh/ruff) - [ruff](https://github.com/astral-sh/ruff)
- [stylelint](https://github.com/stylelint/stylelint) - [stylelint](https://github.com/stylelint/stylelint)
Zulip also uses some home-grown code to perform tasks like validating Zulip also uses some home-grown code to perform tasks like validating

View File

@ -99,7 +99,7 @@ init_typed = true
warn_required_dynamic_aliases = true warn_required_dynamic_aliases = true
[tool.ruff] [tool.ruff]
# See https://github.com/charliermarsh/ruff#rules for error code definitions. # See https://github.com/astral-sh/ruff#rules for error code definitions.
select = [ select = [
"ANN", # annotations "ANN", # annotations
"B", # bugbear "B", # bugbear