Skip to content

Commit d477125

Browse files
authored
Merge pull request #147 from ppfeufer/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 335620d + c06721d commit d477125

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
lines changed

.pre-commit-config.yaml

+11-11
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Set the default language versions for the hooks
77
default_language_version:
88
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
1010

1111
# https://pre-commit.ci/
1212
ci:
@@ -127,19 +127,19 @@ repos:
127127
description: Ensure that files end with a newline.
128128

129129
- repo: https://github.com/eslint/eslint
130-
rev: 66b0d0d0841c83f8c7b600246e94a7a76ed77ca6 # frozen: v9.19.0
130+
rev: 3e8a9a55e101c07933d045677682783f6583a0ee # frozen: v9.21.0
131131
hooks:
132132
- id: eslint
133133
name: ESLint
134134
description: Check for problems in JavaScript files.
135135
language: node
136136
# additional_dependencies:
137137
# # 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
140140

141141
- repo: https://github.com/thibaudcolas/pre-commit-stylelint
142-
rev: adbd5eb765476b51bf2d2621a7492053153a4d06 # frozen: v16.14.1
142+
rev: 1a160bc61f659e8f9071d6ae8b5f5fce98ce7898 # frozen: v16.15.0
143143
hooks:
144144
- id: stylelint
145145
name: Stylelint
@@ -149,7 +149,7 @@ repos:
149149
- --formatter=compact
150150
additional_dependencies:
151151
# 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
153153
- [email protected] # https://github.com/stylelint/stylelint-config-standard/releases/latest
154154

155155
- repo: https://github.com/pre-commit/pygrep-hooks
@@ -187,7 +187,7 @@ repos:
187187
description: Check for compliance with the definitions in the EditorConfig file.
188188

189189
- repo: https://github.com/adamchainz/django-upgrade
190-
rev: 04b0de71b1b4acc1803e74ab24e722bcbd5ab989 # frozen: 1.22.2
190+
rev: 43c3c16dc6ee2c9dcedcca6930974b47f415c8b2 # frozen: 1.23.1
191191
hooks:
192192
- id: django-upgrade
193193
name: Django upgrade
@@ -205,7 +205,7 @@ repos:
205205
- --py310-plus # Minimum required Python version for AA. Update as needed.
206206

207207
- repo: https://github.com/pycqa/flake8
208-
rev: e43806be3607110919eff72939fda031776e885a # frozen: 7.1.1
208+
rev: bddd87797f8dfc07d2a10c894776018d9bec590b # frozen: 7.1.2
209209
hooks:
210210
- id: flake8
211211
name: Flake8
@@ -219,7 +219,7 @@ repos:
219219
description: Check for extraneous `# noqa` comments.
220220

221221
- repo: https://github.com/PyCQA/isort
222-
rev: 0a0b7a830386ba6a31c2ec8316849ae4d1b8240d # frozen: 6.0.0
222+
rev: c8ab4a5b21bac924d106e3103dd7c979fdd0f9bc # frozen: 6.0.1
223223
hooks:
224224
- id: isort
225225
name: Isort
@@ -272,7 +272,7 @@ repos:
272272
description: Format the tox.ini file.
273273

274274
- repo: https://github.com/tox-dev/pyproject-fmt
275-
rev: 6b2f3b33754de7a442043dc312fc5a0e473086d2 # frozen: v2.5.0
275+
rev: 57b6ff7bf72affdd12c7f3fd6de761ba18a33b3a # frozen: v2.5.1
276276
hooks:
277277
- id: pyproject-fmt
278278
name: pyproject.toml formatter
@@ -299,7 +299,7 @@ repos:
299299
- --py-version=3.10 # Minimum required Python version for AA. Update as needed.
300300

301301
- repo: https://github.com/python-jsonschema/check-jsonschema
302-
rev: a20fe80ebdd4aec6791598c9ff559985580f91ea # frozen: 0.31.1
302+
rev: 828a213a1dd17aa9862aab706e3162c13281ff93 # frozen: 0.31.2
303303
hooks:
304304
- id: check-github-actions
305305
name: Check GitHub Actions

aa_intel_tool/templatetags/aa_intel_tool.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ def aa_intel_tool_static(
8080
f'<script{js_type} src="{versioned_url}"{sri_string}></script>'
8181
)
8282

83-
return None
83+
return None # pragma: no cover

testauth/settings/base.py

+7
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,12 @@
119119

120120
# Django's language codes are different from some of the libraries we use,
121121
# 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/`.
122124
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
123128
"DataTables": {
124129
"cs-cz": "cs",
125130
"de": "de-DE",
@@ -134,6 +139,8 @@
134139
"uk": "uk",
135140
"zh-hans": "zh-HANT",
136141
},
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
137144
"MomentJS": {
138145
"cs-cz": "cs",
139146
"de": "de",

testauth/settings/local.py

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
ESI_SSO_CLIENT_ID = "dummy"
9090
ESI_SSO_CLIENT_SECRET = "dummy"
9191
ESI_SSO_CALLBACK_URL = "http://localhost:8000"
92+
ESI_USER_CONTACT_EMAIL = "[email protected]"
9293

9394

9495
# ------------------------------------------------------------------------------------ #

0 commit comments

Comments
 (0)