We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 937accc commit 42cb321Copy full SHA for 42cb321
2 files changed
scripts/fix.sh
@@ -2,5 +2,5 @@
2
# コードスタイルの自動修正を行います
3
4
cd "$( dirname "$0" )"/..
5
-uv run ruff check --fix-only api
6
-uv run black api
+uv run ruff check --fix-only api tests
+uv run black api tests
tests/test_add.py
@@ -1,11 +1,10 @@
1
import pytest
+
def add(a: int, b: int) -> int:
return a + b
7
-
8
9
@pytest.mark.parametrize(
10
"a, b, expected",
11
[
@@ -16,4 +15,4 @@ def add(a: int, b: int) -> int:
16
15
],
17
)
18
def test_normal(a, b, expected):
19
- assert add(a, b) == expected
+ assert add(a, b) == expected
0 commit comments