Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Update Ruff badge and links.

Anders Kaseorgf8aac58a6aa9
diff --git a/README.md b/README.md
index 361666f443c..001499d23d2 100644
--- a/README.md
+++ b/README.md
@@ -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)
[![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]
-[![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: 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)
diff --git a/docs/contributing/code-style.md b/docs/contributing/code-style.md
index af0a3cd939f..6177ba98a78 100644
--- a/docs/contributing/code-style.md
+++ b/docs/contributing/code-style.md
@@ -61,7 +61,7 @@ lint checks in parallel, including:
- JavaScript ([ESLint](https://eslint.org/),
[Prettier](https://prettier.io/))
- 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),
[isort](https://pycqa.github.io/isort/))
- templates
diff --git a/docs/testing/linters.md b/docs/testing/linters.md
index fc6c3920405..737d2619f47 100644
--- a/docs/testing/linters.md
+++ b/docs/testing/linters.md
@@ -30,7 +30,7 @@ below will direct you to the official documentation for these projects.
- [Prettier](https://prettier.io/)
- [Puppet](https://puppet.com/) (puppet provides its own mechanism for
validating manifests)
-- [ruff](https://github.com/charliermarsh/ruff)
+- [ruff](https://github.com/astral-sh/ruff)
- [stylelint](https://github.com/stylelint/stylelint)
Zulip also uses some home-grown code to perform tasks like validating
diff --git a/pyproject.toml b/pyproject.toml
index 2f1adfeee2d..9b0c549b69e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -99,7 +99,7 @@ init_typed = true
warn_required_dynamic_aliases = true
[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 = [
"ANN", # annotations
"B", # bugbear