forked from kkirchheim/pytorch-ood
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
72 lines (65 loc) · 1.64 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
72
[metadata]
name = pytorch-ood
project_name = pytorch-ood
author = Konstantin Kirchheim
contact = [email protected]
keywords = OOD, PyTorch, Out-of-Distribution Detection
version = attr: pytorch_ood.__version__
url = https://gitlab.com/kkirchheim/pytorch-ood
project_urls =
Bug Tracker = https://gitlab.com/kkirchheim/pytorch-ood/-/issues
repository = https://gitlab.com/kkirchheim/pytorch-ood
description = A Library for Out-of-Distribution Detection with PyTorch
long_description = file: README.rst
license = Apache 2.0
license_file = LICENSE
description_file = README.md
classifiers =
Programming Language :: Python :: 3
Operating System :: OS Independent
[options]
# packages = pytorch_ood
packages=find:
package_dir =
=src
python_requires = >=3.8
install_requires =
torch>=1.7.0
torchvision>=0.12.0
torchmetrics==0.10.2
scipy>=1.7.0
[options.packages.find]
where = src
[isort]
line_length = 99
profile = black
filter_files = True
[flake8]
max_line_length = 99
show_source = True
format = pylint
ignore =
F401 # Module imported but unused
W504 # Line break occurred after a binary operator
F841 # Local variable name is assigned to but never used
F403 # from module import *
E501 # Line too long
E203 # Whitespace before : -> collides with black
W503 # Like break before binary operator -> collied with black line wrapping
exclude =
.git
__pycache__
venv
docs
[tool:pytest]
python_files = tests/*
log_cli = True
markers =
slow
addopts =
--durations=0
--strict-markers
--doctest-modules
filterwarnings =
ignore::DeprecationWarning
ignore::UserWarning