Skip to content

Commit a269ca4

Browse files
authored
Add support for League Of Legends (#57)
1 parent b5379e3 commit a269ca4

34 files changed

+895
-480
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ backup/
2828
.coverage
2929

3030
dataset-values.json
31+
**/league-images/

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,23 @@ repos:
1212
language: system
1313
entry: ./etc/scripts/check_commit_msg.sh
1414
stages: [commit-msg]
15+
16+
- id: no-carriage-returns
17+
require_serial: true
18+
name: No Carriage Returns
19+
description: Check that there are no \r characters in .py files
20+
entry: ./etc/scripts/check_no_carriage_returns.sh
21+
language: system
22+
stages: [commit-msg]
23+
1524
- repo: https://github.com/pre-commit/mirrors-mypy
1625
rev: v0.991
1726
hooks:
1827
- id: mypy
1928
exclude: ^(legacy-backend|tests)/.*$
2029
files: ^crispy-api/api/.*\.py$
2130
stages: [commit]
31+
additional_dependencies: ["types-requests"]
2232
- repo: https://github.com/psf/black
2333
rev: 22.10.0
2434
hooks:

0 commit comments

Comments
 (0)