forked from openml/openml-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
42 lines (42 loc) · 1.15 KB
/
.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
35
36
37
38
39
40
41
42
repos:
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
args: [--line-length=100]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
hooks:
- id: mypy
name: mypy openml
files: openml/.*
additional_dependencies:
- types-requests
- types-python-dateutil
- id: mypy
name: mypy tests
files: tests/.*
additional_dependencies:
- types-requests
- types-python-dateutil
- id: mypy
name: mypy top-level-functions
files: openml/_api_calls.py
additional_dependencies:
- types-requests
- types-python-dateutil
args: [ --disallow-untyped-defs, --disallow-any-generics,
--disallow-any-explicit, --implicit-optional ]
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
name: flake8 openml
files: openml/.*
additional_dependencies:
- flake8-print==5.0.0
- id: flake8
name: flake8 tests
files: tests/.*
additional_dependencies:
- flake8-print==5.0.0