File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,20 +31,20 @@ repos:
31
31
name : Hadolint (Dockerfile checker)
32
32
# Actual Python Linters
33
33
- repo : https://github.com/astral-sh/ruff-pre-commit
34
- rev : v0.7.0
34
+ rev : v0.11.9
35
35
hooks :
36
36
- id : ruff-format
37
37
- id : ruff
38
38
args : ["--fix"]
39
39
- repo : https://github.com/pre-commit/mirrors-mypy
40
- rev : v1.12.1
40
+ rev : v1.15.0
41
41
hooks :
42
42
- id : mypy
43
43
name : Mypy (Python type-checker)
44
44
exclude : ' docs/source/.*\.py'
45
45
# Uncomment below if mypy requires extra type stub packages
46
46
# additional_dependencies: [types-PyYAML==6.0.12.2]
47
47
- repo : https://github.com/igorshubovych/markdownlint-cli
48
- rev : v0.42 .0
48
+ rev : v0.44 .0
49
49
hooks :
50
50
- id : markdownlint-fix
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ addopts = """-vv \
55
55
--cov-report=html:test_results/coverage.html \
56
56
--cov-report=term \
57
57
--junit-xml=test_results/results.xml"""
58
+ xfail_strict = true
58
59
59
60
[tool .coverage .run ]
60
61
omit = [
Original file line number Diff line number Diff line change 3
3
import typing
4
4
5
5
import discord
6
- from discord .commands import option
7
6
from discord .ext import commands
8
7
from pydantic import TypeAdapter , ValidationError
9
8
@@ -121,7 +120,7 @@ async def zeus_upload(
121
120
await ctx .respond (f"Mission uploaded successfully under { path = } " )
122
121
123
122
@commands .slash_command (name = "zeus-set-mission" )
124
- @option (
123
+ @discord . option (
125
124
"filename" ,
126
125
description = "Mission filename" ,
127
126
autocomplete = _autocomplete_missions ,
You can’t perform that action at this time.
0 commit comments