forked from graphframes/graphframes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (30 loc) · 834 Bytes
/
.pre-commit-config.yaml
File metadata and controls
35 lines (30 loc) · 834 Bytes
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: local
hooks:
- id: black
name: black
entry: bash -c 'cd python && poetry run black graphframes/' --
language: system
types: [python]
- id: flake8
name: flake8
entry: bash -c 'cd python && poetry run flake8 graphframes/' --
language: system
types: [python]
- id: isort
name: isort
entry: bash -c 'cd python && poetry run isort graphframes/' --
language: system
types: [python]
- id: scalafmt
name: scalafmt
entry: build/sbt scalafmtAll
language: system
types: [scala]
pass_filenames: false
- id: scalafix
name: scalafix
entry: build/sbt scalafixAll
language: system
types: [scala]
pass_filenames: false