-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.cfg
71 lines (65 loc) · 1.81 KB
/
setup.cfg
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[metadata]
name = cockpit-for-pytorch
url = https://github.com/f-dangel/cockpit
description = A Practical Debugging Tool for Training Deep Neural Networks.
long_description = file: README.md, CHANGELOG.md, LICENSE.txt
long-description-content-type = text/markdown
author = Frank Schneider and Felix Dangel
author-email = [email protected]
license = MIT
keywords = deep-learning, machine-learning, debugging
platforms = any
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
[options]
# Define which packages are required to run
install_requires =
json-tricks
matplotlib>=3.4.0
numpy
pandas
scipy
seaborn
torch
backpack-for-pytorch>=1.3.0
zip_safe = False
packages = find:
python_requires = >=3.7
setup_requires =
setuptools_scm
[options.packages.find]
exclude = test*
[flake8]
# Configure flake8 linting, minor differences to pytorch.
select = B,C,E,F,P,W,B9
max-line-length = 80
max-complexity = 10
ignore =
# replaced by B950 (max-line-length + 10%)
E501, # max-line-length
# ignored because pytorch uses dict
C408, # use {} instead of dict()
# Not Black-compatible
E203, # whitespace before :
E231, # missing whitespace after ','
W291, # trailing whitespace
W503, # line break before binary operator
W504, # line break after binary operator
exclude = docs,docs_src,build,.git,src,tex
[pydocstyle]
convention = google
# exclude directories, see
# https://github.com/PyCQA/pydocstyle/issues/363#issuecomment-625563088
match_dir = ^(?!(docs|docs_src|build|.git|src|exp)).*
match = .*\.py
[isort]
profile=black
[darglint]
docstring_style = google
# short, long, full
strictness = short