forked from TylerYep/torchinfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
65 lines (58 loc) · 1.75 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
[metadata]
name = torchinfo
version = attr: torchinfo.__version__
description = Model summary in PyTorch, based off of the original torchsummary.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/tyleryep/torchinfo
author = Tyler Yep @tyleryep
author_email = [email protected]
license = MIT
license_file = LICENSE
classifiers =
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
keywords = torch pytorch torchsummary torch-summary summary keras deep-learning ml torchinfo torch-info visualize model statistics layer stats
[options]
packages = torchinfo
python_requires = >=3.7
include_package_data = True
[options.package_data]
torchinfo = py.typed
[mypy]
strict = True
implicit_reexport = True
enable_error_code = ignore-without-code
[pylint.main]
evaluation = 10.0 - ((float(5 * error + warning + refactor + convention + info) / statement) * 10)
[pylint.MESSAGES CONTROL]
extension-pkg-whitelist = torch
enable =
useless-suppression,
deprecated-pragma,
use-symbolic-message-instead,
disable =
missing-module-docstring,
missing-function-docstring,
too-many-instance-attributes,
too-many-arguments,
too-many-branches,
too-many-locals,
invalid-name,
line-too-long, # Covered by flake8
no-member,
fixme,
duplicate-code,
[isort]
profile = black
[flake8]
max-line-length = 88
extend-ignore = E203,F401