Explorar el Código

Bump ruff

tags/v0.4
Ben Kurtovic hace 2 meses
padre
commit
ada55eb4b1
Se han modificado 4 ficheros con 6 adiciones y 1 borrados
  1. +1
    -1
      .pre-commit-config.yaml
  2. +3
    -0
      pyproject.toml
  3. +1
    -0
      tests/conftest.py
  4. +1
    -0
      tests/test_calc.py

+ 1
- 1
.pre-commit-config.yaml Ver fichero

@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.4
rev: v0.6.2
hooks:
- id: ruff
args: [--fix]


+ 3
- 0
pyproject.toml Ver fichero

@@ -69,3 +69,6 @@ target-version = "py311"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "UP"]
ignore = ["F403"]

[tool.ruff.lint.isort]
known-first-party = ["conftest"]

+ 1
- 0
tests/conftest.py Ver fichero

@@ -42,6 +42,7 @@ from collections.abc import Iterable, Sequence
from threading import Lock

import pytest

from earwigbot.bot import Bot
from earwigbot.commands import Command
from earwigbot.config import BotConfig


+ 1
- 0
tests/test_calc.py Ver fichero

@@ -19,6 +19,7 @@
# SOFTWARE.

import pytest

from conftest import MockCommand
from earwigbot.commands.calc import Calc



Cargando…
Cancelar
Guardar