This website works better with JavaScript.
Home
Help
Sign In
ben
/
earwigbot
mirror of
https://github.com/earwig/earwigbot
Watch
1
Star
1
Fork
0
Code
Releases
4
Activity
Browse Source
Bump ruff
tags/v0.4
Ben Kurtovic
2 months ago
parent
2936ffbf5f
commit
ada55eb4b1
4 changed files
with
6 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
.pre-commit-config.yaml
+3
-0
pyproject.toml
+1
-0
tests/conftest.py
+1
-0
tests/test_calc.py
+ 1
- 1
.pre-commit-config.yaml
View File
@@ -1,6 +1,6 @@
repos:
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.
5.4
rev: v0.
6.2
hooks:
hooks:
- id: ruff
- id: ruff
args: [--fix]
args: [--fix]
+ 3
- 0
pyproject.toml
View File
@@ -69,3 +69,6 @@ target-version = "py311"
[tool.ruff.lint]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "UP"]
select = ["E4", "E7", "E9", "F", "I", "UP"]
ignore = ["F403"]
ignore = ["F403"]
[tool.ruff.lint.isort]
known-first-party = ["conftest"]
+ 1
- 0
tests/conftest.py
View File
@@ -42,6 +42,7 @@ from collections.abc import Iterable, Sequence
from threading import Lock
from threading import Lock
import pytest
import pytest
from earwigbot.bot import Bot
from earwigbot.bot import Bot
from earwigbot.commands import Command
from earwigbot.commands import Command
from earwigbot.config import BotConfig
from earwigbot.config import BotConfig
+ 1
- 0
tests/test_calc.py
View File
@@ -19,6 +19,7 @@
# SOFTWARE.
# SOFTWARE.
import pytest
import pytest
from conftest import MockCommand
from conftest import MockCommand
from earwigbot.commands.calc import Calc
from earwigbot.commands.calc import Calc
Write
Preview
Loading…
Cancel
Save