-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
34 lines (34 loc) · 994 Bytes
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
repos:
- repo: https://github.com/python/black
rev: 20.8b1
hooks:
- id: black
types: [python]
args: [--config=.pyproject.toml]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
types: [python]
args: [--append-config=.flake8]
- repo: https://github.com/PyCQA/isort
rev: 5.6.4
hooks:
- id: isort
types: [python]
args: [--settings-file=.isort.cfg]
- repo: https://github.com/softwaremill/scala-pre-commit-hooks
rev: v0.3.0
hooks:
# - id: sbt-unused-imports
# name: sbt-unused-imports
# types: [scala]
# args: [--scope=test:compile]
- id: sbt-scalafmt
name: sbt-scalafmt
types: [scala]
args: [--config=.scalafmt.conf]
- id: sbt-wartremover
name: sbt-wartremover
types: [scala]
args: [--warts=Warts.unsafe, --scope=test:compile]