Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ruff & mypy #188

Merged
merged 1 commit into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ def rename(session: nox.Session, editable: bool) -> None:
assert "import python_multipart" not in session.run("python", "-c", "import multipart", silent=True)

assert "import python_multipart" in session.run("python", "-Wdefault", "-c", "import multipart", silent=True)
assert "import python_multipart" in session.run("python", "-Wdefault", "-c", "import multipart.exceptions", silent=True)
assert "import python_multipart" in session.run("python", "-Wdefault", "-c", "from multipart import exceptions", silent=True)
assert "import python_multipart" in session.run(
"python", "-Wdefault", "-c", "import multipart.exceptions", silent=True
)
assert "import python_multipart" in session.run(
"python", "-Wdefault", "-c", "from multipart import exceptions", silent=True
)
assert "import python_multipart" in session.run(
"python", "-Wdefault", "-c", "from multipart.exceptions import FormParserError", silent=True
)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dev-dependencies = [
"PyYAML==6.0.1",
"invoke==2.2.0",
"pytest-timeout==2.3.1",
"ruff==0.3.4",
"ruff==0.8.0",
"mypy",
"types-PyYAML",
"atheris==2.3.0; python_version != '3.12'",
Expand Down Expand Up @@ -122,4 +122,4 @@ exclude_lines = [
]

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