File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : v2 .5.0
3
+ rev : v4 .5.0
4
4
hooks :
5
5
- id : check-merge-conflict
6
6
- id : check-toml
9
9
- id : trailing-whitespace
10
10
11
11
- repo : https://github.com/pre-commit/pygrep-hooks
12
- rev : v1.5.1
12
+ rev : v1.10.0
13
13
hooks :
14
14
- id : python-check-blanket-noqa
15
15
16
16
- repo : https://github.com/PyCQA/isort
17
- rev : 5.10.1
17
+ rev : 5.13.2
18
18
hooks :
19
19
- id : isort
20
20
Original file line number Diff line number Diff line change 8
8
9
9
import yaml
10
10
11
- from starbot .configuration .definition import SPECIAL_TYPES
11
+ SPECIAL_TYPES = {
12
+ "discord_role" : "int" ,
13
+ "discord_permission" : "disnake.Permissions" ,
14
+ "discord_channel" : "int" ,
15
+ "choice" : "str" ,
16
+ }
12
17
13
18
HELP_TEXT = """
14
19
This script generates the typing stub for the config module.
You can’t perform that action at this time.
0 commit comments