diff --git a/README.md b/README.md index 2de869d..aa8eec3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # MiPAC Discord server invite - +[![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) diff --git a/README_JP.md b/README_JP.md index b43f25a..2d5e6d6 100644 --- a/README_JP.md +++ b/README_JP.md @@ -1,7 +1,7 @@ # MiPAC Discord server invite - +[![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) diff --git a/pyproject.toml b/pyproject.toml index cde840d..0561d41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,5 +19,8 @@ build-backend = "setuptools.build_meta" [tool.ruff] line-length = 99 +[tool.ruff.format] +exclude = ["mipac/_version.py"] + [tool.ruff.per-file-ignores] "__init__.py" = ["E402", "F403"] diff --git a/setup.py b/setup.py index 2ecb2ba..cd3b597 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ with open('requirements.txt', 'r') as f: requirements = f.read().splitlines() extras_require = { - 'dev': ['black', 'isort', 'mypy', 'flake8', 'pre-commit', 'ruff'], + 'dev': ['isort', 'mypy', 'flake8', 'pre-commit', 'ruff'], 'ci': ['flake8', 'mypy', 'ruff'], 'speed': ['orjson'], 'doc': ['sphinx', 'furo', 'sphinxcontrib_trio', 'sphinx-intl', 'numpydoc'],