Skip to content

Commit f34af49

Browse files
authored
Merge pull request #156 from pulp/dependabot/pip/mypy-1.15.0
[PIP] Bump mypy from 1.14.1 to 1.15.0
2 parents 8cb6071 + 9078441 commit f34af49

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

lint_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ black==25.1.0
33
flake8==7.1.2
44
flake8-pyproject==1.2.3
55
isort==6.0.0
6-
mypy==1.14.1
6+
mypy==1.15.0
77
shellcheck-py==0.10.0.1
88

99
# Type annotation stubs

pulpcore/cli/deb/content.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ def content() -> None:
313313
def upload(
314314
pulp_ctx: PulpCLIContext,
315315
entity_ctx: PulpEntityContext,
316+
/,
316317
file: IO[bytes],
317318
chunk_size: int,
318319
**kwargs: Any,

pulpcore/cli/deb/distribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
)
4545
@pass_pulp_context
4646
@click.pass_context
47-
def distribution(ctx: click.Context, pulp_ctx: PulpCLIContext, distribution_type: str) -> None:
47+
def distribution(ctx: click.Context, pulp_ctx: PulpCLIContext, /, distribution_type: str) -> None:
4848
if distribution_type == "apt":
4949
ctx.obj = PulpAptDistributionContext(pulp_ctx)
5050
else:

pulpcore/cli/deb/publication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
)
4141
@pass_pulp_context
4242
@click.pass_context
43-
def publication(ctx: click.Context, pulp_ctx: PulpCLIContext, publication_type: str) -> None:
43+
def publication(ctx: click.Context, pulp_ctx: PulpCLIContext, /, publication_type: str) -> None:
4444
if publication_type == "apt":
4545
ctx.obj = PulpAptPublicationContext(pulp_ctx)
4646
elif publication_type == "verbatim":

pulpcore/cli/deb/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
)
3333
@pass_pulp_context
3434
@click.pass_context
35-
def remote(ctx: click.Context, pulp_ctx: PulpCLIContext, remote_type: str) -> None:
35+
def remote(ctx: click.Context, pulp_ctx: PulpCLIContext, /, remote_type: str) -> None:
3636
if remote_type == "apt":
3737
ctx.obj = PulpAptRemoteContext(pulp_ctx)
3838
else:

pulpcore/cli/deb/repository.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def _content_callback(ctx: click.Context, param: click.Parameter, value: Any) ->
107107
)
108108
@pass_pulp_context
109109
@click.pass_context
110-
def repository(ctx: click.Context, pulp_ctx: PulpCLIContext, repo_type: str) -> None:
110+
def repository(ctx: click.Context, pulp_ctx: PulpCLIContext, /, repo_type: str) -> None:
111111
if repo_type == "apt":
112112
ctx.obj = PulpAptRepositoryContext(pulp_ctx)
113113
else:
@@ -171,6 +171,7 @@ def repository(ctx: click.Context, pulp_ctx: PulpCLIContext, repo_type: str) ->
171171
@pass_repository_context
172172
def sync(
173173
repository_ctx: PulpRepositoryContext,
174+
/,
174175
remote: EntityFieldDefinition,
175176
mirror: Optional[bool],
176177
optimize: Optional[bool],

0 commit comments

Comments
 (0)