File tree 4 files changed +13
-5
lines changed
aa_intel_tool/templatetags
4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 6
6
# Set the default language versions for the hooks
7
7
default_language_version :
8
8
python : python3 # Force all Python hooks to use Python 3
9
- node : 22.12.0 # Force all Node hooks to use Node 22.12.0
9
+ node : 22.13.1 # Force all Node hooks to use Node LTS latest
10
10
11
11
# https://pre-commit.ci/
12
12
ci :
@@ -135,8 +135,8 @@ repos:
135
135
language : node
136
136
# additional_dependencies:
137
137
# # eslint itself needs to be here when using additional_dependencies.
138
- # - eslint@9.19 .0 # https://github.com/eslint/eslint/releases/latest
139
- # - globals@15.14 .0 # https://github.com/sindresorhus/globals/releases/latest
138
+ # - eslint@9.21 .0 # https://github.com/eslint/eslint/releases/latest
139
+ # - globals@16.0 .0 # https://github.com/sindresorhus/globals/releases/latest
140
140
141
141
- repo : https://github.com/thibaudcolas/pre-commit-stylelint
142
142
rev : 1a160bc61f659e8f9071d6ae8b5f5fce98ce7898 # frozen: v16.15.0
@@ -149,7 +149,7 @@ repos:
149
149
- --formatter=compact
150
150
additional_dependencies :
151
151
# stylelint itself needs to be here when using additional_dependencies.
152
- - stylelint@16.14.1 # https://github.com/stylelint/stylelint/releases/latest
152
+ - stylelint@16.15.0 # https://github.com/stylelint/stylelint/releases/latest
153
153
-
[email protected] # https://github.com/stylelint/stylelint-config-standard/releases/latest
154
154
155
155
- repo : https://github.com/pre-commit/pygrep-hooks
Original file line number Diff line number Diff line change @@ -80,4 +80,4 @@ def aa_intel_tool_static(
80
80
f'<script{ js_type } src="{ versioned_url } "{ sri_string } ></script>'
81
81
)
82
82
83
- return None
83
+ return None # pragma: no cover
Original file line number Diff line number Diff line change 119
119
120
120
# Django's language codes are different from some of the libraries we use,
121
121
# so we need to map them.
122
+ # When adding a new language, please remember to add it to the mapping
123
+ # and add the language files to their respective directories under `allianceauth/static/allianceauth/libs/`.
122
124
LANGUAGE_MAPPING = {
125
+ # See https://github.com/DataTables/Plugins/tree/master/i18n for available languages
126
+ # (We use the JSON files)
127
+ # `allianceauth/static/allianceauth/libs/DataTables/Plugins/{version}/i18n/` for the files
123
128
"DataTables" : {
124
129
"cs-cz" : "cs" ,
125
130
"de" : "de-DE" ,
134
139
"uk" : "uk" ,
135
140
"zh-hans" : "zh-HANT" ,
136
141
},
142
+ # See https://github.com/moment/moment/tree/master/locale for available languages
143
+ # `allianceauth/static/allianceauth/libs/moment.js/{version}/locale/` for the files
137
144
"MomentJS" : {
138
145
"cs-cz" : "cs" ,
139
146
"de" : "de" ,
Original file line number Diff line number Diff line change 89
89
ESI_SSO_CLIENT_ID = "dummy"
90
90
ESI_SSO_CLIENT_SECRET = "dummy"
91
91
ESI_SSO_CALLBACK_URL = "http://localhost:8000"
92
+ ESI_USER_CONTACT_EMAIL = "[email protected] "
92
93
93
94
94
95
# ------------------------------------------------------------------------------------ #
You can’t perform that action at this time.
0 commit comments