Skip to content

Commit 170e604

Browse files
authored
Update ruff & mypy (#188)
1 parent e53b541 commit 170e604

File tree

3 files changed

+62
-52
lines changed

3 files changed

+62
-52
lines changed

noxfile.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ def rename(session: nox.Session, editable: bool) -> None:
1414
assert "import python_multipart" not in session.run("python", "-c", "import multipart", silent=True)
1515

1616
assert "import python_multipart" in session.run("python", "-Wdefault", "-c", "import multipart", silent=True)
17-
assert "import python_multipart" in session.run("python", "-Wdefault", "-c", "import multipart.exceptions", silent=True)
18-
assert "import python_multipart" in session.run("python", "-Wdefault", "-c", "from multipart import exceptions", silent=True)
17+
assert "import python_multipart" in session.run(
18+
"python", "-Wdefault", "-c", "import multipart.exceptions", silent=True
19+
)
20+
assert "import python_multipart" in session.run(
21+
"python", "-Wdefault", "-c", "from multipart import exceptions", silent=True
22+
)
1923
assert "import python_multipart" in session.run(
2024
"python", "-Wdefault", "-c", "from multipart.exceptions import FormParserError", silent=True
2125
)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ dev-dependencies = [
4444
"PyYAML==6.0.1",
4545
"invoke==2.2.0",
4646
"pytest-timeout==2.3.1",
47-
"ruff==0.3.4",
47+
"ruff==0.8.0",
4848
"mypy",
4949
"types-PyYAML",
5050
"atheris==2.3.0; python_version != '3.12'",
@@ -122,4 +122,4 @@ exclude_lines = [
122122
]
123123

124124
[tool.check-sdist]
125-
git-only = ["docs", "fuzz", "scripts", "mkdocs.yml", "uv.lock"]
125+
git-only = ["docs", "fuzz", "scripts", "mkdocs.yml", "uv.lock", "SECURITY.md"]

0 commit comments

Comments
 (0)