-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
42 lines (34 loc) · 756 Bytes
/
setup.cfg
File metadata and controls
42 lines (34 loc) · 756 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
35
36
37
38
39
40
41
42
[flake8]
# Use black line length:
max-line-length = 88
extend-ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
[mypy]
warn_return_any = True
warn_unused_configs = True
namespace_packages = True
ignore_missing_imports = True
[mypy-deel.datasets.*]
ignore_missing_imports = True
[mypy-PIL]
ignore_missing_imports = True
[mypy-tdqm]
ignore_missing_imports = True
[mypy-mnist]
ignore_missing_imports = True
[mypy-scipy]
ignore_missing_imports = True
[tox:tox]
envlist = py310-lint
[testenv:py310-lint]
deps =
black
flake8
flake8-black
mypy
git+https://github.com/numpy/numpy-stubs.git
commands =
black --check --diff setup.py deel tests
flake8 deel tests
mypy --namespace-packages deel tests