-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.cfg
159 lines (141 loc) · 3.39 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
##########################
# Setup.py Configuration #
##########################
[metadata]
name = torch_ppr
version = 0.0.9-dev
description = (Personalized) Page-Rank computation using PyTorch
long_description = file: README.md
long_description_content_type = text/markdown
# URLs associated with the project
url = https://github.com/mberr/torch-ppr
download_url = https://github.com/mberr/torch-ppr/releases
project_urls =
Bug Tracker = https://github.com/mberr/torch-ppr/issues
Source Code = https://github.com/mberr/torch-ppr
# Author information
author = Max Berrendorf
author_email = [email protected]
maintainer = Max Berrendorf
maintainer_email = [email protected]
# License Information
license = MIT
license_file = LICENSE
# Search tags
classifiers =
Development Status :: 1 - Planning
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Framework :: Pytest
Framework :: tox
Framework :: Sphinx
Programming Language :: Python
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3 :: Only
# TODO add your topics from the Trove controlled vocabulary (see https://pypi.org/classifiers)
keywords =
snekpack
cookiecutter
# TODO add your own free-text keywords
[options]
install_requires =
# Missing itertools from the standard library you didn't know you needed
more_itertools
# Use progress bars excessively
tqdm
torch>=1.11
# for automatic batch size selection
torch_max_mem
# Random options
zip_safe = false
include_package_data = True
python_requires = >=3.8
# Where is my code
packages = find:
package_dir =
= src
[options.packages.find]
where = src
[options.extras_require]
tests =
pytest
coverage
docs =
sphinx
sphinx-rtd-theme
sphinx-autodoc-typehints
sphinx_automodapi
# To include LaTeX comments easily in your docs.
# If you uncomment this, don't forget to do the same in docs/conf.py
# texext
######################
# Doc8 Configuration #
# (doc8.ini) #
######################
[doc8]
max-line-length = 120
##########################
# Coverage Configuration #
# (.coveragerc) #
##########################
[coverage:run]
branch = True
source = torch_ppr
omit =
tests/*
docs/*
[coverage:paths]
source =
src/torch_ppr
.tox/*/lib/python*/site-packages/torch_ppr
[coverage:report]
show_missing = True
exclude_lines =
pragma: no cover
raise NotImplementedError
if __name__ == __main__:
if TYPE_CHECKING:
def __str__
def __repr__
##########################
# Darglint Configuration #
##########################
[darglint]
docstring_style = sphinx
strictness = short
#########################
# Flake8 Configuration #
# (.flake8) #
#########################
[flake8]
ignore =
# Line break before binary operator (flake8 is wrong)
W503
# whitespace before ':'
#E203
exclude =
.tox,
.git,
__pycache__,
docs/source/conf.py,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs,
data
max-line-length = 120
max-complexity = 20
import-order-style = pycharm
application-import-names =
torch_ppr
tests
per-file-ignores =
# assertions with pytest
tests/*:S101