Skip to content
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ repos:
name: Hadolint (Dockerfile checker)
# Actual Python Linters
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.0
rev: v0.11.9
hooks:
- id: ruff-format
- id: ruff
args: ["--fix"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.12.1
rev: v1.15.0
hooks:
- id: mypy
name: Mypy (Python type-checker)
exclude: 'docs/source/.*\.py'
# Uncomment below if mypy requires extra type stub packages
# additional_dependencies: [types-PyYAML==6.0.12.2]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.42.0
rev: v0.44.0
hooks:
- id: markdownlint-fix
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ addopts = """-vv \
--cov-report=html:test_results/coverage.html \
--cov-report=term \
--junit-xml=test_results/results.xml"""
xfail_strict = true

[tool.coverage.run]
omit = [
Expand Down
3 changes: 1 addition & 2 deletions src/zeusops_bot/cogs/zeus_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import typing

import discord
from discord.commands import option
from discord.ext import commands
from pydantic import TypeAdapter, ValidationError

Expand Down Expand Up @@ -121,7 +120,7 @@ async def zeus_upload(
await ctx.respond(f"Mission uploaded successfully under {path=}")

@commands.slash_command(name="zeus-set-mission")
@option(
@discord.option(
"filename",
description="Mission filename",
autocomplete=_autocomplete_missions,
Expand Down
Loading